Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.88 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2668, allocations: 53.4 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks): time 0.01974/0.2865, allocations: 16.25 MB / 448.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009063/0.2956, allocations: 5.498 MB / 454.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009184/0.2965, allocations: 35.69 kB / 454.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.2975, allocations: 322 kB / 454.5 MB, free: 380 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.3004, allocations: 1.069 MB / 455.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004267/0.3047, allocations: 1.673 MB / 457.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0035/0.3082, allocations: 2.011 MB / 459.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009635/0.3092, allocations: 417.9 kB / 459.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.3111, allocations: 0.7786 MB / 460.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.3128, allocations: 0.759 MB / 461.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.313, allocations: 68 kB / 461.3 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.3153, allocations: 0.9283 MB / 462.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.3157, allocations: 275 kB / 462.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.3163, allocations: 346.6 kB / 462.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.3192, allocations: 1.686 MB / 464.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3192, allocations: 4 kB / 464.5 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3192, allocations: 0 / 464.5 MB, free: 6.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3192, allocations: 0 / 464.5 MB, free: 6.348 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002484/0.3217, allocations: 1.126 MB / 465.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.3218, allocations: 15.98 kB / 465.6 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.3221, allocations: 88.42 kB / 465.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.3231, allocations: 0.5141 MB / 466.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.3232, allocations: 36.98 kB / 466.3 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.506e-05/0.3233, allocations: 47.98 kB / 466.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.3248, allocations: 1.017 MB / 467.3 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3248, allocations: 4 kB / 467.3 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/0.3249, allocations: 23.92 kB / 467.3 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.473e-05/0.3249, allocations: 44.97 kB / 467.4 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.3262, allocations: 0.6831 MB / 468.1 MB, free: 2.594 MB / 366.1 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.004388/0.3306, allocations: 2.201 MB / 470.3 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008601/0.3314, allocations: 470.2 kB / 470.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/0.3319, allocations: 254 kB / 471 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.332, allocations: 40.41 kB / 471 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.3321, allocations: 39 kB / 471.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.625e-06/0.3321, allocations: 0 / 471.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.005743/0.3378, allocations: 2.152 MB / 473.2 MB, free: 13.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.3379, allocations: 85.61 kB / 473.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/0.3387, allocations: 0.5457 MB / 473.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.127e-05/0.3387, allocations: 41.69 kB / 473.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.339, allocations: 336.8 kB / 474.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.3392, allocations: 214.5 kB / 474.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.3395, allocations: 146.6 kB / 474.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.3397, allocations: 374.8 kB / 474.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/0.3403, allocations: 308.7 kB / 475.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/0.341, allocations: 0.5023 MB / 475.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.3421, allocations: 0.7442 MB / 476.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3421, allocations: 0 / 476.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001706/0.3438, allocations: 0.9735 MB / 477.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3438, allocations: 8.625 kB / 477.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3438, allocations: 4 kB / 477.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.3463, allocations: 416.3 kB / 477.9 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.3469, allocations: 147.8 kB / 478 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.348, allocations: 0.8294 MB / 478.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.3486, allocations: 35.92 kB / 478.9 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.3486, allocations: 31.98 kB / 478.9 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007876/0.3494, allocations: 477.9 kB / 479.4 MB, free: 6.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006655/0.3501, allocations: 499.8 kB / 479.9 MB, free: 6.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001125/0.3512, allocations: 0.7255 MB / 480.6 MB, free: 5.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.3512, allocations: 0 / 480.6 MB, free: 5.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001714/0.3529, allocations: 0.9114 MB / 481.5 MB, free: 4.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3529, allocations: 8 kB / 481.5 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3529, allocations: 4 kB / 481.5 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.3548, allocations: 264.8 kB / 481.8 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.3554, allocations: 155.8 kB / 481.9 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007434/0.3561, allocations: 0.7162 MB / 482.6 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.3567, allocations: 36.05 kB / 482.7 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/0.3568, allocations: 35.98 kB / 482.7 MB, free: 3.418 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 (tank2.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank2.ports_m_flow_out[1],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004112/0.3572, allocations: 232 kB / 482.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.3573, allocations: 67.58 kB / 483 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.359, allocations: 0.8671 MB / 483.9 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3591, allocations: 11.94 kB / 483.9 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3591, allocations: 0 / 483.9 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3591, allocations: 3.984 kB / 483.9 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.362, allocations: 1.525 MB / 485.4 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.362, allocations: 4 kB / 485.4 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.3626, allocations: 103.9 kB / 485.5 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/0.364, allocations: 320.6 kB / 485.8 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.3641, allocations: 12 kB / 485.8 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009795/0.3651, allocations: 0.8255 MB / 486.7 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3651, allocations: 0 / 486.7 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.3672, allocations: 1.291 MB / 488 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.3674, allocations: 67.48 kB / 488 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.3675, allocations: 16 kB / 488 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.368, allocations: 32.05 kB / 488.1 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.3681, allocations: 48.55 kB / 488.1 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-05/0.3682, allocations: 31.98 kB / 488.1 MB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000542/0.3687, allocations: 374.8 kB / 488.5 MB, free: 13.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3687, allocations: 0 / 488.5 MB, free: 13.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001586/0.3703, allocations: 0.538 MB / 489.1 MB, free: 12.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank2.aboveLevel[1]) * Number of discrete states: 2 (tank2.aboveLevel[1],tank1.aboveLevel[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.3713, allocations: 449.9 kB / 489.5 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002475/0.3738, allocations: 1.127 MB / 490.6 MB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3738, allocations: 0 / 490.6 MB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007008/0.3745, allocations: 380.3 kB / 491 MB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.3762, allocations: 350.1 kB / 491.3 MB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.3793, allocations: 1.63 MB / 493 MB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.3797, allocations: 367.6 kB / 493.3 MB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.38, allocations: 67.42 kB / 493.4 MB, free: 8.559 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.38, allocations: 0 / 493.4 MB, free: 8.559 MB / 398.1 MB Notification: Performance of Templates: time 0.02787/0.4079, allocations: 17.55 MB / 0.499 GB, free: 7.074 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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: 9.471665929071605]