Please try to use a fixed seed to initialize the random object. Otherwise the simulation will not be repeatable. You can't use something like "0L" here (because then all nodes would get the same dice throws which is not good). But you can use the agent ID, or the task ID or something like that.