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.00127/0.00127, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001142/0.001142, allocations: 169 kB / 24.05 MB, free: 456 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.045/1.045, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.008927/0.008927, allocations: 1.996 MB / 263 MB, free: 10.88 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.393e-06/1.393e-06, allocations: 0 / 333.5 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.36e-05, allocations: 6.25 kB / 333.5 MB, free: 1.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.0111/0.01112, allocations: 15.14 MB / 348.7 MB, free: 2.531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009883/0.02101, allocations: 13.5 MB / 362.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007227/0.02173, allocations: 7.938 kB / 362.2 MB, free: 4.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007253/0.02245, allocations: 325.5 kB / 362.5 MB, free: 4.66 MB / 330.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.004362/0.02682, allocations: 1.881 MB / 364.4 MB, free: 2.766 MB / 330.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.002704/0.02952, allocations: 0.9904 MB / 365.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.03163, allocations: 1.828 MB / 367.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.03179, allocations: 51.5 kB / 367.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004557/0.03635, allocations: 0.9062 MB / 368.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005622/0.03691, allocations: 478.6 kB / 368.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.639e-05/0.03699, allocations: 72 kB / 368.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.03893, allocations: 0.769 MB / 369.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.03908, allocations: 214.8 kB / 369.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000406/0.03948, allocations: 470.9 kB / 370.1 MB, free: 13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.04184, allocations: 1.463 MB / 371.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.04185, allocations: 3.984 kB / 371.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.04185, allocations: 0 / 371.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.04186, allocations: 8 kB / 371.6 MB, free: 11.52 MB / 346.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.00136/0.04322, allocations: 1.692 MB / 373.3 MB, free: 9.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.04326, allocations: 8.031 kB / 373.3 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.04692, allocations: 3.023 MB / 376.3 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.04744, allocations: 446.8 kB / 376.8 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.04749, allocations: 82.52 kB / 376.8 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.42e-05/0.04757, allocations: 104.4 kB / 377 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.04863, allocations: 1.143 MB / 378.1 MB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.04865, allocations: 4.125 kB / 378.1 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.0487, allocations: 48.12 kB / 378.1 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.04875, allocations: 95.92 kB / 378.2 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.04933, allocations: 0.5371 MB / 378.8 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.05335, allocations: 5.051 MB / 383.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.05396, allocations: 379.9 kB / 384.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.05416, allocations: 243.3 kB / 384.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.05544, allocations: 1.577 MB / 386 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.05547, allocations: 45.39 kB / 386.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=194): time 2.525e-06/0.05548, allocations: 0 / 386.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=194): time 0.001177/0.05665, allocations: 1.035 MB / 387.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.05669, allocations: 81.11 kB / 387.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.05686, allocations: 267.1 kB / 387.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.05689, allocations: 29.7 kB / 387.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.05712, allocations: 0.4966 MB / 388 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.05744, allocations: 0.6386 MB / 388.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004817/0.05792, allocations: 195.6 kB / 388.8 MB, free: 9.914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.05804, allocations: 488.4 kB / 389.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.05816, allocations: 126.4 kB / 389.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.05845, allocations: 476.2 kB / 389.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.05897, allocations: 0.7359 MB / 390.6 MB, free: 7.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.05897, allocations: 0 / 390.6 MB, free: 7.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.0006603/0.05963, allocations: 0.7659 MB / 391.4 MB, free: 7.082 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.05965, allocations: 8.875 kB / 391.4 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.05967, allocations: 12 kB / 391.4 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.05969, allocations: 12 kB / 391.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.05991, allocations: 103.8 kB / 391.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007293/0.06064, allocations: 1.806 MB / 393.3 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.06101, allocations: 114.9 kB / 393.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.06104, allocations: 31.98 kB / 393.4 MB, free: 4.941 MB / 362.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.0002852/0.06133, allocations: 200.5 kB / 393.6 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.06143, allocations: 67.52 kB / 393.7 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.246e-05/0.06151, allocations: 48.97 kB / 393.7 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.06152, allocations: 4 kB / 393.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.06153, allocations: 0 / 393.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.06154, allocations: 3.984 kB / 393.8 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006743/0.06221, allocations: 0.592 MB / 394.3 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.06221, allocations: 0 / 394.3 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.06234, allocations: 51.91 kB / 394.4 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.06235, allocations: 7.922 kB / 394.4 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.06237, allocations: 16 kB / 394.4 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009131/0.06328, allocations: 1.783 MB / 396.2 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.06329, allocations: 7.875 kB / 396.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.06399, allocations: 0.9437 MB / 397.2 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.06405, allocations: 87.16 kB / 397.2 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.06408, allocations: 8 kB / 397.2 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.06423, allocations: 4 kB / 397.3 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.06429, allocations: 44 kB / 397.3 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.06432, allocations: 20 kB / 397.3 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.139e-05/0.06438, allocations: 161.1 kB / 397.5 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06438, allocations: 3.938 kB / 397.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006446/0.06502, allocations: 371.1 kB / 397.8 MB, free: 432 kB / 362.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.0004281/0.06545, allocations: 201.7 kB / 398 MB, free: 232 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.06655, allocations: 1.486 MB / 399.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.06655, allocations: 0 / 399.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.06749, allocations: 1.947 MB / 401.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.06876, allocations: 0.5342 MB / 402 MB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.07131, allocations: 2.198 MB / 404.2 MB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.07156, allocations: 351 kB / 404.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006156/0.07218, allocations: 322 kB / 404.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006529/0.07283, allocations: 0.5135 MB / 405.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.07283, allocations: 4 kB / 405.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of Templates: time 0.03319/0.106, allocations: 28.86 MB / 434.2 MB, free: 11.75 MB / 410.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.9324105638079345]