Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001398/0.001398, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001031/0.001031, allocations: 171.3 kB / 24.87 MB, free: 8.734 MB / 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.9499/0.9499, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.926/1.926, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.115e-05, allocations: 2.969 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.006621/0.006642, allocations: 7.334 MB / 0.8199 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003921/0.01056, allocations: 3.225 MB / 0.8231 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.01091, allocations: 19.81 kB / 0.8231 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.01156, allocations: 198.6 kB / 0.8233 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008139/0.01238, allocations: 488.8 kB / 0.8238 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.01355, allocations: 0.7296 MB / 0.8245 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009013/0.01445, allocations: 1.024 MB / 0.8255 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.01478, allocations: 282.8 kB / 0.8258 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008275/0.01561, allocations: 0.549 MB / 0.8263 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.0159, allocations: 271.8 kB / 0.8265 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.01594, allocations: 31.44 kB / 0.8266 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.01654, allocations: 467 kB / 0.827 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.01664, allocations: 103.5 kB / 0.8271 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.01675, allocations: 147.5 kB / 0.8273 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007135/0.01746, allocations: 0.6034 MB / 0.8279 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01747, allocations: 7.922 kB / 0.8279 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.51e-07/0.01747, allocations: 0 / 0.8279 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.01747, allocations: 0 / 0.8279 GB, free: 2.035 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00116/0.01863, allocations: 0.8581 MB / 0.8287 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.01867, allocations: 8.031 kB / 0.8287 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.01875, allocations: 70.14 kB / 0.8288 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.01913, allocations: 366.9 kB / 0.8291 GB, free: 0.6836 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.01915, allocations: 20.88 kB / 0.8291 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.01918, allocations: 35.92 kB / 0.8292 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.01938, allocations: 148.7 kB / 0.8293 GB, free: 488 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.01939, allocations: 0 / 0.8293 GB, free: 488 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.01941, allocations: 8 kB / 0.8293 GB, free: 480 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.01941, allocations: 4 kB / 0.8293 GB, free: 476 kB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.01949, allocations: 51.45 kB / 0.8294 GB, free: 428 kB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.02035, allocations: 0.6711 MB / 0.83 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.02047, allocations: 78.95 kB / 0.8301 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.0205, allocations: 31.73 kB / 0.8301 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.581e-05/0.02059, allocations: 19.98 kB / 0.8302 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.02061, allocations: 37.33 kB / 0.8302 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.02061, allocations: 4 kB / 0.8302 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=14): time 0.0002233/0.02083, allocations: 137.4 kB / 0.8303 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.02086, allocations: 63.34 kB / 0.8304 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.02111, allocations: 430.5 kB / 0.8308 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.02113, allocations: 29.7 kB / 0.8308 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.0214, allocations: 279.3 kB / 0.8311 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.02143, allocations: 51.52 kB / 0.8311 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.02153, allocations: 75.31 kB / 0.8312 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.02169, allocations: 0.5234 MB / 0.8317 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/0.02176, allocations: 27.67 kB / 0.8318 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.02196, allocations: 377 kB / 0.8321 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.02208, allocations: 85.45 kB / 0.8322 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02209, allocations: 4 kB / 0.8322 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002567/0.02234, allocations: 169.2 kB / 0.8324 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.02236, allocations: 11.94 kB / 0.8324 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.02236, allocations: 3.938 kB / 0.8324 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.02237, allocations: 0 / 0.8324 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.02254, allocations: 55.91 kB / 0.8324 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.02254, allocations: 0 / 0.8324 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.0227, allocations: 23.89 kB / 0.8325 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.02272, allocations: 7.984 kB / 0.8325 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001161/0.02284, allocations: 154.7 kB / 0.8326 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001957/0.02303, allocations: 389.5 kB / 0.833 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001211/0.02315, allocations: 100.8 kB / 0.8331 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.02315, allocations: 4 kB / 0.8331 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002508/0.0234, allocations: 181.2 kB / 0.8333 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.02341, allocations: 4 kB / 0.8333 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.02342, allocations: 3.938 kB / 0.8333 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/0.02342, allocations: 4 kB / 0.8333 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.02355, allocations: 39.92 kB / 0.8333 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.02356, allocations: 4 kB / 0.8333 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.02372, allocations: 27.88 kB / 0.8333 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.02373, allocations: 7.984 kB / 0.8333 GB, free: 11.98 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001201/0.02385, allocations: 284 kB / 0.8336 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.02392, allocations: 51.72 kB / 0.8337 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.0242, allocations: 162.9 kB / 0.8338 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.02421, allocations: 3.984 kB / 0.8338 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.02421, allocations: 192 / 0.8338 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.02421, allocations: 4 kB / 0.8338 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.025, allocations: 0.5352 MB / 0.8343 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.025, allocations: 0 / 0.8343 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.13e-05/0.02508, allocations: 32.11 kB / 0.8344 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.02509, allocations: 4 kB / 0.8344 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.0251, allocations: 0 / 0.8344 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.0251, allocations: 4 kB / 0.8344 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.0251, allocations: 0 / 0.8344 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.02535, allocations: 332.9 kB / 0.8347 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.02543, allocations: 59.66 kB / 0.8348 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.02546, allocations: 4 kB / 0.8348 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.02558, allocations: 4 kB / 0.8348 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.02563, allocations: 19.97 kB / 0.8348 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.02564, allocations: 8 kB / 0.8348 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001856/0.02582, allocations: 274.9 kB / 0.8351 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02582, allocations: 0 / 0.8351 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005624/0.02638, allocations: 195.6 kB / 0.8352 GB, free: 9.93 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001046/0.02743, allocations: 413.6 kB / 0.8356 GB, free: 9.637 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.02772, allocations: 175.4 kB / 0.8358 GB, free: 9.461 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.02772, allocations: 0 / 0.8358 GB, free: 9.461 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.02779, allocations: 43.61 kB / 0.8358 GB, free: 9.414 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.02848, allocations: 180.2 kB / 0.836 GB, free: 9.242 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.02971, allocations: 0.6779 MB / 0.8367 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.659e-05/0.0298, allocations: 117.3 kB / 0.8368 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.02998, allocations: 55.62 kB / 0.8368 GB, free: 8.328 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.03029, allocations: 206.1 kB / 0.837 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of SimCode: time 6.61e-07/0.03029, allocations: 0 / 0.837 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of Templates: time 0.01325/0.04355, allocations: 8.479 MB / 0.8453 GB, free: 15.87 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.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.397753887809813]