Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.771/2.771, allocations: 495.7 MB / 0.7831 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 65.14 kB / 1.137 GB, free: 33.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2874, allocations: 173.6 MB / 1.307 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003713/0.2911, allocations: 2.659 MB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2925, allocations: 0.9119 MB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2927, allocations: 19.88 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2928, allocations: 63.39 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.293, allocations: 63.36 kB / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.2934, allocations: 235.6 kB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.2938, allocations: 459.7 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.2941, allocations: 149.7 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.2942, allocations: 155.3 kB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.2944, allocations: 151.2 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.2944, allocations: 51.94 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.328e-05/0.2945, allocations: 52 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.2946, allocations: 83.72 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.2947, allocations: 195 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.2953, allocations: 0.615 MB / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2953, allocations: 0 / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2953, allocations: 3.938 kB / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.2953, allocations: 0 / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008442/0.2961, allocations: 0.5868 MB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2962, allocations: 8.031 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.2962, allocations: 48.66 kB / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.2967, allocations: 334.3 kB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.2967, allocations: 21.03 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.2968, allocations: 24.38 kB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.2973, allocations: 335.1 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2974, allocations: 4 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.2974, allocations: 12 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2974, allocations: 4 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.2978, allocations: 234.5 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.2993, allocations: 1.125 MB / 1.315 GB, free: 9.273 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.2997, allocations: 226.8 kB / 1.315 GB, free: 9.043 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.2999, allocations: 96.83 kB / 1.316 GB, free: 8.945 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2999, allocations: 0 / 1.316 GB, free: 8.945 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2999, allocations: 34.56 kB / 1.316 GB, free: 8.902 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 8.32e-07/0.2999, allocations: 0 / 1.316 GB, free: 8.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0006382/0.3006, allocations: 311.6 kB / 1.316 GB, free: 8.594 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.3006, allocations: 81.11 kB / 1.316 GB, free: 8.496 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.301, allocations: 332.5 kB / 1.316 GB, free: 8.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.301, allocations: 25.7 kB / 1.316 GB, free: 8.129 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.3011, allocations: 196.4 kB / 1.317 GB, free: 7.934 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.3012, allocations: 55.55 kB / 1.317 GB, free: 7.879 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.3013, allocations: 45.7 kB / 1.317 GB, free: 7.828 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3014, allocations: 338.8 kB / 1.317 GB, free: 7.488 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.3016, allocations: 88.83 kB / 1.317 GB, free: 7.398 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.3018, allocations: 118 kB / 1.317 GB, free: 7.273 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.3021, allocations: 196.3 kB / 1.317 GB, free: 7.074 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3021, allocations: 0 / 1.317 GB, free: 7.074 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004423/0.3026, allocations: 259.9 kB / 1.318 GB, free: 6.816 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3026, allocations: 4 kB / 1.318 GB, free: 6.812 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3026, allocations: 8.062 kB / 1.318 GB, free: 6.805 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3026, allocations: 0 / 1.318 GB, free: 6.805 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.3028, allocations: 35.86 kB / 1.318 GB, free: 6.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3028, allocations: 7.938 kB / 1.318 GB, free: 6.762 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.3029, allocations: 27.81 kB / 1.318 GB, free: 6.734 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3029, allocations: 4 kB / 1.318 GB, free: 6.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002312/0.3032, allocations: 192.1 kB / 1.318 GB, free: 6.539 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001516/0.3033, allocations: 103.4 kB / 1.318 GB, free: 6.426 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002565/0.3036, allocations: 166.5 kB / 1.318 GB, free: 6.254 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.3036, allocations: 0 / 1.318 GB, free: 6.254 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003495/0.3039, allocations: 230.8 kB / 1.318 GB, free: 6.023 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.3039, allocations: 8 kB / 1.318 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.3039, allocations: 8.078 kB / 1.318 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-06/0.3039, allocations: 0 / 1.318 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.304, allocations: 24 kB / 1.318 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3041, allocations: 3.938 kB / 1.318 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3042, allocations: 23.88 kB / 1.318 GB, free: 5.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3042, allocations: 7.938 kB / 1.318 GB, free: 5.949 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001151/0.3043, allocations: 188.2 kB / 1.319 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.3043, allocations: 27.81 kB / 1.319 GB, free: 5.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/0.3044, allocations: 39.22 kB / 1.319 GB, free: 5.688 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3044, allocations: 7.984 kB / 1.319 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3044, allocations: 0 / 1.319 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3044, allocations: 7.938 kB / 1.319 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.3048, allocations: 380.4 kB / 1.319 GB, free: 5.258 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3048, allocations: 0 / 1.319 GB, free: 5.258 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.305, allocations: 31.92 kB / 1.319 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.305, allocations: 7.984 kB / 1.319 GB, free: 5.219 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.305, allocations: 0 / 1.319 GB, free: 5.219 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.305, allocations: 0 / 1.319 GB, free: 5.219 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.305, allocations: 0 / 1.319 GB, free: 5.219 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.3057, allocations: 431.2 kB / 1.319 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.3058, allocations: 59.75 kB / 1.32 GB, free: 4.723 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.3058, allocations: 4 kB / 1.32 GB, free: 4.719 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3059, allocations: 15.98 kB / 1.32 GB, free: 4.703 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.306, allocations: 15.98 kB / 1.32 GB, free: 4.688 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.306, allocations: 7.938 kB / 1.32 GB, free: 4.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002196/0.3062, allocations: 235.1 kB / 1.32 GB, free: 4.449 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3062, allocations: 3.938 kB / 1.32 GB, free: 4.445 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003586/0.3066, allocations: 91.73 kB / 1.32 GB, free: 4.355 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.968e-05/0.3067, allocations: 98.44 kB / 1.32 GB, free: 4.254 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005671/0.3072, allocations: 278 kB / 1.32 GB, free: 3.984 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3072, allocations: 4 kB / 1.32 GB, free: 3.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.3074, allocations: 87.91 kB / 1.32 GB, free: 3.895 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.3079, allocations: 100.1 kB / 1.32 GB, free: 3.809 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/0.3089, allocations: 0.5543 MB / 1.321 GB, free: 3.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3093, allocations: 0.783 MB / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.3094, allocations: 26.28 kB / 1.322 GB, free: 2.395 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.3094, allocations: 23.44 kB / 1.322 GB, free: 2.371 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3094, allocations: 4 kB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of Templates: time 0.006787/0.3162, allocations: 3.303 MB / 1.325 GB, free: 15.09 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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: 7.609256748110056]