Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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.001853/0.001853, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002054/0.002054, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.632/1.632, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3442/0.3442, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.991e-05, allocations: 5.828 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.05248/0.05251, allocations: 40.13 MB / 415.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02945/0.08196, allocations: 20.13 MB / 435.5 MB, free: 8.512 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000652/0.08262, allocations: 27.75 kB / 435.6 MB, free: 8.484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.08387, allocations: 413.2 kB / 436 MB, free: 8.078 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0137/0.09757, allocations: 5.189 MB / 441.2 MB, free: 2.867 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007315/0.1049, allocations: 2.598 MB / 443.8 MB, free: 264 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1671/0.272, allocations: 2.014 MB / 445.8 MB, free: 50.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006817/0.2727, allocations: 453.7 kB / 446.2 MB, free: 50.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009148/0.2818, allocations: 4.438 MB / 450.7 MB, free: 49.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.2926, allocations: 5.448 MB / 456.1 MB, free: 48.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.2929, allocations: 74.22 kB / 456.2 MB, free: 48.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.305, allocations: 7.054 MB / 463.2 MB, free: 48.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.3055, allocations: 313.3 kB / 463.5 MB, free: 48.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006819/0.3061, allocations: 333.6 kB / 463.9 MB, free: 48.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.3175, allocations: 6.272 MB / 470.1 MB, free: 48.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3175, allocations: 0.9375 kB / 470.1 MB, free: 48.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3175, allocations: 0 / 470.1 MB, free: 48.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.3175, allocations: 7.938 kB / 470.1 MB, free: 48.12 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004208/0.3217, allocations: 1.785 MB / 471.9 MB, free: 47.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3217, allocations: 8.906 kB / 471.9 MB, free: 47.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.3238, allocations: 449 kB / 472.4 MB, free: 47.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.3246, allocations: 0.5383 MB / 472.9 MB, free: 46.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.3247, allocations: 165.2 kB / 473.1 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.3248, allocations: 64.69 kB / 473.1 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.327, allocations: 1.418 MB / 474.6 MB, free: 46.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.327, allocations: 8.344 kB / 474.6 MB, free: 46.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/0.3271, allocations: 34.62 kB / 474.6 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.3272, allocations: 38.75 kB / 474.6 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.3292, allocations: 0.8176 MB / 475.5 MB, free: 46 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005439/0.3346, allocations: 5.785 MB / 481.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.3366, allocations: 0.6466 MB / 481.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/0.337, allocations: 229.8 kB / 482.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03158/0.3686, allocations: 8.706 MB / 490.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.3687, allocations: 46.16 kB / 490.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.3687, allocations: 0 / 490.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.005529/0.3742, allocations: 2.013 MB / 492.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3742, allocations: 166.5 kB / 493 MB, free: 40.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.3748, allocations: 0.6727 MB / 493.7 MB, free: 40.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.3749, allocations: 41.61 kB / 493.7 MB, free: 40.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.3751, allocations: 483.8 kB / 494.2 MB, free: 39.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3752, allocations: 188.9 kB / 494.4 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.3754, allocations: 192.2 kB / 494.6 MB, free: 39.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3755, allocations: 0.5831 MB / 495.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.376, allocations: 203.6 kB / 495.4 MB, free: 38.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.3766, allocations: 0.7642 MB / 496.1 MB, free: 38.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.3776, allocations: 0.9175 MB / 497.1 MB, free: 37.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3776, allocations: 5.906 kB / 497.1 MB, free: 37.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001423/0.379, allocations: 0.8531 MB / 497.9 MB, free: 37.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.379, allocations: 9.688 kB / 497.9 MB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.379, allocations: 13.53 kB / 497.9 MB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.3793, allocations: 67.08 kB / 498 MB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.3804, allocations: 287.2 kB / 498.3 MB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.3815, allocations: 2.718 MB / 0.4893 GB, free: 34.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.3821, allocations: 46.09 kB / 0.4893 GB, free: 34.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.3821, allocations: 41.73 kB / 0.4893 GB, free: 34.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002898/0.3824, allocations: 280.4 kB / 0.4896 GB, free: 34.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.3825, allocations: 76.59 kB / 0.4897 GB, free: 34.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.3845, allocations: 1.755 MB / 0.4914 GB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.3845, allocations: 35.06 kB / 0.4914 GB, free: 33.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.3845, allocations: 2.969 kB / 0.4914 GB, free: 33.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3845, allocations: 7.172 kB / 0.4914 GB, free: 33.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.3874, allocations: 2.557 MB / 0.4939 GB, free: 32.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3874, allocations: 4 kB / 0.4939 GB, free: 32.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009294/0.3884, allocations: 204.3 kB / 0.4941 GB, free: 32.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003149/0.3887, allocations: 71.94 kB / 0.4942 GB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.3887, allocations: 21.92 kB / 0.4942 GB, free: 32.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.3897, allocations: 2.68 MB / 0.4968 GB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3897, allocations: 7.031 kB / 0.4968 GB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.3918, allocations: 1.707 MB / 0.4985 GB, free: 29.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.3921, allocations: 173.8 kB / 0.4987 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3922, allocations: 33.59 kB / 0.4987 GB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.3926, allocations: 26.22 kB / 0.4987 GB, free: 28.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.3927, allocations: 57.41 kB / 0.4988 GB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.3928, allocations: 24.41 kB / 0.4988 GB, free: 28.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005374/0.3933, allocations: 0.5452 MB / 0.4994 GB, free: 28.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3933, allocations: 0 / 0.4994 GB, free: 28.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003108/0.3964, allocations: 1.102 MB / 0.5004 GB, free: 28.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003988/0.4004, allocations: 1.35 MB / 0.5017 GB, free: 28.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.4024, allocations: 0.8345 MB / 0.5026 GB, free: 28.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4024, allocations: 0 / 0.5026 GB, free: 28.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.4036, allocations: 0.5402 MB / 0.5031 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.4054, allocations: 377.4 kB / 0.5034 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.4081, allocations: 2.21 MB / 0.5056 GB, free: 26.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.4085, allocations: 0.5621 MB / 0.5062 GB, free: 26.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006755/0.4092, allocations: 415 kB / 0.5066 GB, free: 26.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.4093, allocations: 60.5 kB / 0.5066 GB, free: 26.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4093, allocations: 0 / 0.5066 GB, free: 26.36 MB / 410.7 MB Notification: Performance of Templates: time 0.06174/0.471, allocations: 46.96 MB / 0.5525 GB, free: 12.81 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.478421801002696]