Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001446/0.001446, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001695/0.001695, allocations: 207.1 kB / 23.73 MB, free: 4.391 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.55/1.55, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.94 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 79.86 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3653, allocations: 66.08 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2105/0.5759, allocations: 156.5 MB / 0.7135 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009472/0.5853, allocations: 5.976 MB / 0.7194 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008112/0.5861, allocations: 31.69 kB / 0.7194 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.5875, allocations: 381.8 kB / 0.7198 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.5928, allocations: 1.797 MB / 0.7215 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00434/0.5971, allocations: 1.513 MB / 0.723 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003706/0.6008, allocations: 2.13 MB / 0.7251 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.6019, allocations: 485.3 kB / 0.7256 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004661/0.6066, allocations: 1.799 MB / 0.7273 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/0.6098, allocations: 1.535 MB / 0.7288 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.61, allocations: 76 kB / 0.7289 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.6129, allocations: 1.15 MB / 0.73 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.6135, allocations: 450.7 kB / 0.7304 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007294/0.6142, allocations: 482.1 kB / 0.7309 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.6178, allocations: 2.068 MB / 0.7329 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6179, allocations: 0 / 0.7329 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6179, allocations: 0 / 0.7329 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.6179, allocations: 0 / 0.7329 GB, free: 3.062 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003585/0.6215, allocations: 1.403 MB / 0.7343 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.6215, allocations: 8.031 kB / 0.7343 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002074/0.6217, allocations: 130.7 kB / 0.7344 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.6231, allocations: 283.1 kB / 0.7347 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.6246, allocations: 0.5868 MB / 0.7353 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.6247, allocations: 168.1 kB / 0.7354 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.6249, allocations: 64 kB / 0.7355 GB, free: 340 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3011/0.926, allocations: 1.968 MB / 0.7374 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.926, allocations: 4 kB / 0.7374 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.9262, allocations: 35.11 kB / 0.7374 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.9264, allocations: 83.11 kB / 0.7375 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.9285, allocations: 1.048 MB / 0.7385 GB, free: 174.2 MB / 0.5606 GB 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.005804/0.9343, allocations: 3.978 MB / 0.7424 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.9348, allocations: 293.1 kB / 0.7427 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.935, allocations: 144.8 kB / 0.7428 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.935, allocations: 17.69 kB / 0.7429 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.9351, allocations: 37.19 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.275e-06/0.9351, allocations: 0 / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.005734/0.9408, allocations: 1.755 MB / 0.7446 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.9408, allocations: 132.5 kB / 0.7447 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000849/0.9417, allocations: 0.9825 MB / 0.7457 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.9417, allocations: 33.7 kB / 0.7457 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.942, allocations: 0.5844 MB / 0.7463 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.9421, allocations: 134.7 kB / 0.7464 GB, free: 168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.9423, allocations: 218.8 kB / 0.7466 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.9424, allocations: 406.7 kB / 0.747 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.9427, allocations: 274.5 kB / 0.7473 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.9433, allocations: 0.9428 MB / 0.7482 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008887/0.9442, allocations: 1.173 MB / 0.7494 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.9442, allocations: 4 kB / 0.7494 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001499/0.9457, allocations: 1.243 MB / 0.7506 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.9457, allocations: 12 kB / 0.7506 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.9457, allocations: 20 kB / 0.7506 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.9469, allocations: 290 kB / 0.7509 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.9474, allocations: 203.6 kB / 0.7511 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008059/0.9482, allocations: 0.9186 MB / 0.752 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/0.9489, allocations: 40 kB / 0.752 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.9489, allocations: 71.98 kB / 0.7521 GB, free: 161.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003596/0.9493, allocations: 345.9 kB / 0.7524 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.9494, allocations: 99.38 kB / 0.7525 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008489/0.9503, allocations: 0.5152 MB / 0.753 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.9503, allocations: 4 kB / 0.753 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9503, allocations: 0.5938 kB / 0.753 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.9503, allocations: 11.58 kB / 0.753 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.9516, allocations: 1.022 MB / 0.754 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9516, allocations: 0 / 0.754 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008737/0.9525, allocations: 187.8 kB / 0.7542 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.261e-05/0.9525, allocations: 24.78 kB / 0.7542 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.9526, allocations: 9.688 kB / 0.7542 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.9538, allocations: 2.673 MB / 0.7568 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9538, allocations: 0 / 0.7568 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.9547, allocations: 0.6983 MB / 0.7575 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.955, allocations: 131.3 kB / 0.7576 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.9551, allocations: 4 kB / 0.7577 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.9555, allocations: 15.98 kB / 0.7577 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.9555, allocations: 27.95 kB / 0.7577 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.9555, allocations: 16 kB / 0.7577 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005842/0.9561, allocations: 0.632 MB / 0.7583 GB, free: 155 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9561, allocations: 0 / 0.7583 GB, free: 155 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001068/0.9572, allocations: 379.5 kB / 0.7587 GB, free: 154.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (33): * Single equations (assignments): 31 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002186/0.9594, allocations: 1.804 MB / 0.7604 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.9605, allocations: 0.6528 MB / 0.7611 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9605, allocations: 4 kB / 0.7611 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007851/0.9612, allocations: 356 kB / 0.7614 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.9629, allocations: 434.1 kB / 0.7618 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.9706, allocations: 8.172 MB / 0.7698 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.9709, allocations: 433.9 kB / 0.7702 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008608/0.9718, allocations: 378.3 kB / 0.7706 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.9722, allocations: 327.3 kB / 0.7709 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.9722, allocations: 0 / 0.7709 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06771/1.04, allocations: 32.52 MB / 0.8027 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15.19, allocations: 19.41 kB / 0.8027 GB, free: 109.2 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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: 18.757750628050417]