Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001812/0.001812, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.002716/0.002716, allocations: 216 kB / 22.26 MB, free: 5.113 MB / 14.72 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.274/3.274, allocations: 0.49 GB / 0.7951 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.81 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2924, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2/0.4924, allocations: 160.5 MB / 1.483 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02937/0.5218, allocations: 21.93 MB / 1.504 GB, free: 10.82 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.5235, allocations: 71.44 kB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.5253, allocations: 1.177 MB / 1.505 GB, free: 9.574 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.5269, allocations: 0.9146 MB / 1.506 GB, free: 8.656 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.5279, allocations: 410.5 kB / 1.507 GB, free: 8.254 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.5294, allocations: 1.278 MB / 1.508 GB, free: 6.969 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007552/0.5301, allocations: 0.5469 MB / 1.508 GB, free: 6.418 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007642/0.5309, allocations: 0.5841 MB / 1.509 GB, free: 5.832 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.5321, allocations: 0.9995 MB / 1.51 GB, free: 4.828 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.5322, allocations: 72 kB / 1.51 GB, free: 4.758 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.5325, allocations: 108 kB / 1.51 GB, free: 4.652 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.5328, allocations: 324.6 kB / 1.51 GB, free: 4.336 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004822/0.5333, allocations: 496.7 kB / 1.511 GB, free: 3.848 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.5346, allocations: 1.217 MB / 1.512 GB, free: 2.625 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5346, allocations: 4 kB / 1.512 GB, free: 2.621 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5346, allocations: 0 / 1.512 GB, free: 2.621 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.5346, allocations: 0 / 1.512 GB, free: 2.621 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002445/0.5371, allocations: 1.501 MB / 1.514 GB, free: 1.082 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5371, allocations: 12.03 kB / 1.514 GB, free: 1.07 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.5372, allocations: 82.7 kB / 1.514 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.5374, allocations: 144 kB / 1.514 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/0.5384, allocations: 0.614 MB / 1.514 GB, free: 188 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.5385, allocations: 104.4 kB / 1.514 GB, free: 72 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.5386, allocations: 48 kB / 1.515 GB, free: 24 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.5395, allocations: 0.5184 MB / 1.515 GB, free: 15.5 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.5396, allocations: 3.984 kB / 1.515 GB, free: 15.49 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.5397, allocations: 20 kB / 1.515 GB, free: 15.47 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.5397, allocations: 12 kB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.5405, allocations: 415.7 kB / 1.515 GB, free: 15.05 MB / 1.217 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.003603/0.5441, allocations: 2.692 MB / 1.518 GB, free: 12.14 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009492/0.5451, allocations: 425 kB / 1.518 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.5457, allocations: 285.3 kB / 1.519 GB, free: 11.43 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.5457, allocations: 4.328 kB / 1.519 GB, free: 11.43 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005664/0.5463, allocations: 284.8 kB / 1.519 GB, free: 11.14 MB / 1.217 GB Notification: Performance of pre-optimization done (n=44): time 1.883e-06/0.5463, allocations: 4 kB / 1.519 GB, free: 11.13 MB / 1.217 GB Notification: Performance of matching and sorting (n=44): time 0.002818/0.5491, allocations: 0.9976 MB / 1.52 GB, free: 10.12 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.5492, allocations: 55.41 kB / 1.52 GB, free: 10.05 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.5514, allocations: 1.789 MB / 1.522 GB, free: 8.258 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.5514, allocations: 37.7 kB / 1.522 GB, free: 8.215 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/0.5519, allocations: 0.5294 MB / 1.522 GB, free: 7.68 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.5521, allocations: 146.8 kB / 1.522 GB, free: 7.535 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.5522, allocations: 106.3 kB / 1.523 GB, free: 7.426 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5524, allocations: 326 kB / 1.523 GB, free: 7.102 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.553, allocations: 209.2 kB / 1.523 GB, free: 6.895 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.5536, allocations: 340.1 kB / 1.523 GB, free: 6.516 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.5546, allocations: 0.5265 MB / 1.524 GB, free: 5.941 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5546, allocations: 0 / 1.524 GB, free: 5.941 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001656/0.5562, allocations: 0.8071 MB / 1.525 GB, free: 5.125 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.5562, allocations: 15.92 kB / 1.525 GB, free: 5.109 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5562, allocations: 4 kB / 1.525 GB, free: 5.105 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/0.5567, allocations: 132.7 kB / 1.525 GB, free: 4.973 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.5571, allocations: 115.8 kB / 1.525 GB, free: 4.859 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.5603, allocations: 2.498 MB / 1.527 GB, free: 2.254 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.5609, allocations: 83.69 kB / 1.528 GB, free: 2.172 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.5609, allocations: 20 kB / 1.528 GB, free: 2.152 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006143/0.5615, allocations: 385.1 kB / 1.528 GB, free: 1.77 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.5618, allocations: 131.1 kB / 1.528 GB, free: 1.641 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.5633, allocations: 0.7087 MB / 1.529 GB, free: 0.9141 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5633, allocations: 4 kB / 1.529 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5633, allocations: 4 kB / 1.529 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.5633, allocations: 4 kB / 1.529 GB, free: 0.9023 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.566, allocations: 1.473 MB / 1.53 GB, free: 15.38 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.566, allocations: 3.984 kB / 1.53 GB, free: 15.38 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.5662, allocations: 43.97 kB / 1.53 GB, free: 15.33 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.5666, allocations: 169.5 kB / 1.53 GB, free: 15.16 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.5667, allocations: 8 kB / 1.53 GB, free: 15.15 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/0.5713, allocations: 4.081 MB / 1.534 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5713, allocations: 4.031 kB / 1.534 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.5732, allocations: 1.001 MB / 1.535 GB, free: 9.824 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.5735, allocations: 147.1 kB / 1.535 GB, free: 9.68 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.5735, allocations: 11.94 kB / 1.535 GB, free: 9.668 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.5739, allocations: 31.97 kB / 1.536 GB, free: 9.637 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.574, allocations: 63.83 kB / 1.536 GB, free: 9.574 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.574, allocations: 15.98 kB / 1.536 GB, free: 9.559 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001642/0.5757, allocations: 1.297 MB / 1.537 GB, free: 8.258 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5757, allocations: 0 / 1.537 GB, free: 8.258 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007595/0.5764, allocations: 199.8 kB / 1.537 GB, free: 8.062 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003887/0.5803, allocations: 1.917 MB / 1.539 GB, free: 6.293 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.5818, allocations: 0.6566 MB / 1.54 GB, free: 5.625 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5818, allocations: 4.062 kB / 1.54 GB, free: 5.621 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009245/0.5827, allocations: 0.5164 MB / 1.54 GB, free: 5.078 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009411/0.5836, allocations: 196 kB / 1.54 GB, free: 4.898 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.5975, allocations: 8.586 MB / 1.549 GB, free: 12.09 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009695/0.5985, allocations: 1.161 MB / 1.55 GB, free: 10.89 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003809/0.5988, allocations: 104.8 kB / 1.55 GB, free: 10.79 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.5994, allocations: 411.2 kB / 1.55 GB, free: 10.39 MB / 1.248 GB Notification: Performance of SimCode: time 1.272e-06/0.5994, allocations: 0 / 1.55 GB, free: 10.39 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0784/0.6778, allocations: 21.6 MB / 1.571 GB, free: 4.988 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.04, allocations: 9.25 kB / 1.571 GB, free: 4.984 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 25.71742329094559]