Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.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.0009334/0.0009334, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009617/0.0009617, allocations: 181 kB / 24.09 MB, free: 420 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 0.9703/0.9703, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.912/1.912, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.[0-9,]+.|truArrConSam.y1.[0-9,]+.|truArrConGre.y1.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.[0-9,]+.|truArrConSam.y1.[0-9,]+.|truArrConGre.y1.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.812 GB, free: 352 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.384e-05, allocations: 2.312 kB / 0.812 GB, free: 348 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001647/0.00167, allocations: 0.9345 MB / 0.8129 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.003109, allocations: 1.44 MB / 0.8143 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.003193, allocations: 8.438 kB / 0.8143 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.003503, allocations: 72.88 kB / 0.8144 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.003563, allocations: 59.62 kB / 0.8144 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.004101, allocations: 321.2 kB / 0.8147 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.004425, allocations: 452.4 kB / 0.8152 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004531, allocations: 33.77 kB / 0.8152 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.004713, allocations: 235.6 kB / 0.8154 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.004907, allocations: 137.3 kB / 0.8156 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.004951, allocations: 36 kB / 0.8156 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.005056, allocations: 79.83 kB / 0.8157 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.005144, allocations: 76.33 kB / 0.8157 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.187e-05/0.005236, allocations: 119.7 kB / 0.8159 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.005502, allocations: 323.8 kB / 0.8162 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.005504, allocations: 0 / 0.8162 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005504, allocations: 0.5312 kB / 0.8162 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.005507, allocations: 1.562 kB / 0.8162 GB, free: 12.06 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000623/0.00613, allocations: 0.6814 MB / 0.8168 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.006165, allocations: 12.03 kB / 0.8168 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.00623, allocations: 40.8 kB / 0.8169 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.006454, allocations: 234.9 kB / 0.8171 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.006474, allocations: 20.3 kB / 0.8171 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.006507, allocations: 24.38 kB / 0.8172 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.006688, allocations: 195.4 kB / 0.8173 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.006696, allocations: 192 / 0.8173 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.006708, allocations: 8.375 kB / 0.8173 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.006715, allocations: 4.359 kB / 0.8173 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.006802, allocations: 127.7 kB / 0.8175 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.007337, allocations: 499.9 kB / 0.8179 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.007533, allocations: 187.9 kB / 0.8181 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.007618, allocations: 131.2 kB / 0.8183 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.072e-06/0.007624, allocations: 0 / 0.8183 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.007821, allocations: 260.2 kB / 0.8185 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 1.222e-06/0.007823, allocations: 0 / 0.8185 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.0004153/0.008238, allocations: 0.4964 MB / 0.819 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.008282, allocations: 114.8 kB / 0.8191 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.00843, allocations: 287.5 kB / 0.8194 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.008462, allocations: 37.7 kB / 0.8194 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.008542, allocations: 179.4 kB / 0.8196 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.008582, allocations: 69.53 kB / 0.8196 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.008688, allocations: 99.28 kB / 0.8197 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.008809, allocations: 0.5157 MB / 0.8202 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.008951, allocations: 222.7 kB / 0.8205 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.009211, allocations: 498.1 kB / 0.8209 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.009478, allocations: 437.1 kB / 0.8213 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.009481, allocations: 1.938 kB / 0.8213 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004731/0.009954, allocations: 0.603 MB / 0.8219 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.054e-05/0.01001, allocations: 140.7 kB / 0.8221 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01002, allocations: 0 / 0.8221 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.01003, allocations: 4 kB / 0.8221 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.0101, allocations: 32.89 kB / 0.8221 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.0101, allocations: 4 kB / 0.8221 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.01031, allocations: 76.42 kB / 0.8222 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.01034, allocations: 21.06 kB / 0.8222 GB, free: 5.258 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.truArrConSam.u,$PRE.truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConGre.iIdx,truArrConGre.iTru,truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.uIdx[2],truArrConGre.uIdx[1],truArrConGre.u,uTru.idx,$PRE.uTru.idx,uTru.y[1],$PRE.uTru.y[1],uIdx2.booPul.y,$PRE.uIdx2.booPul.y,uIdx1.booPul.y,$PRE.uIdx1.booPul.y,truArrConSam.iIdx,truArrConSam.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.uIdx[2],truArrConSam.uIdx[1],truArrConSam.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 4 * 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.0001443/0.01049, allocations: 274.5 kB / 0.8225 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.01053, allocations: 47.78 kB / 0.8225 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.01056, allocations: 18.66 kB / 0.8225 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01056, allocations: 4 kB / 0.8225 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01056, allocations: 0 / 0.8225 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01057, allocations: 3.984 kB / 0.8225 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.01111, allocations: 0.7124 MB / 0.8232 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01111, allocations: 4 kB / 0.8232 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.01114, allocations: 15.98 kB / 0.8232 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01114, allocations: 6.297 kB / 0.8233 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01115, allocations: 8 kB / 0.8233 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01115, allocations: 4 kB / 0.8233 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01115, allocations: 0 / 0.8233 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.01147, allocations: 0.5699 MB / 0.8238 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.01149, allocations: 19.8 kB / 0.8238 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.01152, allocations: 16.92 kB / 0.8239 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.0116, allocations: 15.98 kB / 0.8239 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.01166, allocations: 43.95 kB / 0.8239 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.01168, allocations: 13.12 kB / 0.8239 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.543e-05/0.01175, allocations: 181.7 kB / 0.8241 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01175, allocations: 0 / 0.8241 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002336/0.01199, allocations: 85.03 kB / 0.8242 GB, free: 3.113 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 (truArrConSam.u,truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConSam.uIdx[1],truArrConSam.uIdx[2],truArrConSam.y1[1],truArrConSam.y1[2],truArrConSam.iTru,truArrConSam.iIdx,uIdx1.booPul.y,uIdx2.booPul.y,uTru.y[1],uTru.idx,truArrConGre.uIdx[1],truArrConGre.uIdx[2],truArrConGre.y1[1],truArrConGre.y1[2],truArrConGre.y1[3],truArrConGre.y1[4],truArrConGre.iTru,truArrConGre.iIdx) * Number of discrete states: 10 (truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.iIdx,truArrConGre.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.iIdx,truArrConSam.iTru) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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.0001404/0.01213, allocations: 147.6 kB / 0.8243 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004249/0.01255, allocations: 0.6759 MB / 0.825 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01255, allocations: 0 / 0.825 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.0127, allocations: 301.7 kB / 0.8253 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.01295, allocations: 64.83 kB / 0.8253 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.01341, allocations: 0.4892 MB / 0.8258 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.283e-05/0.01345, allocations: 84.31 kB / 0.8259 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.705e-05/0.0135, allocations: 23.23 kB / 0.8259 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.01371, allocations: 170.1 kB / 0.8261 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of SimCode: time 7.02e-07/0.01371, allocations: 0.6562 kB / 0.8261 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of Templates: time 0.006482/0.02019, allocations: 5.73 MB / 0.8317 GB, free: 11.41 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.014909859281033]