Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.002343/0.002343, allocations: 102.1 kB / 16.45 MB, free: 6.5 MB / 14.72 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.002748/0.002748, allocations: 210.4 kB / 19.42 MB, free: 3.66 MB / 14.72 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.664/1.664, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.9515/0.9515, allocations: 94.56 MB / 403.4 MB, free: 10.17 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003866/0.003866, allocations: 89.12 kB / 0.5499 GB, free: 38.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2031, allocations: 73.02 MB / 0.6212 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.06761/0.2707, allocations: 53.77 MB / 0.6737 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0323/0.303, allocations: 21.66 MB / 0.6949 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/0.3062, allocations: 103.1 kB / 0.695 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.3096, allocations: 0.8963 MB / 0.6958 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00726/0.3168, allocations: 1.731 MB / 0.6975 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00562/0.3224, allocations: 1.331 MB / 0.6988 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005414/0.3279, allocations: 2.571 MB / 0.7013 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008882/0.3287, allocations: 322.2 kB / 0.7016 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.3314, allocations: 1.109 MB / 0.7027 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.3332, allocations: 0.9561 MB / 0.7037 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003278/0.3335, allocations: 132 kB / 0.7038 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005134/0.3386, allocations: 1.268 MB / 0.705 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005642/0.3392, allocations: 342.3 kB / 0.7053 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.3408, allocations: 0.9049 MB / 0.7062 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008831/0.3496, allocations: 2.692 MB / 0.7089 GB, free: 7.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3496, allocations: 0 / 0.7089 GB, free: 7.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.396e-06/0.3496, allocations: 0 / 0.7089 GB, free: 7.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.039e-05/0.3497, allocations: 0 / 0.7089 GB, free: 7.84 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.005721/0.3554, allocations: 2.425 MB / 0.7112 GB, free: 5.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.3555, allocations: 12.03 kB / 0.7112 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.3557, allocations: 173.2 kB / 0.7114 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.3563, allocations: 226.5 kB / 0.7116 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/0.3592, allocations: 1.298 MB / 0.7129 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.3594, allocations: 90.28 kB / 0.713 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.3596, allocations: 116 kB / 0.7131 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.3619, allocations: 1.206 MB / 0.7143 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.362, allocations: 3.938 kB / 0.7143 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.3621, allocations: 44 kB / 0.7143 GB, free: 2.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.3621, allocations: 28 kB / 0.7143 GB, free: 2.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.3644, allocations: 1.141 MB / 0.7154 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009715/0.3741, allocations: 5.017 MB / 0.7203 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.376, allocations: 0.8164 MB / 0.7211 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007979/0.3768, allocations: 430.2 kB / 0.7216 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007525/0.3843, allocations: 5.158 MB / 0.7266 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.157e-05/0.3844, allocations: 47.56 kB / 0.7266 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.605e-06/0.3844, allocations: 0 / 0.7266 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.004464/0.3889, allocations: 1.715 MB / 0.7283 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.389, allocations: 64.41 kB / 0.7284 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.3912, allocations: 1.276 MB / 0.7296 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.3913, allocations: 49.7 kB / 0.7297 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008207/0.3921, allocations: 0.7699 MB / 0.7304 GB, free: 160 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004475/0.3926, allocations: 372.9 kB / 0.7308 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.3928, allocations: 170.6 kB / 0.7309 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.393, allocations: 341.9 kB / 0.7313 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.3937, allocations: 301.8 kB / 0.7316 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008031/0.3945, allocations: 434 kB / 0.732 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.3961, allocations: 0.7735 MB / 0.7327 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.3961, allocations: 0 / 0.7327 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002857/0.399, allocations: 1.143 MB / 0.7338 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.399, allocations: 4 kB / 0.7338 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.399, allocations: 7.984 kB / 0.7338 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007637/0.3998, allocations: 170.7 kB / 0.734 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007494/0.4005, allocations: 191.8 kB / 0.7342 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006057/0.4066, allocations: 4.822 MB / 0.7389 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4081, allocations: 87.28 kB / 0.739 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.4083, allocations: 43.98 kB / 0.739 GB, free: 6.816 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009223/0.4092, allocations: 281.7 kB / 0.7393 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/0.4096, allocations: 170.9 kB / 0.7395 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/0.4131, allocations: 1.646 MB / 0.7411 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.4131, allocations: 12 kB / 0.7411 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.4132, allocations: 3.938 kB / 0.7411 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.4132, allocations: 7.922 kB / 0.7411 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005773/0.419, allocations: 2.617 MB / 0.7436 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.419, allocations: 7.984 kB / 0.7437 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.4196, allocations: 163.7 kB / 0.7438 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007319/0.4203, allocations: 166.6 kB / 0.744 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/0.4204, allocations: 40.03 kB / 0.744 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4417/0.8621, allocations: 4.804 MB / 0.7487 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.8621, allocations: 4.906 kB / 0.7487 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005292/0.8674, allocations: 1.629 MB / 0.7503 GB, free: 116.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008106/0.8682, allocations: 356.1 kB / 0.7506 GB, free: 116 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.8683, allocations: 25.33 kB / 0.7507 GB, free: 116 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.8689, allocations: 28.39 kB / 0.7507 GB, free: 116 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000366/0.8693, allocations: 85.02 kB / 0.7508 GB, free: 116 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.8694, allocations: 38.5 kB / 0.7508 GB, free: 116 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002185/0.8716, allocations: 0.9088 MB / 0.7517 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8716, allocations: 5.938 kB / 0.7517 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002879/0.8745, allocations: 0.5971 MB / 0.7523 GB, free: 115.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.inlet.m_flow) * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004677/0.8792, allocations: 2.797 MB / 0.755 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002264/0.8814, allocations: 1.145 MB / 0.7561 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.8815, allocations: 2.781 kB / 0.7561 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.8826, allocations: 0.7837 MB / 0.7569 GB, free: 113.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/0.8858, allocations: 0.5274 MB / 0.7574 GB, free: 113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/0.9106, allocations: 10.72 MB / 0.7679 GB, free: 108 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/0.9114, allocations: 1.259 MB / 0.7691 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00128/0.9127, allocations: 296.8 kB / 0.7694 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009966/0.9137, allocations: 0.7118 MB / 0.7701 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of SimCode: time 3.867e-06/0.9137, allocations: 0 / 0.7701 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.024, allocations: 45.76 MB / 0.8148 GB, free: 64.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16.3, allocations: 13.69 kB / 0.8148 GB, free: 64.81 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv --start-time 0 --stop-time 20 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv failed! Error: Could not read variable source1.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv. Warning: Get data of variable source1.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv failed! Error: Could not read variable source2.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv. Warning: Get data of variable source2.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.81285733700497]