Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.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.0009919/0.0009919, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001224/0.001224, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001881/0.001881, allocations: 245.5 kB / 261.3 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.729/0.729, allocations: 138.5 MB / 456.3 MB, free: 1.434 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5563 GB, free: 300 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.161e-05, allocations: 5.266 kB / 0.5564 GB, free: 296 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002779/0.002801, allocations: 2.531 MB / 0.5588 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.004064, allocations: 0.9233 MB / 0.5597 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.004252, allocations: 15.88 kB / 0.5597 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.004425, allocations: 67.39 kB / 0.5598 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.004548, allocations: 75.33 kB / 0.5599 GB, free: 12.65 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.004944, allocations: 239.6 kB / 0.5601 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.005301, allocations: 463.6 kB / 0.5605 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.005507, allocations: 137.8 kB / 0.5607 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.005716, allocations: 231.5 kB / 0.5609 GB, free: 11.6 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.005821, allocations: 99.64 kB / 0.561 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.005865, allocations: 52 kB / 0.561 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.557e-05/0.005901, allocations: 48 kB / 0.5611 GB, free: 11.4 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.005953, allocations: 91.69 kB / 0.5612 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.006024, allocations: 115.7 kB / 0.5613 GB, free: 11.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.006301, allocations: 302.9 kB / 0.5616 GB, free: 10.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.006304, allocations: 0 / 0.5616 GB, free: 10.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006305, allocations: 0 / 0.5616 GB, free: 10.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.006309, allocations: 0 / 0.5616 GB, free: 10.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005977/0.006907, allocations: 0.6673 MB / 0.5622 GB, free: 10.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.006936, allocations: 8.75 kB / 0.5622 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.007007, allocations: 68.59 kB / 0.5623 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.007314, allocations: 356.4 kB / 0.5626 GB, free: 9.746 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.007341, allocations: 25.03 kB / 0.5627 GB, free: 9.723 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.007375, allocations: 24.38 kB / 0.5627 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.007663, allocations: 302.4 kB / 0.563 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.007672, allocations: 192 / 0.563 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.00769, allocations: 12.38 kB / 0.563 GB, free: 9.352 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.0077, allocations: 15.94 kB / 0.563 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.007804, allocations: 76.47 kB / 0.5631 GB, free: 9.258 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.008674, allocations: 1.018 MB / 0.5641 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.008835, allocations: 111.3 kB / 0.5642 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.008878, allocations: 35.67 kB / 0.5642 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.008894, allocations: 4 kB / 0.5642 GB, free: 8.039 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.008915, allocations: 37.33 kB / 0.5643 GB, free: 7.992 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.008916, allocations: 4 kB / 0.5643 GB, free: 7.988 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002258/0.009142, allocations: 133.5 kB / 0.5644 GB, free: 7.852 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.009184, allocations: 106.8 kB / 0.5645 GB, free: 7.723 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.009352, allocations: 302.2 kB / 0.5648 GB, free: 7.414 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.009369, allocations: 29.7 kB / 0.5648 GB, free: 7.379 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.009482, allocations: 255.2 kB / 0.565 GB, free: 7.121 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.009512, allocations: 51.52 kB / 0.5651 GB, free: 7.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.009572, allocations: 55.3 kB / 0.5651 GB, free: 7.008 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.009692, allocations: 0.5157 MB / 0.5656 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.009733, allocations: 23.67 kB / 0.5657 GB, free: 6.453 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/0.00981, allocations: 129.7 kB / 0.5658 GB, free: 6.293 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.009903, allocations: 78.94 kB / 0.5659 GB, free: 6.203 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.009905, allocations: 3.938 kB / 0.5659 GB, free: 6.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001535/0.01006, allocations: 136.5 kB / 0.566 GB, free: 6.062 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01007, allocations: 7.938 kB / 0.566 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.01008, allocations: 4.094 kB / 0.566 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.01009, allocations: 4 kB / 0.566 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01019, allocations: 27.98 kB / 0.566 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.0102, allocations: 0 / 0.566 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.01026, allocations: 23.88 kB / 0.5661 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.01027, allocations: 4 kB / 0.5661 GB, free: 5.992 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.653e-05/0.01036, allocations: 146.9 kB / 0.5662 GB, free: 5.844 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.095e-05/0.01043, allocations: 121.8 kB / 0.5663 GB, free: 5.691 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.646e-05/0.01051, allocations: 78.95 kB / 0.5664 GB, free: 5.602 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.01051, allocations: 4.031 kB / 0.5664 GB, free: 5.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0001339/0.01064, allocations: 133.4 kB / 0.5665 GB, free: 5.461 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.01065, allocations: 6.969 kB / 0.5665 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.01065, allocations: 4 kB / 0.5665 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-06/0.01065, allocations: 0 / 0.5665 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.01072, allocations: 27.92 kB / 0.5666 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.01072, allocations: 4 kB / 0.5666 GB, free: 5.422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.01078, allocations: 23.88 kB / 0.5666 GB, free: 5.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.01079, allocations: 0 / 0.5666 GB, free: 5.398 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 9.893e-05/0.01089, allocations: 292 kB / 0.5669 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.01092, allocations: 27.81 kB / 0.5669 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.01097, allocations: 34.19 kB / 0.5669 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01098, allocations: 7.984 kB / 0.5669 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01098, allocations: 0 / 0.5669 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.01098, allocations: 0 / 0.5669 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.01119, allocations: 229 kB / 0.5672 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01119, allocations: 0 / 0.5672 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.01128, allocations: 23.98 kB / 0.5672 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.01128, allocations: 7.875 kB / 0.5672 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.01129, allocations: 8 kB / 0.5672 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.0113, allocations: 4 kB / 0.5672 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0113, allocations: 0 / 0.5672 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.01153, allocations: 303.3 kB / 0.5675 GB, free: 4.434 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.0116, allocations: 51.72 kB / 0.5675 GB, free: 4.383 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.01162, allocations: 4 kB / 0.5675 GB, free: 4.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.01169, allocations: 11.98 kB / 0.5676 GB, free: 4.367 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.01172, allocations: 11.98 kB / 0.5676 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.01173, allocations: 0 / 0.5676 GB, free: 4.355 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.01182, allocations: 206.9 kB / 0.5678 GB, free: 4.152 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01182, allocations: 4.031 kB / 0.5678 GB, free: 4.148 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000262/0.01208, allocations: 103.6 kB / 0.5679 GB, free: 4.047 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.636e-05/0.01217, allocations: 103.2 kB / 0.568 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.01237, allocations: 129.7 kB / 0.5681 GB, free: 3.801 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01237, allocations: 0 / 0.5681 GB, free: 3.801 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.271e-05/0.01243, allocations: 47.59 kB / 0.5681 GB, free: 3.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.01274, allocations: 83.73 kB / 0.5682 GB, free: 3.672 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.01334, allocations: 0.507 MB / 0.5687 GB, free: 3.137 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.0134, allocations: 84.31 kB / 0.5688 GB, free: 3.035 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.812e-05/0.01349, allocations: 25.92 kB / 0.5688 GB, free: 3.012 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.01363, allocations: 126.2 kB / 0.5689 GB, free: 2.887 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01363, allocations: 4 kB / 0.5689 GB, free: 2.883 MB / 490.7 MB Notification: Performance of Templates: time 0.005212/0.01884, allocations: 3.332 MB / 0.5722 GB, free: 15.62 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6098585962317884]