Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.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.5082/0.5082, allocations: 111.6 MB / 131.4 MB, free: 3.93 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.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 176.5 MB, free: 8.918 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.89e-05, allocations: 5.375 kB / 176.5 MB, free: 8.914 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.Fluid.Examples.SimpleExamples.TestSteamEngine): time 1.026/1.026, allocations: 257.6 MB / 434.1 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.366/1.392, allocations: 186.4 MB / 0.606 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/1.392, allocations: 11.88 kB / 0.606 GB, free: 8.547 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/SteamEngine.mo:33:3-34:79:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/SteamEngine.mo:35:3-36:77:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005865/1.393, allocations: 183.4 kB / 0.6062 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/1.393, allocations: 202.5 kB / 0.6063 GB, free: 8.172 MB / 0.5261 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:964:9-964:35:writable] Warning: h 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_Ps.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_Ps.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. Notification: Performance of NFTyping.typeClassSections: time 0.0298/1.423, allocations: 14.67 MB / 0.6207 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0007953/1.424, allocations: 0.5368 MB / 0.6212 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/1.424, allocations: 197.2 kB / 0.6214 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/1.424, allocations: 343.1 kB / 0.6217 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/1.424, allocations: 155.5 kB / 0.6219 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/1.424, allocations: 32 kB / 0.6219 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03203/1.456, allocations: 23.92 MB / 0.6453 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/1.457, allocations: 103.6 kB / 0.6454 GB, free: 304 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/1.457, allocations: 151.6 kB / 0.6455 GB, free: 152 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02582/1.483, allocations: 15.44 MB / 0.6606 GB, free: 0.668 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.483, allocations: 0 / 0.6606 GB, free: 0.668 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.583e-06/1.483, allocations: 0 / 0.6606 GB, free: 0.668 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.741e-06/1.483, allocations: 0 / 0.6606 GB, free: 0.668 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.004859/1.487, allocations: 2.259 MB / 0.6628 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.488, allocations: 11.98 kB / 0.6628 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.317e-05/1.488, allocations: 83.67 kB / 0.6629 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/1.488, allocations: 298.5 kB / 0.6632 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/1.488, allocations: 29 kB / 0.6632 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/1.488, allocations: 36 kB / 0.6632 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/1.488, allocations: 352.2 kB / 0.6636 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.488, allocations: 3.938 kB / 0.6636 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/1.488, allocations: 16.75 kB / 0.6636 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/1.488, allocations: 23.98 kB / 0.6636 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/1.489, allocations: 124.8 kB / 0.6637 GB, free: 13.34 MB / 0.5886 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.03174/1.52, allocations: 19.65 MB / 0.6829 GB, free: 9.621 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/1.52, allocations: 75.64 kB / 0.683 GB, free: 9.535 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/1.52, allocations: 39.67 kB / 0.683 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3017/1.822, allocations: 33.69 MB / 0.7159 GB, free: 79.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.822, allocations: 36.39 kB / 0.716 GB, free: 79.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 2.504e-06/1.822, allocations: 0 / 0.716 GB, free: 79.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.0005404/1.823, allocations: 261.5 kB / 0.7162 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/1.823, allocations: 57.94 kB / 0.7163 GB, free: 79.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/1.823, allocations: 359 kB / 0.7166 GB, free: 79.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/1.823, allocations: 25.7 kB / 0.7166 GB, free: 79.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/1.823, allocations: 288.5 kB / 0.7169 GB, free: 78.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/1.823, allocations: 119.9 kB / 0.717 GB, free: 78.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/1.823, allocations: 93.17 kB / 0.7171 GB, free: 78.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/1.823, allocations: 0.5109 MB / 0.7176 GB, free: 78.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/1.823, allocations: 38.39 kB / 0.7176 GB, free: 78.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/1.824, allocations: 196.9 kB / 0.7178 GB, free: 78.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/1.824, allocations: 261.6 kB / 0.7181 GB, free: 77.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.824, allocations: 3.375 kB / 0.7181 GB, free: 77.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003518/1.824, allocations: 296.9 kB / 0.7184 GB, free: 77.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/1.824, allocations: 7.094 kB / 0.7184 GB, free: 77.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.824, allocations: 3.375 kB / 0.7184 GB, free: 77.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/1.824, allocations: 102.9 kB / 0.7185 GB, free: 77.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/1.824, allocations: 41.73 kB / 0.7185 GB, free: 77.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003365/1.825, allocations: 0.839 MB / 0.7193 GB, free: 77.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/1.825, allocations: 36.06 kB / 0.7194 GB, free: 77.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/1.825, allocations: 18.78 kB / 0.7194 GB, free: 77.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.diff_on_2,steamEngine1.C2.diff_on_1,puitsP.fluid,steamEngine1.fluid,sourceP.C.ftype,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.825, allocations: 179 kB / 0.7196 GB, free: 76.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/1.825, allocations: 37.7 kB / 0.7196 GB, free: 76.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/1.825, allocations: 376.6 kB / 0.7199 GB, free: 76.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002151/1.826, allocations: 260.1 kB / 0.7202 GB, free: 76.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/1.826, allocations: 0 / 0.7202 GB, free: 76.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.826, allocations: 8.625 kB / 0.7202 GB, free: 76.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008769/1.827, allocations: 0.8949 MB / 0.7211 GB, free: 76.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.827, allocations: 3.469 kB / 0.7211 GB, free: 76.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/1.827, allocations: 45.75 kB / 0.7211 GB, free: 76.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/1.827, allocations: 68.58 kB / 0.7212 GB, free: 76.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/1.827, allocations: 10.69 kB / 0.7212 GB, free: 76.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002735/1.827, allocations: 0.8466 MB / 0.722 GB, free: 75.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.827, allocations: 0 / 0.722 GB, free: 75.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/1.827, allocations: 484.3 kB / 0.7225 GB, free: 75.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/1.827, allocations: 71.58 kB / 0.7226 GB, free: 75.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/1.827, allocations: 22.64 kB / 0.7226 GB, free: 75.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/1.828, allocations: 5.562 kB / 0.7226 GB, free: 75.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/1.828, allocations: 17.95 kB / 0.7226 GB, free: 75.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.828, allocations: 13.72 kB / 0.7226 GB, free: 75.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001047/1.828, allocations: 220.3 kB / 0.7228 GB, free: 75.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/1.828, allocations: 0 / 0.7228 GB, free: 75.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004476/1.832, allocations: 2.062 MB / 0.7248 GB, free: 75.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005776/1.838, allocations: 3.365 MB / 0.7281 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004663/1.838, allocations: 328.4 kB / 0.7284 GB, free: 74.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.838, allocations: 0 / 0.7284 GB, free: 74.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/1.839, allocations: 133.4 kB / 0.7286 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/1.839, allocations: 210.3 kB / 0.7288 GB, free: 74.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/1.84, allocations: 0.8507 MB / 0.7296 GB, free: 74.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.748e-05/1.84, allocations: 134.5 kB / 0.7297 GB, free: 74.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001236/1.84, allocations: 50.88 kB / 0.7298 GB, free: 74.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/1.841, allocations: 200.7 kB / 0.73 GB, free: 74.06 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/1.841, allocations: 0 / 0.73 GB, free: 74.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.06642/1.907, allocations: 82.8 MB / 0.8108 GB, free: 22.2 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.783300728071481]