changed shell command to use subprocess.call, to prevent reading of outputfile before senna process is finished