Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.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.0009216/0.0009216, 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.0009577/0.0009577, allocations: 165 kB / 23.02 MB, free: 1.547 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.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.383 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.133/2.133, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 4.812 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.522e-05, allocations: 5.828 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003415/0.00343, allocations: 3.525 MB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.005135, allocations: 1.346 MB / 0.8829 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.005389, allocations: 39.19 kB / 0.8829 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.005646, allocations: 134.5 kB / 0.8831 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.006039, allocations: 180.1 kB / 0.8832 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.006714, allocations: 0.5655 MB / 0.8838 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006827/0.007396, allocations: 0.9796 MB / 0.8847 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.007707, allocations: 230.2 kB / 0.885 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.00812, allocations: 0.5065 MB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.008353, allocations: 260 kB / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.485e-05/0.008438, allocations: 80 kB / 0.8858 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.008506, allocations: 80.75 kB / 0.8858 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.008607, allocations: 191.2 kB / 0.886 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.008766, allocations: 235.8 kB / 0.8863 GB, free: 14 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.009242, allocations: 0.5874 MB / 0.8868 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.009244, allocations: 8 kB / 0.8868 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.71e-07/0.009245, allocations: 0 / 0.8868 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.009251, allocations: 0 / 0.8868 GB, free: 13.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001201/0.01045, allocations: 1.2 MB / 0.888 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01049, allocations: 12.03 kB / 0.888 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.01063, allocations: 136.3 kB / 0.8881 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.01125, allocations: 0.5923 MB / 0.8887 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.01134, allocations: 148.4 kB / 0.8889 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.01141, allocations: 64.38 kB / 0.8889 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.01202, allocations: 0.6514 MB / 0.8896 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.01203, allocations: 4.125 kB / 0.8896 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.01207, allocations: 28.12 kB / 0.8896 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.01208, allocations: 12 kB / 0.8896 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.01239, allocations: 205.7 kB / 0.8898 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.01398, allocations: 2.183 MB / 0.8919 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.01444, allocations: 273.6 kB / 0.8922 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.01459, allocations: 110.2 kB / 0.8923 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.01463, allocations: 8 kB / 0.8923 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.0149, allocations: 227.3 kB / 0.8925 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 1.954e-06/0.0149, allocations: 4 kB / 0.8925 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.0005491/0.01545, allocations: 389 kB / 0.8929 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.0155, allocations: 114.6 kB / 0.893 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.01592, allocations: 0.5739 MB / 0.8936 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.01595, allocations: 37.7 kB / 0.8936 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.01616, allocations: 415.8 kB / 0.894 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.381e-05/0.01625, allocations: 158.6 kB / 0.8942 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.01635, allocations: 104 kB / 0.8943 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.0165, allocations: 0.5469 MB / 0.8948 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.01666, allocations: 108 kB / 0.8949 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.01688, allocations: 304 kB / 0.8952 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.01721, allocations: 322.1 kB / 0.8955 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.01722, allocations: 0 / 0.8955 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005264/0.01774, allocations: 460.3 kB / 0.8959 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.01777, allocations: 41.62 kB / 0.896 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01778, allocations: 4 kB / 0.896 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.0178, allocations: 4.312 kB / 0.896 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.01807, allocations: 107.8 kB / 0.8961 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.01808, allocations: 8 kB / 0.8961 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.01826, allocations: 59.59 kB / 0.8961 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.01828, allocations: 20 kB / 0.8962 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002245/0.0185, allocations: 233.8 kB / 0.8964 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002278/0.01873, allocations: 292 kB / 0.8967 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003223/0.01905, allocations: 318.1 kB / 0.897 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.01906, allocations: 4 kB / 0.897 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0004914/0.01955, allocations: 464.3 kB / 0.8974 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.01957, allocations: 33.7 kB / 0.8974 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-06/0.01957, allocations: 0 / 0.8974 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.01958, allocations: 11.94 kB / 0.8975 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.01981, allocations: 99.83 kB / 0.8976 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01982, allocations: 7.984 kB / 0.8976 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.01999, allocations: 56.03 kB / 0.8976 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.02001, allocations: 16 kB / 0.8976 GB, free: 1.629 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001417/0.02015, allocations: 303.9 kB / 0.8979 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.02023, allocations: 83.58 kB / 0.898 GB, free: 1.242 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.61e-05/0.02032, allocations: 82.69 kB / 0.8981 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.02032, allocations: 4 kB / 0.8981 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.02033, allocations: 0 / 0.8981 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.02033, allocations: 3.984 kB / 0.8981 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.02071, allocations: 436.2 kB / 0.8985 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.02071, allocations: 4 kB / 0.8985 GB, free: 0.6875 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.02093, allocations: 75.89 kB / 0.8986 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.02093, allocations: 7.938 kB / 0.8986 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.02095, allocations: 8 kB / 0.8986 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.02095, allocations: 7.938 kB / 0.8986 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02095, allocations: 0 / 0.8986 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.02151, allocations: 458.2 kB / 0.899 GB, free: 120 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.02166, allocations: 115.3 kB / 0.8991 GB, free: 4 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.02171, allocations: 12.06 kB / 0.8992 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.02187, allocations: 31.92 kB / 0.8992 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.02194, allocations: 35.94 kB / 0.8992 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.02196, allocations: 11.98 kB / 0.8992 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002786/0.02224, allocations: 391 kB / 0.8996 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.02224, allocations: 0 / 0.8996 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003702/0.02261, allocations: 223.4 kB / 0.8998 GB, free: 15.31 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.896e-05/0.0227, allocations: 107.2 kB / 0.8999 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006099/0.02331, allocations: 0.5833 MB / 0.9005 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.02331, allocations: 0 / 0.9005 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.02347, allocations: 125.1 kB / 0.9006 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.02396, allocations: 221 kB / 0.9008 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.02515, allocations: 1.1 MB / 0.9019 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.985e-05/0.02522, allocations: 142.5 kB / 0.902 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.02543, allocations: 96.94 kB / 0.9021 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.02554, allocations: 44.5 kB / 0.9022 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of SimCode: time 6.92e-07/0.02554, allocations: 4 kB / 0.9022 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.009745/0.03529, allocations: 8.034 MB / 0.91 GB, free: 4.945 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPID.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.50470032915473]