Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8179/0.8179, allocations: 111.6 MB / 131 MB, free: 5.086 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 175.7 MB, free: 9.461 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.409e-05, allocations: 6.25 kB / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11): time 1.712/1.712, allocations: 255.6 MB / 431.4 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.421/2.133, allocations: 181 MB / 0.598 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/2.133, allocations: 8 kB / 0.598 GB, free: 8.73 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:66:3-67:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:70:3-71:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:29:3-30:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:31:3-32:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005666/2.134, allocations: 142.4 kB / 0.5981 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0006841/2.134, allocations: 228.3 kB / 0.5983 GB, free: 8.371 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03274/2.167, allocations: 11.76 MB / 0.6098 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001302/2.169, allocations: 0.7901 MB / 0.6106 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/2.169, allocations: 260.9 kB / 0.6108 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000671/2.17, allocations: 470.8 kB / 0.6113 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/2.17, allocations: 227.3 kB / 0.6115 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/2.17, allocations: 48 kB / 0.6116 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03677/2.207, allocations: 18.83 MB / 0.6299 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003321/2.207, allocations: 235.1 kB / 0.6302 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/2.208, allocations: 235.2 kB / 0.6304 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02641/2.234, allocations: 12.78 MB / 0.6429 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/2.234, allocations: 0 / 0.6429 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.313e-06/2.234, allocations: 0 / 0.6429 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.058e-05/2.234, allocations: 3.938 kB / 0.6429 GB, free: 10.77 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.005969/2.24, allocations: 2.554 MB / 0.6454 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/2.24, allocations: 15.98 kB / 0.6454 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/2.24, allocations: 159.1 kB / 0.6455 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007434/2.241, allocations: 447.8 kB / 0.646 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/2.241, allocations: 37 kB / 0.646 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/2.241, allocations: 48 kB / 0.646 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/2.242, allocations: 0.6384 MB / 0.6467 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/2.242, allocations: 0 / 0.6467 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/2.243, allocations: 16 kB / 0.6467 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/2.243, allocations: 19.98 kB / 0.6467 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/2.244, allocations: 435.5 kB / 0.6471 GB, free: 6.27 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/2.248, allocations: 3.264 MB / 0.6503 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/2.25, allocations: 472.8 kB / 0.6508 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/2.25, allocations: 189.6 kB / 0.6509 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4763/2.726, allocations: 91.93 MB / 0.7407 GB, free: 277.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/2.726, allocations: 41.39 kB / 0.7408 GB, free: 277.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/2.726, allocations: 0.875 kB / 0.7408 GB, free: 277.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72): time 0.0024/2.729, allocations: 0.863 MB / 0.7416 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/2.729, allocations: 55.41 kB / 0.7417 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007349/2.729, allocations: 0.9224 MB / 0.7426 GB, free: 275.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/2.73, allocations: 29.7 kB / 0.7426 GB, free: 275.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/2.73, allocations: 0.5179 MB / 0.7431 GB, free: 275 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/2.73, allocations: 266.8 kB / 0.7433 GB, free: 274.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/2.73, allocations: 135.8 kB / 0.7435 GB, free: 274.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/2.73, allocations: 0.5209 MB / 0.744 GB, free: 274.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/2.731, allocations: 177.4 kB / 0.7441 GB, free: 274 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/2.731, allocations: 334.2 kB / 0.7445 GB, free: 273.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/2.732, allocations: 0.5336 MB / 0.745 GB, free: 273 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.732, allocations: 0 / 0.745 GB, free: 273 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00142/2.733, allocations: 0.7825 MB / 0.7458 GB, free: 272.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/2.733, allocations: 12.06 kB / 0.7458 GB, free: 272.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/2.733, allocations: 0 / 0.7458 GB, free: 272.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003419/2.737, allocations: 0.513 MB / 0.7463 GB, free: 271.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/2.737, allocations: 60.77 kB / 0.7463 GB, free: 271.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/2.738, allocations: 1.216 MB / 0.7475 GB, free: 270.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/2.739, allocations: 72.23 kB / 0.7476 GB, free: 270.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/2.739, allocations: 16 kB / 0.7476 GB, free: 270.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (dynamicOnePhaseFlowPipe.C2.b,dynamicOnePhaseFlowPipe.C1.a,sinkP.C.a,sourceP.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0001926/2.739, allocations: 217.9 kB / 0.7478 GB, free: 270.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/2.739, allocations: 115.2 kB / 0.7479 GB, free: 270 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/2.741, allocations: 0.8009 MB / 0.7487 GB, free: 269.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001306/2.742, allocations: 0.6469 MB / 0.7493 GB, free: 268.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/2.742, allocations: 0.9844 kB / 0.7493 GB, free: 268.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/2.742, allocations: 4 kB / 0.7493 GB, free: 268.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/2.744, allocations: 1.689 MB / 0.751 GB, free: 266.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/2.744, allocations: 0 / 0.751 GB, free: 266.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/2.745, allocations: 127.8 kB / 0.7511 GB, free: 266.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003808/2.745, allocations: 97.98 kB / 0.7512 GB, free: 266.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/2.745, allocations: 8 kB / 0.7512 GB, free: 266.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/2.747, allocations: 1.998 MB / 0.7532 GB, free: 264.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.747, allocations: 3.938 kB / 0.7532 GB, free: 264.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/2.749, allocations: 1.18 MB / 0.7543 GB, free: 263.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/2.749, allocations: 148.2 kB / 0.7545 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/2.749, allocations: 12.7 kB / 0.7545 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/2.749, allocations: 24.55 kB / 0.7545 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/2.749, allocations: 45.17 kB / 0.7545 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/2.749, allocations: 16 kB / 0.7545 GB, free: 263 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004233/2.75, allocations: 0.5307 MB / 0.7551 GB, free: 262.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/2.75, allocations: 0 / 0.7551 GB, free: 262.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003049/2.753, allocations: 1.592 MB / 0.7566 GB, free: 261.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (centrifugalPump.h,dynamicOnePhaseFlowPipe.Q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004952/2.758, allocations: 2.51 MB / 0.7591 GB, free: 258.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001523/2.759, allocations: 0.6861 MB / 0.7597 GB, free: 258.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/2.759, allocations: 0 / 0.7597 GB, free: 258.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007855/2.76, allocations: 0.4953 MB / 0.7602 GB, free: 257.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/2.761, allocations: 205.2 kB / 0.7604 GB, free: 257.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/2.763, allocations: 1.734 MB / 0.7621 GB, free: 255.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/2.763, allocations: 476 kB / 0.7626 GB, free: 255.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002205/2.764, allocations: 55.22 kB / 0.7626 GB, free: 255.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/2.764, allocations: 56.48 kB / 0.7627 GB, free: 255.2 MB / 0.6198 GB Notification: Performance of SimCode: time 6.82e-07/2.764, allocations: 0 / 0.7627 GB, free: 255.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.05614/2.82, allocations: 53.86 MB / 0.8153 GB, free: 201.6 MB / 0.6198 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump11.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.51286778296344]