Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.000977/0.000977, allocations: 93.06 kB / 19.65 MB, free: 280 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.001009/0.001009, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.052/1.052, 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 2.183/2.183, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.085e-06/3.085e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.752e-05, allocations: 3.562 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002354/0.002392, allocations: 0.7941 MB / 0.879 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.004291, allocations: 1.278 MB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.004368, allocations: 5.094 kB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.432e-05/0.004422, allocations: 16.45 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.004523, allocations: 23.88 kB / 0.8803 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.005285, allocations: 239.4 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.005622, allocations: 259.5 kB / 0.8807 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.005792, allocations: 29.3 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.006018, allocations: 151.8 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.006202, allocations: 79.8 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.006253, allocations: 25.81 kB / 0.881 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.006353, allocations: 32 kB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.006399, allocations: 31.89 kB / 0.8811 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.006506, allocations: 79.86 kB / 0.8811 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.006842, allocations: 204.4 kB / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.006845, allocations: 0 / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/0.006847, allocations: 0 / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.006852, allocations: 1.594 kB / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007278/0.007579, allocations: 0.5189 MB / 0.8818 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.007639, allocations: 8.031 kB / 0.8819 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.007749, allocations: 28.84 kB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.008339, allocations: 183 kB / 0.8821 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.008373, allocations: 12.38 kB / 0.8821 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.008425, allocations: 20.38 kB / 0.8821 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.008648, allocations: 94.19 kB / 0.8822 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.008663, allocations: 192 / 0.8822 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.008682, allocations: 4.375 kB / 0.8822 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.008699, allocations: 18.11 kB / 0.8822 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.008803, allocations: 43.91 kB / 0.8822 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007785/0.009581, allocations: 435.2 kB / 0.8827 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.009846, allocations: 111.8 kB / 0.8828 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.009993, allocations: 49.38 kB / 0.8828 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.01001, allocations: 4 kB / 0.8828 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.0103, allocations: 166 kB / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 2.555e-06/0.0103, allocations: 0 / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32): time 0.0006089/0.01091, allocations: 302.8 kB / 0.8833 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.01097, allocations: 71.39 kB / 0.8833 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.01115, allocations: 209.8 kB / 0.8835 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.0112, allocations: 33.7 kB / 0.8836 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01131, allocations: 155.7 kB / 0.8837 GB, free: 468 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.01138, allocations: 79.44 kB / 0.8838 GB, free: 388 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.01155, allocations: 99.7 kB / 0.8839 GB, free: 276 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.01174, allocations: 0.5039 MB / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.01198, allocations: 144.2 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.01233, allocations: 233.2 kB / 0.8847 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.01273, allocations: 275.3 kB / 0.885 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.01274, allocations: 4 kB / 0.885 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000647/0.01339, allocations: 469.6 kB / 0.8854 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.01344, allocations: 67.39 kB / 0.8855 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.01345, allocations: 12.19 kB / 0.8855 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.01347, allocations: 0 / 0.8855 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.644e-05/0.01351, allocations: 15.94 kB / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.01352, allocations: 7.984 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.01373, allocations: 51.81 kB / 0.8856 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.01375, allocations: 23.98 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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.0001208/0.01387, allocations: 196.5 kB / 0.8858 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.0139, allocations: 31.89 kB / 0.8858 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.01395, allocations: 17.97 kB / 0.8859 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01395, allocations: 7.938 kB / 0.8859 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.01396, allocations: 0 / 0.8859 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01397, allocations: 7.938 kB / 0.8859 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.01454, allocations: 0.5844 MB / 0.8864 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01454, allocations: 0 / 0.8864 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.01455, allocations: 12 kB / 0.8864 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01455, allocations: 0 / 0.8864 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01457, allocations: 15.92 kB / 0.8865 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01457, allocations: 3.938 kB / 0.8865 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01457, allocations: 0 / 0.8865 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.01482, allocations: 384.8 kB / 0.8868 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.01483, allocations: 23.83 kB / 0.8869 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.01485, allocations: 7.938 kB / 0.8869 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.01489, allocations: 8 kB / 0.8869 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.01494, allocations: 23.95 kB / 0.8869 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.01496, allocations: 8 kB / 0.8869 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.01502, allocations: 145.4 kB / 0.887 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01502, allocations: 0 / 0.887 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002103/0.01523, allocations: 67.94 kB / 0.8871 GB, free: 12.74 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001653/0.01539, allocations: 109.2 kB / 0.8872 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003545/0.01575, allocations: 411.5 kB / 0.8876 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01575, allocations: 0 / 0.8876 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.01583, allocations: 96.41 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.01607, allocations: 31.92 kB / 0.8877 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.01651, allocations: 323.9 kB / 0.888 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.01655, allocations: 72.95 kB / 0.8881 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.574e-05/0.01659, allocations: 26.28 kB / 0.8881 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.01663, allocations: 20.5 kB / 0.8881 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.01663, allocations: 4 kB / 0.8882 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.004799/0.02143, allocations: 2.879 MB / 0.891 GB, free: 8.746 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.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.778465569019318]