Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.001063/0.001063, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0009379/0.0009379, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9085/0.9085, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.788/1.788, allocations: 377.8 MB / 0.6228 GB, free: 8.625 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.298e-05, allocations: 14.16 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002942/0.002965, allocations: 2.627 MB / 0.9848 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.004363, allocations: 1.274 MB / 0.986 GB, free: 14.15 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.004445, allocations: 7.938 kB / 0.986 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.00494, allocations: 175.2 kB / 0.9862 GB, free: 13.97 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.005167, allocations: 183.1 kB / 0.9864 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.005374, allocations: 165.6 kB / 0.9865 GB, free: 13.63 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.00562, allocations: 279.1 kB / 0.9868 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.005851, allocations: 117.6 kB / 0.9869 GB, free: 13.24 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.006051, allocations: 159.6 kB / 0.987 GB, free: 13.09 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.006225, allocations: 119.6 kB / 0.9872 GB, free: 12.97 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.006248, allocations: 16 kB / 0.9872 GB, free: 12.95 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.006388, allocations: 135.6 kB / 0.9873 GB, free: 12.82 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.006464, allocations: 75.8 kB / 0.9874 GB, free: 12.75 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.006521, allocations: 63.83 kB / 0.9874 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.006805, allocations: 315 kB / 0.9877 GB, free: 12.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.006808, allocations: 7.984 kB / 0.9877 GB, free: 12.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006809, allocations: 0 / 0.9877 GB, free: 12.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.006814, allocations: 0 / 0.9877 GB, free: 12.37 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00054/0.007354, allocations: 429.5 kB / 0.9881 GB, free: 11.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.00739, allocations: 8.031 kB / 0.9882 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.007683, allocations: 72.72 kB / 0.9882 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.007886, allocations: 181.5 kB / 0.9884 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.007899, allocations: 8.656 kB / 0.9884 GB, free: 11.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.007919, allocations: 16.25 kB / 0.9884 GB, free: 11.61 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.008291, allocations: 376.3 kB / 0.9888 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.008301, allocations: 8.062 kB / 0.9888 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.008318, allocations: 4.375 kB / 0.9888 GB, free: 11.19 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.008351, allocations: 32.2 kB / 0.9888 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.008648, allocations: 256.6 kB / 0.9891 GB, free: 10.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.00955, allocations: 1.107 MB / 0.9902 GB, free: 9.75 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.009853, allocations: 241 kB / 0.9904 GB, free: 9.496 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.009986, allocations: 125.6 kB / 0.9905 GB, free: 9.367 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.01, allocations: 4 kB / 0.9905 GB, free: 9.363 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.01002, allocations: 30.56 kB / 0.9905 GB, free: 9.324 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.01002, allocations: 4 kB / 0.9905 GB, free: 9.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0006119/0.01063, allocations: 345.4 kB / 0.9909 GB, free: 8.977 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.01066, allocations: 77.11 kB / 0.9909 GB, free: 8.883 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.01078, allocations: 186.9 kB / 0.9911 GB, free: 8.691 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.01079, allocations: 25.7 kB / 0.9911 GB, free: 8.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.01086, allocations: 152.1 kB / 0.9913 GB, free: 8.508 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.01089, allocations: 51.53 kB / 0.9913 GB, free: 8.457 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.01095, allocations: 49.7 kB / 0.9914 GB, free: 8.402 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.01103, allocations: 322.8 kB / 0.9917 GB, free: 8.078 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.01117, allocations: 112.8 kB / 0.9918 GB, free: 7.965 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.01134, allocations: 199.2 kB / 0.992 GB, free: 7.738 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.01163, allocations: 290.7 kB / 0.9923 GB, free: 7.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01163, allocations: 0 / 0.9923 GB, free: 7.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003352/0.01196, allocations: 321.1 kB / 0.9926 GB, free: 7.109 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01198, allocations: 8 kB / 0.9926 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01198, allocations: 0 / 0.9926 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.012, allocations: 4 kB / 0.9926 GB, free: 7.098 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.01215, allocations: 64.16 kB / 0.9926 GB, free: 7.035 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.01216, allocations: 7.938 kB / 0.9927 GB, free: 7.027 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.01225, allocations: 31.81 kB / 0.9927 GB, free: 6.996 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.01226, allocations: 12 kB / 0.9927 GB, free: 6.984 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001703/0.01243, allocations: 196.1 kB / 0.9929 GB, free: 6.789 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001376/0.01257, allocations: 184.1 kB / 0.9931 GB, free: 6.578 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00025/0.01282, allocations: 261.8 kB / 0.9933 GB, free: 6.301 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.01282, allocations: 0 / 0.9933 GB, free: 6.301 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003422/0.01317, allocations: 285.3 kB / 0.9936 GB, free: 6.016 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.01318, allocations: 18.42 kB / 0.9936 GB, free: 6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.01318, allocations: 3.938 kB / 0.9936 GB, free: 5.996 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-06/0.01318, allocations: 4 kB / 0.9936 GB, free: 5.992 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.01337, allocations: 47.97 kB / 0.9937 GB, free: 5.945 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.01338, allocations: 11.92 kB / 0.9937 GB, free: 5.934 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.01351, allocations: 27.88 kB / 0.9937 GB, free: 5.906 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.01353, allocations: 12 kB / 0.9937 GB, free: 5.895 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.268e-05/0.01361, allocations: 188.4 kB / 0.9939 GB, free: 5.703 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.01364, allocations: 19.84 kB / 0.9939 GB, free: 5.684 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.01398, allocations: 274.8 kB / 0.9942 GB, free: 5.406 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01399, allocations: 4 kB / 0.9942 GB, free: 5.402 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01399, allocations: 0 / 0.9942 GB, free: 5.402 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01399, allocations: 0 / 0.9942 GB, free: 5.402 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.01457, allocations: 0.5987 MB / 0.9947 GB, free: 4.754 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.01457, allocations: 4 kB / 0.9948 GB, free: 4.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.01468, allocations: 39.95 kB / 0.9948 GB, free: 4.711 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01468, allocations: 4 kB / 0.9948 GB, free: 4.707 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01469, allocations: 8 kB / 0.9948 GB, free: 4.699 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01469, allocations: 3.938 kB / 0.9948 GB, free: 4.695 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.0147, allocations: 7.984 kB / 0.9948 GB, free: 4.688 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.01501, allocations: 442.1 kB / 0.9952 GB, free: 4.227 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.01506, allocations: 39.81 kB / 0.9953 GB, free: 4.188 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.01508, allocations: 8 kB / 0.9953 GB, free: 4.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01518, allocations: 19.97 kB / 0.9953 GB, free: 4.16 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.01522, allocations: 19.86 kB / 0.9953 GB, free: 4.141 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.01523, allocations: 7.938 kB / 0.9953 GB, free: 4.133 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.567e-05/0.0153, allocations: 132.3 kB / 0.9955 GB, free: 4.004 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.0153, allocations: 0 / 0.9955 GB, free: 4.004 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002906/0.01559, allocations: 87.84 kB / 0.9955 GB, free: 3.918 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * 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 7.906e-05/0.01567, allocations: 105.9 kB / 0.9956 GB, free: 3.805 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.01609, allocations: 359.5 kB / 0.996 GB, free: 3.453 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01609, allocations: 4.875 kB / 0.996 GB, free: 3.449 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.01622, allocations: 116.1 kB / 0.9961 GB, free: 3.336 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.01653, allocations: 38.97 kB / 0.9961 GB, free: 3.301 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.01704, allocations: 464.2 kB / 0.9966 GB, free: 2.797 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.117e-05/0.01714, allocations: 131.9 kB / 0.9967 GB, free: 2.648 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.01721, allocations: 24.5 kB / 0.9967 GB, free: 2.625 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.01721, allocations: 0 / 0.9967 GB, free: 2.625 MB / 0.948 GB Notification: Performance of Templates: time 0.002951/0.02016, allocations: 2.696 MB / 0.9994 GB, free: 15.94 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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: 6.948459883220494]