Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Density.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.0008427/0.0008427, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0009538/0.0009538, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8663/0.8663, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.657/1.657, allocations: 377.9 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Density") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.064e-05, allocations: 9.797 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6507/0.6507, allocations: 163.5 MB / 1.142 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007664/0.6584, allocations: 6.46 MB / 1.148 GB, free: 14.33 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006349/0.659, allocations: 37.38 kB / 1.148 GB, free: 14.31 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009912/0.66, allocations: 402.5 kB / 1.149 GB, free: 14.08 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0028/0.6628, allocations: 1.529 MB / 1.15 GB, free: 13.25 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.6651, allocations: 1.236 MB / 1.151 GB, free: 12.62 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001955/0.667, allocations: 1.991 MB / 1.153 GB, free: 11.68 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/0.6676, allocations: 0.4957 MB / 1.154 GB, free: 11.45 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.6695, allocations: 1.32 MB / 1.155 GB, free: 10.86 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.6705, allocations: 0.5516 MB / 1.156 GB, free: 10.68 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.769e-05/0.6706, allocations: 68.16 kB / 1.156 GB, free: 10.68 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.6732, allocations: 1.586 MB / 1.157 GB, free: 10.11 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.6736, allocations: 316.6 kB / 1.157 GB, free: 9.965 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.6739, allocations: 303.5 kB / 1.158 GB, free: 9.848 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.6761, allocations: 1.801 MB / 1.16 GB, free: 9.242 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6761, allocations: 0 / 1.16 GB, free: 9.242 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6761, allocations: 1.625 kB / 1.16 GB, free: 9.242 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.6761, allocations: 0 / 1.16 GB, free: 9.242 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00142/0.6775, allocations: 1.112 MB / 1.161 GB, free: 8.48 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6776, allocations: 9.219 kB / 1.161 GB, free: 8.48 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.6786, allocations: 275.9 kB / 1.161 GB, free: 8.418 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/0.6795, allocations: 0.5658 MB / 1.161 GB, free: 8.059 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.6795, allocations: 39.66 kB / 1.161 GB, free: 8.043 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.188e-05/0.6796, allocations: 57.75 kB / 1.162 GB, free: 8.023 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/0.6805, allocations: 0.7355 MB / 1.162 GB, free: 7.633 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.6805, allocations: 0 / 1.162 GB, free: 7.633 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.6805, allocations: 21.36 kB / 1.162 GB, free: 7.617 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.6806, allocations: 20.56 kB / 1.162 GB, free: 7.613 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.6813, allocations: 0.5208 MB / 1.163 GB, free: 7.445 MB / 1.01 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.001933/0.6832, allocations: 1.534 MB / 1.164 GB, free: 6.578 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.6837, allocations: 352.5 kB / 1.165 GB, free: 6.434 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.684, allocations: 224.2 kB / 1.165 GB, free: 6.355 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.6842, allocations: 77.27 kB / 1.165 GB, free: 6.348 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.6842, allocations: 40.09 kB / 1.165 GB, free: 6.305 MB / 1.01 GB Notification: Performance of pre-optimization done (n=39): time 2.715e-06/0.6842, allocations: 0 / 1.165 GB, free: 6.305 MB / 1.01 GB Notification: Performance of matching and sorting (n=39): time 0.0009486/0.6852, allocations: 0.6125 MB / 1.166 GB, free: 6.07 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.6852, allocations: 64.84 kB / 1.166 GB, free: 6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.6857, allocations: 463.5 kB / 1.166 GB, free: 5.785 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.6857, allocations: 32.36 kB / 1.166 GB, free: 5.75 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.6859, allocations: 340.4 kB / 1.166 GB, free: 5.48 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.686, allocations: 142.3 kB / 1.167 GB, free: 5.367 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.6861, allocations: 90.75 kB / 1.167 GB, free: 5.316 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6863, allocations: 361.6 kB / 1.167 GB, free: 4.984 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.6865, allocations: 179.2 kB / 1.167 GB, free: 4.918 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.6869, allocations: 443.8 kB / 1.168 GB, free: 4.555 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/0.6874, allocations: 454 kB / 1.168 GB, free: 4.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.6874, allocations: 4.969 kB / 1.168 GB, free: 4.316 MB / 1.01 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006525/0.6881, allocations: 0.5254 MB / 1.169 GB, free: 4.098 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.6881, allocations: 6.797 kB / 1.169 GB, free: 4.098 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6881, allocations: 2.375 kB / 1.169 GB, free: 4.098 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6881, allocations: 8.719 kB / 1.169 GB, free: 4.094 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.6885, allocations: 134.5 kB / 1.169 GB, free: 4.082 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003138/0.6889, allocations: 0.5939 MB / 1.169 GB, free: 3.488 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.6891, allocations: 48.03 kB / 1.169 GB, free: 3.461 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.6891, allocations: 18.67 kB / 1.169 GB, free: 3.457 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003949/0.6895, allocations: 358.9 kB / 1.17 GB, free: 3.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003482/0.6899, allocations: 436.9 kB / 1.17 GB, free: 2.914 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005259/0.6904, allocations: 452.7 kB / 1.171 GB, free: 2.672 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.552e-06/0.6904, allocations: 0 / 1.171 GB, free: 2.672 MB / 1.01 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0006499/0.6911, allocations: 0.5213 MB / 1.171 GB, free: 2.453 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.6911, allocations: 12.88 kB / 1.171 GB, free: 2.449 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6911, allocations: 3.031 kB / 1.171 GB, free: 2.449 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/0.6911, allocations: 4.391 kB / 1.171 GB, free: 2.449 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.6914, allocations: 118.7 kB / 1.171 GB, free: 2.438 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.6914, allocations: 5.234 kB / 1.171 GB, free: 2.438 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.6916, allocations: 44.28 kB / 1.171 GB, free: 2.414 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.6916, allocations: 22.12 kB / 1.171 GB, free: 2.406 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.6918, allocations: 208.5 kB / 1.171 GB, free: 2.203 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.6918, allocations: 60.36 kB / 1.171 GB, free: 2.172 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006382/0.6925, allocations: 476.7 kB / 1.172 GB, free: 1.969 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.6925, allocations: 3.469 kB / 1.172 GB, free: 1.969 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6925, allocations: 0 / 1.172 GB, free: 1.969 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006186/0.6931, allocations: 0.7143 MB / 1.173 GB, free: 1.402 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.6944, allocations: 1.107 MB / 1.174 GB, free: 0.7969 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6944, allocations: 6.188 kB / 1.174 GB, free: 0.7969 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.6948, allocations: 136.9 kB / 1.174 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.6948, allocations: 3.812 kB / 1.174 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.6948, allocations: 9.25 kB / 1.174 GB, free: 0.7695 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002166/0.695, allocations: 0.5957 MB / 1.174 GB, free: 176 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.695, allocations: 3.75 kB / 1.174 GB, free: 176 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.6958, allocations: 0.7976 MB / 1.175 GB, free: 15.73 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.696, allocations: 101.6 kB / 1.175 GB, free: 15.68 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.6961, allocations: 9.125 kB / 1.175 GB, free: 15.68 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.6963, allocations: 21.56 kB / 1.175 GB, free: 15.67 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.6963, allocations: 35.81 kB / 1.175 GB, free: 15.66 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.6963, allocations: 16.14 kB / 1.175 GB, free: 15.66 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.00029/0.6966, allocations: 319.9 kB / 1.176 GB, free: 15.51 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.6966, allocations: 0 / 1.176 GB, free: 15.51 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0009523/0.6976, allocations: 374 kB / 1.176 GB, free: 15.43 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003923/0.698, allocations: 201 kB / 1.176 GB, free: 15.3 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.699, allocations: 0.6241 MB / 1.177 GB, free: 15.11 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.699, allocations: 5.281 kB / 1.177 GB, free: 15.11 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.6993, allocations: 210.4 kB / 1.177 GB, free: 15.05 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.7002, allocations: 327.6 kB / 1.177 GB, free: 14.96 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.702, allocations: 1.353 MB / 1.179 GB, free: 14.15 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.7023, allocations: 354.4 kB / 1.179 GB, free: 14.03 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.7024, allocations: 49.34 kB / 1.179 GB, free: 14.02 MB / 1.026 GB Notification: Performance of SimCode: time 7.62e-07/0.7024, allocations: 0 / 1.179 GB, free: 14.02 MB / 1.026 GB Notification: Performance of Templates: time 0.01168/0.7141, allocations: 13.11 MB / 1.192 GB, free: 9.949 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.780468925833702]