Simulation with multiprocess returns weird errors and hangs on slurm cluster