public void receiveProblem() { recvProblemLock.waitForTrue(); recvProblemLock.reset(); createSimulation(); }