Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.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.0008204/0.0008204, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0009465/0.0009465, allocations: 212.1 kB / 22.25 MB, free: 3.586 MB / 13.93 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.021/1.021, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7733/0.7733, allocations: 154.1 MB / 466.6 MB, free: 3.328 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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: "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 79.88 kB / 0.6438 GB, free: 28.37 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1782, allocations: 88.78 MB / 0.7305 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3): time 0.5665/0.7447, allocations: 132.3 MB / 0.8596 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005421/0.7501, allocations: 4.425 MB / 0.864 GB, free: 136 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.7512, allocations: 45.91 kB / 0.864 GB, free: 108 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.7523, allocations: 301.5 kB / 0.8643 GB, free: 0 / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002367/0.7547, allocations: 0.8271 MB / 0.8651 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.7559, allocations: 479.1 kB / 0.8655 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.7573, allocations: 1.132 MB / 0.8667 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.7576, allocations: 97.45 kB / 0.8667 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009185/0.7585, allocations: 0.5119 MB / 0.8672 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005675/0.7591, allocations: 443.2 kB / 0.8677 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.7592, allocations: 47.47 kB / 0.8677 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.7607, allocations: 0.7027 MB / 0.8684 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.7609, allocations: 139 kB / 0.8685 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.7612, allocations: 293.1 kB / 0.8688 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.7632, allocations: 1.192 MB / 0.87 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7632, allocations: 0 / 0.87 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.675e-06/0.7632, allocations: 0 / 0.87 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.7632, allocations: 0 / 0.87 GB, free: 15.16 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001999/0.7652, allocations: 1.184 MB / 0.8711 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.7652, allocations: 13.19 kB / 0.8711 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.567e-05/0.7653, allocations: 83.34 kB / 0.8712 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.7655, allocations: 92.81 kB / 0.8713 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009096/0.7664, allocations: 0.5534 MB / 0.8719 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.7665, allocations: 142.3 kB / 0.872 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.7666, allocations: 54.3 kB / 0.872 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.7676, allocations: 0.5803 MB / 0.8726 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.7676, allocations: 0 / 0.8726 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.7677, allocations: 17.03 kB / 0.8726 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.7677, allocations: 10.56 kB / 0.8726 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.7687, allocations: 0.5208 MB / 0.8731 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.7707, allocations: 1.35 MB / 0.8745 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.7718, allocations: 486.2 kB / 0.8749 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.7723, allocations: 223.7 kB / 0.8751 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005/0.7728, allocations: 140.9 kB / 0.8753 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006622/0.7735, allocations: 342 kB / 0.8756 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.896e-06/0.7735, allocations: 0 / 0.8756 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.004324/0.7778, allocations: 1.816 MB / 0.8774 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.7778, allocations: 58.16 kB / 0.8774 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.7785, allocations: 0.5949 MB / 0.878 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.7786, allocations: 38.61 kB / 0.878 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.7788, allocations: 318.9 kB / 0.8784 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.7789, allocations: 171 kB / 0.8785 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.779, allocations: 84.48 kB / 0.8786 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7791, allocations: 321.3 kB / 0.8789 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.7797, allocations: 287.5 kB / 0.8792 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.7802, allocations: 328.4 kB / 0.8795 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.7811, allocations: 0.5325 MB / 0.88 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7811, allocations: 0 / 0.88 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001353/0.7825, allocations: 0.7752 MB / 0.8808 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/0.7826, allocations: 71.14 kB / 0.8808 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7826, allocations: 0 / 0.8808 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/0.783, allocations: 79.97 kB / 0.8809 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.7833, allocations: 129.3 kB / 0.881 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003567/0.7837, allocations: 0.5629 MB / 0.8816 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.7841, allocations: 62.83 kB / 0.8816 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.7841, allocations: 18.84 kB / 0.8817 GB, free: 10.15 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (massFlowRate.count,$PRE.massFlowRate.count,massFlowRate.T_start,$PRE.massFlowRate.T_start,power.count,$PRE.power.count,power.T_start,$PRE.power.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002416/0.7844, allocations: 186.1 kB / 0.8818 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.7845, allocations: 80.98 kB / 0.8819 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.7859, allocations: 0.845 MB / 0.8827 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.7859, allocations: 4.812 kB / 0.8827 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7859, allocations: 3.938 kB / 0.8827 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.7859, allocations: 5.828 kB / 0.8828 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.7864, allocations: 446.8 kB / 0.8832 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.7864, allocations: 0 / 0.8832 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.7867, allocations: 103.3 kB / 0.8833 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/0.787, allocations: 85.09 kB / 0.8834 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.7871, allocations: 9 kB / 0.8834 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002968/0.7874, allocations: 0.5697 MB / 0.8839 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7874, allocations: 0 / 0.8839 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.7889, allocations: 0.8694 MB / 0.8848 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.7891, allocations: 104 kB / 0.8849 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.7892, allocations: 10.19 kB / 0.8849 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.7894, allocations: 63.09 kB / 0.8849 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.7895, allocations: 51.38 kB / 0.885 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.7896, allocations: 13.77 kB / 0.885 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004182/0.79, allocations: 455.8 kB / 0.8854 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.79, allocations: 0 / 0.8854 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005769/0.7906, allocations: 202.3 kB / 0.8856 GB, free: 8.055 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (adiabaticFilter.dp) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,power.T_start,power.count,massFlowRate.T_start,massFlowRate.count) * Number of discrete states: 2 (power.count,massFlowRate.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002183/0.7928, allocations: 1.637 MB / 0.8872 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.794, allocations: 0.6723 MB / 0.8879 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.794, allocations: 0 / 0.8879 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.7945, allocations: 259.9 kB / 0.8881 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000959/0.7955, allocations: 339.1 kB / 0.8885 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007548/0.803, allocations: 5.738 MB / 0.8941 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.8032, allocations: 301.1 kB / 0.8943 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005265/0.8038, allocations: 120.9 kB / 0.8945 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.8041, allocations: 261.6 kB / 0.8947 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of SimCode: time 1.432e-06/0.8041, allocations: 3.406 kB / 0.8947 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.8451, allocations: 23.07 MB / 0.9172 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.532/9.378, allocations: 13.58 kB / 0.9173 GB, free: 6.051 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_OMSimulator.pipe 2>&1) [Timeout 1260.0] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.616409128531814]