Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.125/1.125, allocations: 175.7 MB / 480.2 MB, free: 2.777 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.36 kB / 0.6683 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2544, allocations: 94.54 MB / 0.7607 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.005028/0.2594, allocations: 2.643 MB / 0.7632 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.2616, allocations: 0.9079 MB / 0.7641 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.2619, allocations: 11.94 kB / 0.7641 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.2622, allocations: 63.38 kB / 0.7642 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.2623, allocations: 67.41 kB / 0.7643 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.2629, allocations: 246.8 kB / 0.7645 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.2635, allocations: 459.6 kB / 0.7649 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.2638, allocations: 149.2 kB / 0.7651 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.264, allocations: 143.4 kB / 0.7652 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.2642, allocations: 147.2 kB / 0.7654 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.756e-05/0.2643, allocations: 51.94 kB / 0.7654 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.057e-05/0.2643, allocations: 52 kB / 0.7655 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2644, allocations: 87.77 kB / 0.7655 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.2646, allocations: 191 kB / 0.7657 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000732/0.2653, allocations: 0.6188 MB / 0.7663 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2653, allocations: 4 kB / 0.7663 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2653, allocations: 0 / 0.7663 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.2653, allocations: 0 / 0.7663 GB, free: 10.46 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001072/0.2664, allocations: 0.6581 MB / 0.767 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.2665, allocations: 8.031 kB / 0.767 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.719e-05/0.2666, allocations: 44.66 kB / 0.767 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/0.2672, allocations: 395.5 kB / 0.7674 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.2672, allocations: 20.94 kB / 0.7674 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.2673, allocations: 28.31 kB / 0.7674 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.268, allocations: 329.7 kB / 0.7678 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.268, allocations: 4 kB / 0.7678 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.268, allocations: 15.98 kB / 0.7678 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.268, allocations: 4 kB / 0.7678 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.2686, allocations: 234.1 kB / 0.768 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.2703, allocations: 1.167 MB / 0.7691 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.2708, allocations: 224.5 kB / 0.7694 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.271, allocations: 96.77 kB / 0.7695 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.2711, allocations: 0 / 0.7695 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.2711, allocations: 38.56 kB / 0.7695 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.2711, allocations: 0 / 0.7695 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.000702/0.2718, allocations: 293.4 kB / 0.7698 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.2719, allocations: 81.09 kB / 0.7699 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.2723, allocations: 340.3 kB / 0.7702 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.2724, allocations: 29.7 kB / 0.7702 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.2725, allocations: 200.2 kB / 0.7704 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.2726, allocations: 55.58 kB / 0.7704 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.2727, allocations: 45.66 kB / 0.7705 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2728, allocations: 342.8 kB / 0.7708 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.273, allocations: 84.83 kB / 0.7709 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.2732, allocations: 120.9 kB / 0.771 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.2736, allocations: 192.2 kB / 0.7712 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2736, allocations: 0 / 0.7712 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004806/0.2741, allocations: 253.4 kB / 0.7714 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2741, allocations: 5.719 kB / 0.7714 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2741, allocations: 0 / 0.7714 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2741, allocations: 4 kB / 0.7714 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.2743, allocations: 27.98 kB / 0.7715 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2743, allocations: 0 / 0.7715 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.2745, allocations: 39.7 kB / 0.7715 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.2745, allocations: 4 kB / 0.7715 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002632/0.2747, allocations: 200.2 kB / 0.7717 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001634/0.2749, allocations: 107.3 kB / 0.7718 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002626/0.2752, allocations: 158.5 kB / 0.772 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.21e-07/0.2752, allocations: 0 / 0.772 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003745/0.2755, allocations: 230.7 kB / 0.7722 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2756, allocations: 8 kB / 0.7722 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.2756, allocations: 0 / 0.7722 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/0.2756, allocations: 0 / 0.7722 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.2757, allocations: 31.92 kB / 0.7722 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.2757, allocations: 0 / 0.7722 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2758, allocations: 23.83 kB / 0.7722 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.2758, allocations: 7.938 kB / 0.7722 GB, free: 4.102 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.276, allocations: 200.2 kB / 0.7724 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.276, allocations: 31.77 kB / 0.7725 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.25e-05/0.2761, allocations: 31.28 kB / 0.7725 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2761, allocations: 4 kB / 0.7725 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.2761, allocations: 3.984 kB / 0.7725 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2761, allocations: 3.938 kB / 0.7725 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.2766, allocations: 405.4 kB / 0.7729 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2766, allocations: 0 / 0.7729 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.2768, allocations: 31.92 kB / 0.7729 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2768, allocations: 0 / 0.7729 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.2768, allocations: 8 kB / 0.7729 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2768, allocations: 0 / 0.7729 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2768, allocations: 0 / 0.7729 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007492/0.2776, allocations: 446.4 kB / 0.7734 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.2777, allocations: 136.9 kB / 0.7735 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.2777, allocations: 64 / 0.7735 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2779, allocations: 15.98 kB / 0.7735 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.2779, allocations: 15.92 kB / 0.7735 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2779, allocations: 4 kB / 0.7735 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002654/0.2782, allocations: 235.1 kB / 0.7738 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2782, allocations: 0 / 0.7738 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003902/0.2786, allocations: 91.73 kB / 0.7738 GB, free: 2.379 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001471/0.2787, allocations: 99.19 kB / 0.7739 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006246/0.2794, allocations: 279.7 kB / 0.7742 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2794, allocations: 0 / 0.7742 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.2795, allocations: 87.91 kB / 0.7743 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/0.2801, allocations: 100 kB / 0.7744 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.2814, allocations: 0.554 MB / 0.7749 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.2818, allocations: 0.7791 MB / 0.7757 GB, free: 444 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.282, allocations: 30.28 kB / 0.7757 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.2821, allocations: 23.44 kB / 0.7757 GB, free: 388 kB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.2821, allocations: 0 / 0.7757 GB, free: 388 kB / 0.5762 GB Notification: Performance of Templates: time 0.008068/0.2901, allocations: 3.251 MB / 0.7789 GB, free: 13.16 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.331970339640975]