Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 81.97 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 166.4 kB / 25.61 MB, free: 8.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9015/0.9015, allocations: 177.1 MB / 206 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08681/0.08681, allocations: 19.72 MB / 282.3 MB, free: 12.36 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0.7656 kB / 359.2 MB, free: 44.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.16e-05, allocations: 4.281 kB / 359.2 MB, free: 44.09 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.02123/0.02124, allocations: 40.57 MB / 399.8 MB, free: 4.234 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007853/0.02909, allocations: 8.396 MB / 408.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.02955, allocations: 27.75 kB / 408.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006297/0.03018, allocations: 301.6 kB / 408.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.03093, allocations: 0.6555 MB / 409.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009221/0.04015, allocations: 5.282 MB / 414.4 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.04165, allocations: 1.875 MB / 416.3 MB, free: 3.645 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.04229, allocations: 0.5911 MB / 416.9 MB, free: 3.035 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.04344, allocations: 0.9391 MB / 417.8 MB, free: 2.094 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.04399, allocations: 0.6034 MB / 418.4 MB, free: 1.492 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.04407, allocations: 80 kB / 418.5 MB, free: 1.414 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006635/0.05071, allocations: 5.802 MB / 424.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.05084, allocations: 199.2 kB / 424.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.05134, allocations: 347.2 kB / 424.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005521/0.05686, allocations: 4.829 MB / 429.7 MB, free: 6.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.05686, allocations: 4 kB / 429.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.05687, allocations: 0 / 429.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.05687, allocations: 0 / 429.7 MB, free: 6.227 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002568/0.05944, allocations: 1.797 MB / 431.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.05947, allocations: 8.031 kB / 431.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.05975, allocations: 204.2 kB / 431.7 MB, free: 4.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007291/0.06048, allocations: 490.7 kB / 432.2 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.06052, allocations: 57.62 kB / 432.2 MB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.06058, allocations: 68.38 kB / 432.3 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009248/0.06151, allocations: 0.7879 MB / 433.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.06152, allocations: 0 / 433.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.06157, allocations: 32 kB / 433.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.06158, allocations: 16 kB / 433.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.06207, allocations: 336.7 kB / 433.5 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.06399, allocations: 3.089 MB / 436.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.06462, allocations: 426.3 kB / 437 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.06474, allocations: 107.2 kB / 437.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02671/0.09145, allocations: 15.33 MB / 452.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006268/0.09207, allocations: 397.2 kB / 452.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.734e-06/0.09207, allocations: 0 / 452.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001359/0.09343, allocations: 0.6296 MB / 453.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.09347, allocations: 85.05 kB / 453.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.09375, allocations: 470.4 kB / 454 MB, free: 13.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.09378, allocations: 41.7 kB / 454 MB, free: 13.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.09398, allocations: 427.2 kB / 454.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.09407, allocations: 142.8 kB / 454.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.09418, allocations: 103.8 kB / 454.7 MB, free: 12.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.09433, allocations: 0.5468 MB / 455.2 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.0945, allocations: 188.4 kB / 455.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.09468, allocations: 269.2 kB / 455.7 MB, free: 11.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.09497, allocations: 355 kB / 456 MB, free: 11.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.09497, allocations: 0 / 456 MB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005328/0.0955, allocations: 0.5924 MB / 456.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/0.09556, allocations: 122.8 kB / 456.7 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.09556, allocations: 0 / 456.7 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.09557, allocations: 4 kB / 456.7 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.09587, allocations: 115.9 kB / 456.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.09587, allocations: 7.938 kB / 456.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.09612, allocations: 75.69 kB / 456.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.09616, allocations: 24.02 kB / 456.9 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002056/0.09636, allocations: 306.6 kB / 457.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001806/0.09654, allocations: 296.6 kB / 457.5 MB, free: 9.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002557/0.0968, allocations: 387.7 kB / 457.9 MB, free: 9.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.724e-06/0.0968, allocations: 4 kB / 457.9 MB, free: 9.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004591/0.09726, allocations: 0.5855 MB / 458.5 MB, free: 8.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.0973, allocations: 122.7 kB / 458.6 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.09731, allocations: 4 kB / 458.6 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.09731, allocations: 4.312 kB / 458.6 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.09755, allocations: 119.8 kB / 458.7 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.09755, allocations: 4 kB / 458.7 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.09776, allocations: 75.72 kB / 458.8 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.09778, allocations: 23.94 kB / 458.8 MB, free: 8.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 (Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition3,$whenCondition4,Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition1,$whenCondition2,T1.fluidState.phase,T2.fluidState.phase,T3.fluidState.phase,T4.fluidState.phase,T5.fluidState.phase,T6.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.09792, allocations: 306 kB / 459.1 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.098, allocations: 79.55 kB / 459.2 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007642/0.09876, allocations: 0.9462 MB / 460.2 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.09877, allocations: 23.95 kB / 460.2 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.09878, allocations: 0 / 460.2 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.09878, allocations: 4 kB / 460.2 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.09999, allocations: 1.169 MB / 461.4 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1, allocations: 8.047 kB / 461.4 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.1002, allocations: 83.88 kB / 461.5 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1002, allocations: 4 kB / 461.5 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.1002, allocations: 8 kB / 461.5 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1002, allocations: 7.984 kB / 461.5 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1002, allocations: 0 / 461.5 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005911/0.1008, allocations: 0.7916 MB / 462.3 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.101, allocations: 135.1 kB / 462.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.101, allocations: 15.98 kB / 462.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1012, allocations: 47.95 kB / 462.5 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.1014, allocations: 87.88 kB / 462.5 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1014, allocations: 7.984 kB / 462.6 MB, free: 4.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.1015, allocations: 298.7 kB / 462.8 MB, free: 4.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1015, allocations: 0 / 462.8 MB, free: 4.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002076/0.1036, allocations: 1.154 MB / 464 MB, free: 2.953 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count) * Number of discrete states: 4 (Sine1.count,Sine2.count,Sine4.count,Sine3.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002229/0.1058, allocations: 1.119 MB / 465.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.1066, allocations: 1.109 MB / 466.2 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1066, allocations: 5 kB / 466.2 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.1068, allocations: 247.8 kB / 466.5 MB, free: 316 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.1076, allocations: 283.2 kB / 466.7 MB, free: 44 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.1096, allocations: 1.585 MB / 468.3 MB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.1097, allocations: 193.6 kB / 468.5 MB, free: 14.19 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.1101, allocations: 389.9 kB / 468.9 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.1105, allocations: 282 kB / 469.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1106, allocations: 4 kB / 469.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of Templates: time 0.1405/0.251, allocations: 46.68 MB / 0.5038 GB, free: 115.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.277924164198339]