Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.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.001111/0.001111, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002553, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001088/0.001088, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002431, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9464/0.9464, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08961/1.036, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.431/2.431, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2626/2.693, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cat1.y.[0-9,]+.|sel1.y.[0-9,]+.|sel2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cat1.y.[0-9,]+.|sel1.y.[0-9,]+.|sel2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.156e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.926 MB / 0.7917 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter cat1.selAva.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter sel1.selAva.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter sel2.selAva.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical): time 0.00276/0.002791, allocations: 1.203 MB / 0.8195 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.003712, allocations: 462.6 kB / 0.8199 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.003946, allocations: 27.75 kB / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.004185, allocations: 99.34 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.004351, allocations: 43.77 kB / 0.8201 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.004599, allocations: 87.72 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.004994, allocations: 295.2 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.005324, allocations: 169.8 kB / 0.8206 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.0057, allocations: 203.6 kB / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.00582, allocations: 75.8 kB / 0.8209 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.005862, allocations: 20 kB / 0.8209 GB, free: 268 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.005966, allocations: 35.94 kB / 0.8209 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.325e-05/0.00605, allocations: 63.73 kB / 0.821 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.00612, allocations: 51.81 kB / 0.821 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.006461, allocations: 203.2 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.456e-05/0.006475, allocations: 0 / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.442e-06/0.006477, allocations: 0 / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.981e-05/0.006496, allocations: 0 / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006319/0.007128, allocations: 0.5034 MB / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.007165, allocations: 8.031 kB / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.00751, allocations: 130 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.007974, allocations: 300.5 kB / 0.8221 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.008011, allocations: 16.88 kB / 0.8221 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.008043, allocations: 24.38 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.008283, allocations: 141.3 kB / 0.8223 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.008293, allocations: 192 / 0.8223 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.008314, allocations: 12.38 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.008323, allocations: 4.375 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.008425, allocations: 43.42 kB / 0.8224 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.009118, allocations: 0.6176 MB / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.979e-05/0.009198, allocations: 169.1 kB / 0.8231 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.009226, allocations: 84.08 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.009252, allocations: 83.22 kB / 0.8233 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.009299, allocations: 109.8 kB / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.0093, allocations: 0 / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.187e-05/0.009372, allocations: 37.69 kB / 0.8234 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.00943, allocations: 126.7 kB / 0.8235 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.00964, allocations: 252.9 kB / 0.8238 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.009655, allocations: 29.64 kB / 0.8238 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.01006, allocations: 156.7 kB / 0.824 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.01006, allocations: 0 / 0.824 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.01013, allocations: 49.59 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.01024, allocations: 326.8 kB / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.01025, allocations: 4 kB / 0.8243 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.01032, allocations: 91.62 kB / 0.8244 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.01036, allocations: 22.58 kB / 0.8244 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01036, allocations: 0 / 0.8244 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001091/0.01047, allocations: 61.55 kB / 0.8245 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.01048, allocations: 4 kB / 0.8245 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01049, allocations: 3.938 kB / 0.8245 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.0105, allocations: 128 / 0.8245 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.938e-05/0.01052, allocations: 8 kB / 0.8245 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.01052, allocations: 0 / 0.8245 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.01056, allocations: 5.125 kB / 0.8245 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.01057, allocations: 0 / 0.8245 GB, free: 12.3 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (cat1.cat1.con[1].y,cat1.cat1.con[2].y,cat1.cat1.con[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001305/0.0107, allocations: 188 kB / 0.8247 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.01076, allocations: 116.9 kB / 0.8248 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.01082, allocations: 121.7 kB / 0.8249 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-05/0.01086, allocations: 184.3 kB / 0.8251 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.968e-05/0.01091, allocations: 188.2 kB / 0.8253 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.985e-05/0.01096, allocations: 184.2 kB / 0.8254 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.01119, allocations: 365.4 kB / 0.8258 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-05/0.01122, allocations: 108.9 kB / 0.8259 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.01125, allocations: 105.1 kB / 0.826 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.0113, allocations: 120.8 kB / 0.8261 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.625e-05/0.01136, allocations: 180.4 kB / 0.8263 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.01142, allocations: 180.2 kB / 0.8265 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.347e-05/0.01148, allocations: 192.2 kB / 0.8266 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.946e-05/0.01153, allocations: 176.3 kB / 0.8268 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.01167, allocations: 311.8 kB / 0.8271 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.01173, allocations: 184.1 kB / 0.8273 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.0118, allocations: 109 kB / 0.8274 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.01186, allocations: 184.2 kB / 0.8276 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.0119, allocations: 104.9 kB / 0.8277 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.258e-05/0.01199, allocations: 78.7 kB / 0.8277 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01199, allocations: 0 / 0.8277 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000236/0.01223, allocations: 39.78 kB / 0.8278 GB, free: 8.773 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 0.0001393/0.01236, allocations: 151.7 kB / 0.8279 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.01245, allocations: 20.78 kB / 0.8279 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.01245, allocations: 192 / 0.8279 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/0.01246, allocations: 8 kB / 0.8279 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.01278, allocations: 476.1 kB / 0.8284 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/0.01338, allocations: 459.6 kB / 0.8288 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.502e-05/0.01345, allocations: 83.8 kB / 0.8289 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.605e-05/0.01349, allocations: 17.48 kB / 0.8289 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.01354, allocations: 59.38 kB / 0.829 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of SimCode: time 9.32e-07/0.01354, allocations: 0 / 0.829 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of Templates: time 0.003481/0.01702, allocations: 0.5673 MB / 0.8295 GB, free: 6.938 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateSelectLogical.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.200995434075594]