Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.0009905/0.0009905, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009247/0.0009247, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.953/0.953, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.916/1.916, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.943e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002538/0.002567, allocations: 1.932 MB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.004651, allocations: 1.778 MB / 0.7789 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.004852, allocations: 14.69 kB / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.005057, allocations: 90.98 kB / 0.779 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.005325, allocations: 106.5 kB / 0.7791 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.005893, allocations: 411.1 kB / 0.7795 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008878/0.006781, allocations: 0.7933 MB / 0.7802 GB, free: 240 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.007253, allocations: 254.2 kB / 0.7805 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006055/0.007859, allocations: 455.1 kB / 0.7809 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.008219, allocations: 239.9 kB / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.008335, allocations: 88.69 kB / 0.7812 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.008486, allocations: 104 kB / 0.7813 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.008594, allocations: 156 kB / 0.7815 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.008782, allocations: 236 kB / 0.7817 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007174/0.009499, allocations: 0.5448 MB / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.009506, allocations: 1.5 kB / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/0.009508, allocations: 0 / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.009523, allocations: 0 / 0.7822 GB, free: 14.18 MB / 0.7448 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.001144/0.01067, allocations: 0.8738 MB / 0.7831 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.0107, allocations: 9.344 kB / 0.7831 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.01081, allocations: 94.23 kB / 0.7832 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.01118, allocations: 288.5 kB / 0.7834 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.01122, allocations: 54.73 kB / 0.7835 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.01129, allocations: 68.33 kB / 0.7836 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.01168, allocations: 435.5 kB / 0.784 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.01169, allocations: 1 kB / 0.784 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.01171, allocations: 24.36 kB / 0.784 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.01172, allocations: 13.66 kB / 0.784 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.01188, allocations: 133 kB / 0.7841 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.01313, allocations: 1.007 MB / 0.7851 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.01342, allocations: 266.1 kB / 0.7854 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.01352, allocations: 99.53 kB / 0.7855 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.01355, allocations: 16.48 kB / 0.7855 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.01374, allocations: 186.8 kB / 0.7857 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=53): time 1.933e-06/0.01374, allocations: 1.312 kB / 0.7857 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=53): time 0.0003358/0.01407, allocations: 278 kB / 0.7859 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.01413, allocations: 115.3 kB / 0.786 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.01431, allocations: 308.8 kB / 0.7863 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.01435, allocations: 41.7 kB / 0.7864 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01446, allocations: 230.2 kB / 0.7866 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.01455, allocations: 182.4 kB / 0.7868 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.01466, allocations: 114.6 kB / 0.7869 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.01476, allocations: 362.7 kB / 0.7872 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.01493, allocations: 147.7 kB / 0.7874 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.01512, allocations: 349.9 kB / 0.7877 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.01536, allocations: 292.4 kB / 0.788 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01537, allocations: 1.062 kB / 0.788 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003853/0.01575, allocations: 445.5 kB / 0.7884 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.0158, allocations: 76.11 kB / 0.7885 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.0158, allocations: 0 / 0.7885 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.01582, allocations: 4.531 kB / 0.7885 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.01602, allocations: 92.55 kB / 0.7886 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01603, allocations: 9.719 kB / 0.7886 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.01622, allocations: 75.69 kB / 0.7887 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.01625, allocations: 23.23 kB / 0.7887 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001782/0.01643, allocations: 236.6 kB / 0.7889 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001771/0.0166, allocations: 338 kB / 0.7892 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002932/0.0169, allocations: 302.5 kB / 0.7895 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.0169, allocations: 3.031 kB / 0.7895 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0003749/0.01728, allocations: 437.2 kB / 0.7899 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.01731, allocations: 74.14 kB / 0.79 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.01732, allocations: 4 kB / 0.79 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.01732, allocations: 4 kB / 0.79 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.0175, allocations: 89.33 kB / 0.7901 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.0175, allocations: 4 kB / 0.7901 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.01769, allocations: 76.86 kB / 0.7902 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.01772, allocations: 19.98 kB / 0.7902 GB, free: 5.504 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0001225/0.01784, allocations: 215.8 kB / 0.7904 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.01788, allocations: 51.89 kB / 0.7904 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.01814, allocations: 241 kB / 0.7907 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.01815, allocations: 8 kB / 0.7907 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01815, allocations: 0 / 0.7907 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.01816, allocations: 5.016 kB / 0.7907 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007415/0.0189, allocations: 0.6521 MB / 0.7913 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.0189, allocations: 192 / 0.7913 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.01909, allocations: 83.89 kB / 0.7914 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.01909, allocations: 5.375 kB / 0.7914 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.01911, allocations: 11.98 kB / 0.7914 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.01911, allocations: 7.984 kB / 0.7914 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01912, allocations: 5.438 kB / 0.7914 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.01947, allocations: 458.8 kB / 0.7919 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.01951, allocations: 47.59 kB / 0.7919 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.01954, allocations: 16.89 kB / 0.7919 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.01964, allocations: 23.92 kB / 0.792 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.01969, allocations: 41.28 kB / 0.792 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.0197, allocations: 12 kB / 0.792 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.362e-05/0.0198, allocations: 121.4 kB / 0.7921 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0198, allocations: 0 / 0.7921 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003996/0.0202, allocations: 248.6 kB / 0.7924 GB, free: 3.203 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * 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 0.0001573/0.02035, allocations: 106.7 kB / 0.7925 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006087/0.02096, allocations: 0.7828 MB / 0.7932 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.02097, allocations: 6.938 kB / 0.7932 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.02109, allocations: 128.6 kB / 0.7934 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.02143, allocations: 102.7 kB / 0.7935 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.02251, allocations: 0.8967 MB / 0.7943 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.02262, allocations: 126.3 kB / 0.7945 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.02278, allocations: 49.19 kB / 0.7945 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.02302, allocations: 161 kB / 0.7947 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.02302, allocations: 0 / 0.7947 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of Templates: time 0.01135/0.03436, allocations: 8.433 MB / 0.8029 GB, free: 8.562 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.129841406829655]