Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.0009737/0.0009737, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001108/0.001108, allocations: 169 kB / 23.02 MB, free: 1.543 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.9596/0.9596, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 1.978/1.978, allocations: 429.5 MB / 0.6732 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.031e-05, allocations: 6.125 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006608/0.006638, allocations: 4.583 MB / 0.8826 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1228/0.1294, allocations: 146.6 MB / 1.026 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007632/0.1302, allocations: 27.75 kB / 1.026 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.1307, allocations: 194.2 kB / 1.026 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.1323, allocations: 0.5707 MB / 1.026 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1339, allocations: 0.8881 MB / 1.027 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.1354, allocations: 1.482 MB / 1.029 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.1359, allocations: 350.1 kB / 1.029 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009462/0.1368, allocations: 0.7639 MB / 1.03 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.1373, allocations: 370.9 kB / 1.03 GB, free: 10 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.1375, allocations: 108 kB / 1.03 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.1388, allocations: 0.8189 MB / 1.031 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.139, allocations: 283 kB / 1.031 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.1393, allocations: 355.1 kB / 1.032 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.1414, allocations: 1.448 MB / 1.033 GB, free: 7 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1414, allocations: 7.922 kB / 1.033 GB, free: 6.992 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1414, allocations: 0 / 1.033 GB, free: 6.992 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.1414, allocations: 0 / 1.033 GB, free: 6.992 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001925/0.1433, allocations: 1.542 MB / 1.035 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1434, allocations: 8.031 kB / 1.035 GB, free: 5.402 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.1444, allocations: 339.6 kB / 1.035 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008343/0.1453, allocations: 0.7306 MB / 1.036 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.1453, allocations: 66.12 kB / 1.036 GB, free: 4.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.1454, allocations: 80 kB / 1.036 GB, free: 4.172 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009799/0.1464, allocations: 0.9201 MB / 1.037 GB, free: 3.148 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1464, allocations: 3.938 kB / 1.037 GB, free: 3.145 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.1464, allocations: 36 kB / 1.037 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.1465, allocations: 16 kB / 1.037 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008405/0.1473, allocations: 0.7919 MB / 1.038 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.1497, allocations: 2.34 MB / 1.04 GB, free: 15.89 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008077/0.1505, allocations: 0.5174 MB / 1.04 GB, free: 15.37 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.1508, allocations: 198.4 kB / 1.041 GB, free: 15.17 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.1509, allocations: 36.97 kB / 1.041 GB, free: 15.14 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004987/0.1514, allocations: 0.5084 MB / 1.041 GB, free: 14.58 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.936e-06/0.1514, allocations: 0 / 1.041 GB, free: 14.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.00165/0.153, allocations: 0.8821 MB / 1.042 GB, free: 13.69 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.1531, allocations: 200.9 kB / 1.042 GB, free: 13.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.1536, allocations: 0.601 MB / 1.043 GB, free: 12.84 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.1536, allocations: 49.7 kB / 1.043 GB, free: 12.78 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.1538, allocations: 440 kB / 1.043 GB, free: 12.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.154, allocations: 297.5 kB / 1.043 GB, free: 12.05 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.1542, allocations: 196.2 kB / 1.044 GB, free: 11.85 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1543, allocations: 0.5664 MB / 1.044 GB, free: 11.27 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.1546, allocations: 153.9 kB / 1.044 GB, free: 11.12 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.1549, allocations: 401.5 kB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.1555, allocations: 418.8 kB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1555, allocations: 0 / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001059/0.1565, allocations: 0.7229 MB / 1.046 GB, free: 9.516 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1565, allocations: 4 kB / 1.046 GB, free: 9.512 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1565, allocations: 4 kB / 1.046 GB, free: 9.508 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/0.157, allocations: 127.7 kB / 1.046 GB, free: 9.379 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.1574, allocations: 183.8 kB / 1.046 GB, free: 9.199 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.1588, allocations: 1.909 MB / 1.048 GB, free: 7.164 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.1592, allocations: 87.48 kB / 1.048 GB, free: 7.078 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.1593, allocations: 39.97 kB / 1.048 GB, free: 7.039 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.k,$PRE.weaDatInpCon.decAng.k,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.k,$PRE.weaDatInpCon.eqnTim.k,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.k,$PRE.weaDatInpCon.conTim.k,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.k,$PRE.weaDatInpCon.conTimMin.k,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.k,$PRE.weaDatInpCon.locTim.k,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.1595, allocations: 220.6 kB / 1.048 GB, free: 6.812 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.1597, allocations: 127.4 kB / 1.048 GB, free: 6.688 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.1611, allocations: 0.9439 MB / 1.049 GB, free: 5.723 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.1611, allocations: 12 kB / 1.049 GB, free: 5.711 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1611, allocations: 0 / 1.049 GB, free: 5.711 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.1611, allocations: 7.969 kB / 1.049 GB, free: 5.703 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.163, allocations: 1.675 MB / 1.051 GB, free: 3.969 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.163, allocations: 0 / 1.051 GB, free: 3.969 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.1633, allocations: 155.8 kB / 1.051 GB, free: 3.816 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003418/0.1637, allocations: 123.6 kB / 1.051 GB, free: 3.691 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.1637, allocations: 27.97 kB / 1.051 GB, free: 3.664 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.1648, allocations: 1.925 MB / 1.053 GB, free: 1.613 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1648, allocations: 0 / 1.053 GB, free: 1.613 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1659, allocations: 0.9195 MB / 1.054 GB, free: 0.668 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.1661, allocations: 207.1 kB / 1.054 GB, free: 476 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.1662, allocations: 28.06 kB / 1.054 GB, free: 448 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.1664, allocations: 39.95 kB / 1.054 GB, free: 408 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.1666, allocations: 76.86 kB / 1.054 GB, free: 332 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.1666, allocations: 39.97 kB / 1.055 GB, free: 292 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.4317/0.5983, allocations: 399.6 kB / 1.055 GB, free: 73.51 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5983, allocations: 0 / 1.055 GB, free: 73.51 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001031/0.5994, allocations: 348.9 kB / 1.055 GB, free: 73.51 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.k,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.k,weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.k,weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.k,weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.k) * Number of discrete states: 10 (weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.locTim.tNext,weaDatInpCon.decAng.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.decAng.k,weaDatInpCon.eqnTim.k,weaDatInpCon.conTim.k,weaDatInpCon.conTimMin.k,weaDatInpCon.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/0.6008, allocations: 0.647 MB / 1.056 GB, free: 73.38 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.602, allocations: 0.702 MB / 1.057 GB, free: 73.19 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.602, allocations: 0.6562 kB / 1.057 GB, free: 73.19 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000597/0.6026, allocations: 0.4997 MB / 1.057 GB, free: 73.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.6037, allocations: 340.8 kB / 1.057 GB, free: 73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.606, allocations: 1.523 MB / 1.059 GB, free: 72.32 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.6061, allocations: 198.6 kB / 1.059 GB, free: 72.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005752/0.6067, allocations: 268.9 kB / 1.059 GB, free: 72.22 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.6069, allocations: 125.3 kB / 1.059 GB, free: 72.22 MB / 1.01 GB Notification: Performance of SimCode: time 1.643e-06/0.6069, allocations: 0 / 1.059 GB, free: 72.22 MB / 1.01 GB Notification: Performance of Templates: time 0.0203/0.6272, allocations: 17.59 MB / 1.077 GB, free: 70.51 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.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: 6.233240700792521]