Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 101.1 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 199.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1008/0.1008, allocations: 15.55 MB / 318.2 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.Hemoglobin.HemoglobinCarboxylation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation") translateModel(Chemical.Examples.Hemoglobin.HemoglobinCarboxylation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 59.91 kB / 445.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1459, allocations: 56.55 MB / 0.4902 GB, free: 4.355 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.Hemoglobin.HemoglobinCarboxylation): time 0.3652/0.5111, allocations: 42.59 MB / 0.5318 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.09481/0.6059, allocations: 72.91 MB / 0.603 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005277/0.6112, allocations: 59.62 kB / 0.6031 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005957/0.6172, allocations: 1.64 MB / 0.6047 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02395/0.6411, allocations: 5.97 MB / 0.6105 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03743/0.6785, allocations: 10.28 MB / 0.6206 GB, free: 4.863 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03351/0.7121, allocations: 26.69 MB / 0.6466 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02845/0.7405, allocations: 19.1 MB / 0.6653 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03084/0.7713, allocations: 17.59 MB / 0.6824 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03553/0.8069, allocations: 16.72 MB / 0.6988 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.01568/0.8226, allocations: 3.129 MB / 0.7018 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04856/0.8711, allocations: 10.85 MB / 0.7124 GB, free: 6.496 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.6511/1.522, allocations: 7.06 MB / 0.7193 GB, free: 48.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04088/1.563, allocations: 12.24 MB / 0.7313 GB, free: 47.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.1094/1.672, allocations: 42.58 MB / 0.7728 GB, free: 43.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/1.672, allocations: 2.594 kB / 0.7728 GB, free: 43.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/1.672, allocations: 1.5 kB / 0.7729 GB, free: 43.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001814/1.674, allocations: 0 / 0.7729 GB, free: 43.88 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3808 * Number of variables: 3808 Notification: Performance of Generate backend data structure: time 0.1341/1.808, allocations: 23.75 MB / 0.796 GB, free: 32.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/1.808, allocations: 11.28 kB / 0.7961 GB, free: 32.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03589/1.844, allocations: 3.976 MB / 0.7999 GB, free: 30.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04267/1.887, allocations: 12.15 MB / 0.8118 GB, free: 24.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002967/1.89, allocations: 2.134 MB / 0.8139 GB, free: 22.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01977/1.91, allocations: 1.538 MB / 0.8154 GB, free: 22.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.12/2.03, allocations: 35.21 MB / 0.8498 GB, free: 12.16 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000862/2.031, allocations: 11.69 kB / 0.8498 GB, free: 12.16 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01346/2.044, allocations: 0.5885 MB / 0.8504 GB, free: 11.57 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004386/2.045, allocations: 368 kB / 0.8507 GB, free: 11.21 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1351/2.18, allocations: 47.7 MB / 0.8973 GB, free: 11.52 MB / 0.6075 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.758/2.938, allocations: 130.4 MB / 1.025 GB, free: 192.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9839/3.921, allocations: 275 MB / 1.293 GB, free: 169.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04855/3.97, allocations: 18.5 MB / 1.311 GB, free: 169.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1773/4.147, allocations: 89.99 MB / 1.399 GB, free: 116 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/4.147, allocations: 142.3 kB / 1.399 GB, free: 115.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03091/4.178, allocations: 6.35 MB / 1.406 GB, free: 110.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=995): time 5.956e-05/4.178, allocations: 0 / 1.406 GB, free: 110.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1129): time 1.165/5.343, allocations: 135.9 MB / 1.538 GB, free: 218 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/5.344, allocations: 166.2 kB / 1.538 GB, free: 217.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01739/5.361, allocations: 10.16 MB / 1.548 GB, free: 217.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.004853/5.366, allocations: 217 kB / 1.549 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.005074/5.371, allocations: 7.093 MB / 1.555 GB, free: 213.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0082/5.379, allocations: 4.103 MB / 1.559 GB, free: 210.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01752/5.397, allocations: 3.275 MB / 1.563 GB, free: 209.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.105e-05/5.397, allocations: 309.1 kB / 1.563 GB, free: 208.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02383/5.421, allocations: 11.82 MB / 1.575 GB, free: 204.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03473/5.455, allocations: 16.55 MB / 1.591 GB, free: 193 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05071/5.506, allocations: 29.75 MB / 1.62 GB, free: 173.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001542/5.506, allocations: 40.19 kB / 1.62 GB, free: 173.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1889) (initialization): time 0.4424/5.949, allocations: 81.38 MB / 1.699 GB, free: 93.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/5.949, allocations: 68 kB / 1.699 GB, free: 93.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003209/5.949, allocations: 153.2 kB / 1.699 GB, free: 93.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0615/6.011, allocations: 22.39 MB / 1.721 GB, free: 71.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01982/6.03, allocations: 3.725 MB / 1.725 GB, free: 67.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6578/6.688, allocations: 93.9 MB / 1.817 GB, free: 186.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02167/6.71, allocations: 0.8221 MB / 1.817 GB, free: 185.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006768/6.717, allocations: 0.9355 MB / 1.818 GB, free: 185.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 677 * 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 initialization (1841): * Single equations (assignments): 1838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (33,10,82.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.02174/6.738, allocations: 5.37 MB / 1.824 GB, free: 182.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009478/6.748, allocations: 1.114 MB / 1.825 GB, free: 182.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2826/7.03, allocations: 48.47 MB / 1.872 GB, free: 140.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001505/7.031, allocations: 120 kB / 1.872 GB, free: 140.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001747/7.031, allocations: 20 kB / 1.872 GB, free: 140.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005325/7.031, allocations: 60.33 kB / 1.872 GB, free: 140.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3326/7.364, allocations: 72.92 MB / 1.943 GB, free: 67.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001484/7.364, allocations: 0 / 1.943 GB, free: 67.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01692/7.381, allocations: 2.423 MB / 1.946 GB, free: 65.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03409/7.415, allocations: 11.9 MB / 1.957 GB, free: 53.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006429/7.422, allocations: 475.5 kB / 1.958 GB, free: 53.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5959/8.017, allocations: 46.89 MB / 2.004 GB, free: 204.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/8.017, allocations: 9.906 kB / 2.004 GB, free: 204.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3059/8.323, allocations: 62.65 MB / 2.065 GB, free: 177.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01486/8.338, allocations: 3.354 MB / 2.068 GB, free: 174.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01073/8.349, allocations: 297.8 kB / 2.068 GB, free: 174.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01754/8.367, allocations: 0.5137 MB / 2.069 GB, free: 173.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009589/8.376, allocations: 1.502 MB / 2.07 GB, free: 172.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0049/8.381, allocations: 471.6 kB / 2.071 GB, free: 171.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0154/8.396, allocations: 6.966 MB / 2.078 GB, free: 164.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/8.396, allocations: 0 / 2.078 GB, free: 164.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.03878/8.435, allocations: 6.722 MB / 2.084 GB, free: 158.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 60 (solution.temperature,O2_free.logn,H2O.logn,relaxed.OxyHm[1].logn,relaxed.OxyHm[2].logn,relaxed.OxyHm[3].logn,relaxed.OxyHm[4].logn,relaxed.DeoxyHm[1].logn,relaxed.DeoxyHm[2].logn,relaxed.DeoxyHm[3].logn,relaxed.DeoxyHm[4].logn,relaxed.HmAH[1].logn,relaxed.HmAH[2].logn,relaxed.HmAH[3].logn,relaxed.HmAH[4].logn,relaxed.HmA[1].logn,relaxed.HmA[2].logn,relaxed.HmA[3].logn,relaxed.HmA[4].logn,relaxed.HmNH3[1].logn,relaxed.HmNH3[2].logn,relaxed.HmNH3[3].logn,relaxed.HmNH3[4].logn,relaxed.HmNH2[1].logn,relaxed.HmNH2[2].logn,relaxed.HmNH2[3].logn,relaxed.HmNH2[4].logn,relaxed.HmNHCOO[1].logn,relaxed.HmNHCOO[2].logn,relaxed.HmNHCOO[3].logn,relaxed.HmNHCOO[4].logn,tensed.OxyHm[1].logn,tensed.OxyHm[2].logn,tensed.OxyHm[3].logn,tensed.OxyHm[4].logn,tensed.DeoxyHm[1].logn,tensed.DeoxyHm[2].logn,tensed.DeoxyHm[3].logn,tensed.DeoxyHm[4].logn,tensed.HmAH[1].logn,tensed.HmAH[2].logn,tensed.HmAH[3].logn,tensed.HmAH[4].logn,tensed.HmA[1].logn,tensed.HmA[2].logn,tensed.HmA[3].logn,tensed.HmA[4].logn,tensed.HmNH3[1].logn,tensed.HmNH3[2].logn,tensed.HmNH3[3].logn,tensed.HmNH3[4].logn,tensed.HmNH2[1].logn,tensed.HmNH2[2].logn,tensed.HmNH2[3].logn,tensed.HmNH2[4].logn,tensed.HmNHCOO[1].logn,tensed.HmNHCOO[2].logn,tensed.HmNHCOO[3].logn,tensed.HmNHCOO[4].logn,CO2_free.logn) * 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 (1234): * Single equations (assignments): 1231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (33,10,82.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01534/8.451, allocations: 3.587 MB / 2.088 GB, free: 155.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.07844/8.529, allocations: 26.37 MB / 2.113 GB, free: 129 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/8.529, allocations: 0 / 2.113 GB, free: 129 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.04474/8.574, allocations: 13.62 MB / 2.127 GB, free: 115.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03435/8.608, allocations: 2.505 MB / 2.129 GB, free: 113.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1198/8.728, allocations: 38.27 MB / 2.167 GB, free: 74.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03193/8.76, allocations: 9.941 MB / 2.176 GB, free: 64.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.02452/8.784, allocations: 5.219 MB / 2.181 GB, free: 59.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0113/8.796, allocations: 1.436 MB / 2.183 GB, free: 58.42 MB / 0.6544 GB Notification: Performance of SimCode: time 1.853e-06/8.796, allocations: 0 / 2.183 GB, free: 58.42 MB / 0.6544 GB Notification: Performance of Templates: time 1.398/10.19, allocations: 324 MB / 2.499 GB, free: 181.2 MB / 0.6544 GB " [Timeout remaining time 650] make -j1 -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.pipe ; mkfifo Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.pipe >> ../files/Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.sim & ./Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.Hemoglobin.HemoglobinCarboxylation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.839049795642495]