Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.0009651/0.0009651, allocations: 72.83 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001015/0.001015, allocations: 173 kB / 24.15 MB, free: 352 kB / 18.57 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.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6061/0.6061, allocations: 115 MB / 376 MB, free: 7.484 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 428.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.662e-05, allocations: 10.25 kB / 428.8 MB, free: 2.73 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.3553/0.3553, allocations: 145.8 MB / 0.5611 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003332/0.3587, allocations: 2.625 MB / 0.5637 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.3589, allocations: 19.81 kB / 0.5637 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003996/0.3593, allocations: 115.2 kB / 0.5638 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006199/0.3599, allocations: 331 kB / 0.5641 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.3611, allocations: 0.6355 MB / 0.5648 GB, free: 136 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.3633, allocations: 2.864 MB / 0.5676 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008915/0.3642, allocations: 0.7249 MB / 0.5683 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.3659, allocations: 1.395 MB / 0.5696 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008414/0.3667, allocations: 0.7043 MB / 0.5703 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.3668, allocations: 64 kB / 0.5704 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007686/0.3676, allocations: 494.9 kB / 0.5708 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.3679, allocations: 374.5 kB / 0.5712 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.3683, allocations: 458.8 kB / 0.5716 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.3696, allocations: 1.281 MB / 0.5729 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3696, allocations: 0 / 0.5729 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3696, allocations: 3.938 kB / 0.5729 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.442e-05/0.3697, allocations: 0 / 0.5729 GB, free: 7.762 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001664/0.3713, allocations: 1.68 MB / 0.5745 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3714, allocations: 15.97 kB / 0.5745 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/0.3718, allocations: 194.1 kB / 0.5747 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.3729, allocations: 0.9185 MB / 0.5756 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.3729, allocations: 69 kB / 0.5757 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.373, allocations: 92 kB / 0.5758 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.3735, allocations: 0.5461 MB / 0.5763 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3735, allocations: 3.938 kB / 0.5763 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.3735, allocations: 20 kB / 0.5763 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3736, allocations: 12 kB / 0.5764 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.3738, allocations: 187.1 kB / 0.5765 GB, free: 3.883 MB / 0.5105 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.002239/0.376, allocations: 2.901 MB / 0.5794 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3762, allocations: 178.4 kB / 0.5795 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.3766, allocations: 79.58 kB / 0.5796 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.3767, allocations: 23.98 kB / 0.5796 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.3769, allocations: 167.9 kB / 0.5798 GB, free: 412 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.352e-06/0.3769, allocations: 0 / 0.5798 GB, free: 412 kB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.0004582/0.3774, allocations: 273.2 kB / 0.5801 GB, free: 136 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3774, allocations: 81.11 kB / 0.5801 GB, free: 36 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/0.3782, allocations: 1.094 MB / 0.5812 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.3783, allocations: 53.64 kB / 0.5813 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.3785, allocations: 448.2 kB / 0.5817 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.3786, allocations: 111 kB / 0.5818 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.3788, allocations: 262.7 kB / 0.582 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.3789, allocations: 357.8 kB / 0.5824 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.379, allocations: 163.8 kB / 0.5825 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/0.3797, allocations: 1.54 MB / 0.584 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.3804, allocations: 1.098 MB / 0.5851 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.3804, allocations: 8 kB / 0.5851 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001116/0.3816, allocations: 0.846 MB / 0.5859 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.3816, allocations: 45.64 kB / 0.586 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.3816, allocations: 24 kB / 0.586 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/0.3816, allocations: 36.81 kB / 0.586 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.3822, allocations: 287.5 kB / 0.5863 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.648e-05/0.3822, allocations: 47.8 kB / 0.5864 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.3827, allocations: 158.9 kB / 0.5865 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.3828, allocations: 66.12 kB / 0.5866 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002679/0.383, allocations: 258.1 kB / 0.5868 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007199/0.3838, allocations: 1.534 MB / 0.5883 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007275/0.3845, allocations: 1.071 MB / 0.5894 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.945e-06/0.3845, allocations: 8 kB / 0.5894 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.000807/0.3853, allocations: 0.8485 MB / 0.5902 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.3853, allocations: 47.56 kB / 0.5902 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3853, allocations: 27.94 kB / 0.5903 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3854, allocations: 32 kB / 0.5903 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.3858, allocations: 279.5 kB / 0.5906 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.3858, allocations: 53.95 kB / 0.5906 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.3863, allocations: 123.9 kB / 0.5907 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.3863, allocations: 60 kB / 0.5908 GB, free: 3.172 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 1 * 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.0001611/0.3865, allocations: 283.6 kB / 0.5911 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.3866, allocations: 79.84 kB / 0.5911 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.3869, allocations: 241.4 kB / 0.5914 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3869, allocations: 4 kB / 0.5914 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3869, allocations: 0 / 0.5914 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3869, allocations: 3.984 kB / 0.5914 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.388, allocations: 0.8922 MB / 0.5923 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.388, allocations: 7.938 kB / 0.5923 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.3881, allocations: 59.95 kB / 0.5923 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3881, allocations: 4 kB / 0.5923 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.3881, allocations: 10.12 kB / 0.5923 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3881, allocations: 8.156 kB / 0.5923 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3881, allocations: 4 kB / 0.5923 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3884, allocations: 408.4 kB / 0.5927 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.3885, allocations: 135 kB / 0.5929 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.3886, allocations: 8 kB / 0.5929 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.3888, allocations: 15.98 kB / 0.5929 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.3888, allocations: 31.89 kB / 0.5929 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3888, allocations: 11.98 kB / 0.5929 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003697/0.3892, allocations: 0.5149 MB / 0.5934 GB, free: 364 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3892, allocations: 4 kB / 0.5934 GB, free: 360 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001027/0.3902, allocations: 0.5383 MB / 0.594 GB, free: 15.81 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002111/0.3904, allocations: 120.8 kB / 0.5941 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008156/0.3913, allocations: 0.9604 MB / 0.595 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/0.3913, allocations: 16 kB / 0.595 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.3914, allocations: 80.62 kB / 0.5951 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.3924, allocations: 452.6 kB / 0.5955 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.3944, allocations: 1.925 MB / 0.5974 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.3946, allocations: 305.9 kB / 0.5977 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004627/0.3951, allocations: 206.6 kB / 0.5979 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005737/0.3957, allocations: 373.1 kB / 0.5983 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of SimCode: time 1.222e-06/0.3957, allocations: 0 / 0.5983 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of Templates: time 0.02462/0.4203, allocations: 19.56 MB / 0.6174 GB, free: 8.344 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.003876517061144]