Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.0009209/0.0009209, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.0009946/0.0009946, allocations: 176.9 kB / 23.36 MB, free: 1.125 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 1.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.464/2.464, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.422e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.0036/0.003634, allocations: 2.359 MB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005838/0.009472, allocations: 3.767 MB / 0.8446 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.009731, allocations: 7.938 kB / 0.8446 GB, free: 8 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.01244, allocations: 1.071 MB / 0.8457 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0008118/0.01325, allocations: 450 kB / 0.8461 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.01417, allocations: 0.495 MB / 0.8466 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.01842, allocations: 4.064 MB / 0.8505 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.01855, allocations: 26.89 kB / 0.8506 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004706/0.01902, allocations: 299.4 kB / 0.8509 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.01925, allocations: 191.4 kB / 0.851 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.01929, allocations: 20 kB / 0.8511 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.02033, allocations: 0.5223 MB / 0.8516 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.02052, allocations: 231.4 kB / 0.8518 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.02064, allocations: 139.6 kB / 0.8519 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0008898/0.02153, allocations: 0.7359 MB / 0.8526 GB, free: 15.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.02153, allocations: 0 / 0.8526 GB, free: 15.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.152e-06/0.02153, allocations: 0 / 0.8526 GB, free: 15.77 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.02154, allocations: 4 kB / 0.8526 GB, free: 15.77 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008723/0.02241, allocations: 0.7623 MB / 0.8534 GB, free: 14.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.02245, allocations: 8.625 kB / 0.8534 GB, free: 14.97 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005331/0.02298, allocations: 148.8 kB / 0.8535 GB, free: 14.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.02426, allocations: 0.9615 MB / 0.8545 GB, free: 13.83 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.02427, allocations: 19.94 kB / 0.8545 GB, free: 13.81 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.0243, allocations: 12 kB / 0.8545 GB, free: 13.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.02452, allocations: 129.5 kB / 0.8546 GB, free: 13.67 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.02453, allocations: 4 kB / 0.8546 GB, free: 13.66 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.02455, allocations: 11.92 kB / 0.8546 GB, free: 13.65 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.02455, allocations: 4 kB / 0.8546 GB, free: 13.65 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.934e-05/0.02463, allocations: 39.98 kB / 0.8547 GB, free: 13.61 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.02514, allocations: 306.7 kB / 0.855 GB, free: 13.29 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.02531, allocations: 140.1 kB / 0.8551 GB, free: 13.14 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.02535, allocations: 24.84 kB / 0.8551 GB, free: 13.12 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.02537, allocations: 7.938 kB / 0.8551 GB, free: 13.11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.0254, allocations: 30.56 kB / 0.8552 GB, free: 13.07 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 2.525e-06/0.0254, allocations: 0 / 0.8552 GB, free: 13.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0002307/0.02563, allocations: 125.6 kB / 0.8553 GB, free: 12.94 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.02566, allocations: 59.53 kB / 0.8553 GB, free: 12.87 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.02596, allocations: 484 kB / 0.8558 GB, free: 12.39 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.02599, allocations: 25.7 kB / 0.8558 GB, free: 12.36 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.02607, allocations: 165.7 kB / 0.856 GB, free: 12.19 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.02611, allocations: 39.67 kB / 0.856 GB, free: 12.15 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.02618, allocations: 49.67 kB / 0.8561 GB, free: 12.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.02628, allocations: 370.7 kB / 0.8564 GB, free: 11.73 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.02635, allocations: 39.66 kB / 0.8565 GB, free: 11.68 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.02645, allocations: 146.3 kB / 0.8566 GB, free: 11.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.0266, allocations: 141.4 kB / 0.8567 GB, free: 11.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.0266, allocations: 0 / 0.8567 GB, free: 11.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001999/0.0268, allocations: 160.3 kB / 0.8569 GB, free: 11.17 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.02681, allocations: 4 kB / 0.8569 GB, free: 11.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.02682, allocations: 4 kB / 0.8569 GB, free: 11.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.02684, allocations: 0 / 0.8569 GB, free: 11.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.02705, allocations: 64.09 kB / 0.857 GB, free: 11.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.02705, allocations: 11.94 kB / 0.857 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.02717, allocations: 28.39 kB / 0.857 GB, free: 11.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.02721, allocations: 31.98 kB / 0.857 GB, free: 11.03 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001096/0.02732, allocations: 117.8 kB / 0.8571 GB, free: 10.91 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001036/0.02742, allocations: 148 kB / 0.8573 GB, free: 10.72 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000118/0.02754, allocations: 129.5 kB / 0.8574 GB, free: 10.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.02754, allocations: 4 kB / 0.8574 GB, free: 10.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0001794/0.02772, allocations: 152.3 kB / 0.8576 GB, free: 10.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.02773, allocations: 8 kB / 0.8576 GB, free: 10.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.02773, allocations: 0 / 0.8576 GB, free: 10.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.02773, allocations: 4 kB / 0.8576 GB, free: 10.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.02788, allocations: 51.89 kB / 0.8576 GB, free: 10.35 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.02789, allocations: 7.984 kB / 0.8576 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.02801, allocations: 32.58 kB / 0.8577 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.02803, allocations: 16 kB / 0.8577 GB, free: 10.29 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (18): * Single equations (assignments): 17 * Array equations: 1 * 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.33e-05/0.02812, allocations: 188.2 kB / 0.8579 GB, free: 10.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.02816, allocations: 35.95 kB / 0.8579 GB, free: 10.07 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.02844, allocations: 190.8 kB / 0.8581 GB, free: 9.871 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.02844, allocations: 0 / 0.8581 GB, free: 9.871 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004001/0.02884, allocations: 3.938 kB / 0.8581 GB, free: 9.867 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.02885, allocations: 4 kB / 0.8581 GB, free: 9.863 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.02906, allocations: 185.6 kB / 0.8583 GB, free: 9.664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02906, allocations: 4 kB / 0.8583 GB, free: 9.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.02918, allocations: 39.91 kB / 0.8583 GB, free: 9.621 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.02918, allocations: 0 / 0.8583 GB, free: 9.621 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.02919, allocations: 4 kB / 0.8583 GB, free: 9.617 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02919, allocations: 0 / 0.8583 GB, free: 9.617 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.0292, allocations: 0 / 0.8583 GB, free: 9.617 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.02939, allocations: 250.2 kB / 0.8585 GB, free: 9.355 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.02945, allocations: 51.61 kB / 0.8586 GB, free: 9.305 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.02948, allocations: 4 kB / 0.8586 GB, free: 9.301 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.02958, allocations: 12 kB / 0.8586 GB, free: 9.289 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.02961, allocations: 11.97 kB / 0.8586 GB, free: 9.277 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.02963, allocations: 19.94 kB / 0.8586 GB, free: 9.258 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001524/0.02978, allocations: 216.6 kB / 0.8588 GB, free: 9.051 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.02978, allocations: 0 / 0.8588 GB, free: 9.051 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004641/0.03025, allocations: 211.6 kB / 0.859 GB, free: 8.844 MB / 0.823 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 (11): * Single equations (assignments): 11 * 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.0003443/0.03059, allocations: 222.7 kB / 0.8593 GB, free: 8.617 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.03086, allocations: 168.3 kB / 0.8594 GB, free: 8.449 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.03087, allocations: 8 kB / 0.8594 GB, free: 8.441 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.016e-05/0.03092, allocations: 37 kB / 0.8595 GB, free: 8.402 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.03151, allocations: 308.3 kB / 0.8598 GB, free: 8.102 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.03266, allocations: 0.7931 MB / 0.8605 GB, free: 7.273 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.03276, allocations: 157.6 kB / 0.8607 GB, free: 7.098 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004065/0.03317, allocations: 173 kB / 0.8608 GB, free: 6.926 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.03366, allocations: 285.1 kB / 0.8611 GB, free: 6.645 MB / 0.823 GB Notification: Performance of SimCode: time 9.72e-07/0.03366, allocations: 4 kB / 0.8611 GB, free: 6.641 MB / 0.823 GB Notification: Performance of Templates: time 0.01749/0.05115, allocations: 14.74 MB / 0.8755 GB, free: 8.281 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.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.522678060922772]