Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.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.0008116/0.0008116, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.000864/0.000864, allocations: 181 kB / 23.36 MB, free: 1.133 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.8393/0.8393, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007366/0.007366, allocations: 2.008 MB / 262.3 MB, free: 10.94 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 279.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.247e-05, allocations: 10.25 kB / 279.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.1056/0.1056, allocations: 15.17 MB / 294.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008944/0.1145, allocations: 13.64 MB / 308.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.1149, allocations: 8.688 kB / 308.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.1154, allocations: 346.4 kB / 308.7 MB, free: 10.29 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1148:25-1162:18:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.Medium.setState_ph'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1132:25-1146:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.Medium.setState_ph'. Notification: Performance of NFTyping.typeBindings: time 0.002662/0.1181, allocations: 1.895 MB / 310.6 MB, free: 8.98 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1197, allocations: 0.9869 MB / 311.6 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.1209, allocations: 1.83 MB / 313.4 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.121, allocations: 67.77 kB / 313.4 MB, free: 7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.1251, allocations: 0.9017 MB / 314.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.1255, allocations: 483.1 kB / 314.8 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/0.1256, allocations: 78.23 kB / 314.9 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.1271, allocations: 0.7587 MB / 315.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1272, allocations: 223.3 kB / 315.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.1275, allocations: 469.6 kB / 316.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.1287, allocations: 1.467 MB / 317.8 MB, free: 4.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1288, allocations: 0 / 317.8 MB, free: 4.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1288, allocations: 0 / 317.8 MB, free: 4.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.1288, allocations: 0 / 317.8 MB, free: 4.062 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.0009817/0.1297, allocations: 1.535 MB / 319.3 MB, free: 2.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.1298, allocations: 12.02 kB / 319.3 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.1328, allocations: 3.066 MB / 322.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.1332, allocations: 308 kB / 322.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.1333, allocations: 82.52 kB / 322.8 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.1334, allocations: 108.4 kB / 322.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009511/0.1343, allocations: 1.129 MB / 324 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.1343, allocations: 12.12 kB / 324 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.1344, allocations: 40.38 kB / 324.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/0.1344, allocations: 95.88 kB / 324.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/0.135, allocations: 0.5466 MB / 324.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.1378, allocations: 3.665 MB / 328.4 MB, free: 9.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.1382, allocations: 315 kB / 328.7 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.1384, allocations: 189.7 kB / 328.9 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.1395, allocations: 1.185 MB / 330.1 MB, free: 7.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1395, allocations: 34.56 kB / 330.1 MB, free: 7.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=194): time 1.954e-06/0.1395, allocations: 0 / 330.1 MB, free: 7.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=194): time 0.0009316/0.1404, allocations: 0.8675 MB / 331 MB, free: 6.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.1404, allocations: 81.11 kB / 331 MB, free: 6.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1406, allocations: 215.9 kB / 331.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1406, allocations: 33.7 kB / 331.3 MB, free: 6.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.1407, allocations: 453.8 kB / 331.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.141, allocations: 0.6308 MB / 332.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1411, allocations: 169.9 kB / 332.5 MB, free: 4.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.1412, allocations: 313.9 kB / 332.8 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.1413, allocations: 90.47 kB / 332.9 MB, free: 4.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1415, allocations: 360.2 kB / 333.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.1419, allocations: 0.6052 MB / 333.9 MB, free: 3.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1419, allocations: 0 / 333.9 MB, free: 3.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.0005097/0.1424, allocations: 0.5983 MB / 334.5 MB, free: 2.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1424, allocations: 8 kB / 334.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1425, allocations: 8 kB / 334.5 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1425, allocations: 11.94 kB / 334.5 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.1427, allocations: 96.58 kB / 334.6 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003598/0.143, allocations: 1.18 MB / 335.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.1432, allocations: 107 kB / 335.9 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1432, allocations: 24 kB / 335.9 MB, free: 1.367 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002921/0.1435, allocations: 159.4 kB / 336.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.1436, allocations: 35.91 kB / 336.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.1436, allocations: 45.08 kB / 336.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1437, allocations: 7.938 kB / 336.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1437, allocations: 4 kB / 336.2 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1437, allocations: 0 / 336.2 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.1441, allocations: 0.4948 MB / 336.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1441, allocations: 1.5 kB / 336.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1442, allocations: 47.91 kB / 336.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1442, allocations: 0 / 336.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1442, allocations: 15.92 kB / 336.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003102/0.1445, allocations: 1.16 MB / 337.9 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1445, allocations: 0 / 337.9 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.145, allocations: 0.6782 MB / 338.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.145, allocations: 87.16 kB / 338.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1451, allocations: 4 kB / 338.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1452, allocations: 15.98 kB / 338.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.1452, allocations: 27.89 kB / 338.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1453, allocations: 15.05 kB / 338.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.398e-05/0.1453, allocations: 54.7 kB / 338.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1453, allocations: 4.062 kB / 338.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004709/0.1458, allocations: 375 kB / 339.1 MB, free: 14.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.1461, allocations: 191.4 kB / 339.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008536/0.1469, allocations: 1.404 MB / 340.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.1469, allocations: 16 kB / 340.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008312/0.1478, allocations: 1.914 MB / 342.6 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.149, allocations: 0.5427 MB / 343.2 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.1512, allocations: 2.201 MB / 345.4 MB, free: 7.238 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.1515, allocations: 347.6 kB / 345.7 MB, free: 6.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005808/0.1521, allocations: 317.8 kB / 346 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/0.1527, allocations: 463 kB / 346.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1527, allocations: 0 / 346.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of Templates: time 0.02966/0.1823, allocations: 28.17 MB / 374.7 MB, free: 10.46 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.311480056028813]