spawn sim instances using popen3