Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.001137/0.001137, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001227/0.001227, allocations: 161 kB / 23.82 MB, free: 0.75 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.9771/0.9771, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.966/1.966, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.[0-9,]+.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.[0-9,]+.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 0 / 0.8115 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.653e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002806/0.002843, allocations: 1.031 MB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.005035, allocations: 1.502 MB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.005141, allocations: 7.938 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.005267, allocations: 29.2 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.005378, allocations: 47.64 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.006404, allocations: 460.2 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.006999, allocations: 0.5091 MB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.007218, allocations: 88.16 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/0.007567, allocations: 287.6 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.007811, allocations: 155.6 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.013e-05/0.007901, allocations: 48.66 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.008025, allocations: 56 kB / 0.8156 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.154e-05/0.008106, allocations: 77 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.008284, allocations: 151.7 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.00875, allocations: 386.9 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.008752, allocations: 0 / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008753, allocations: 1.156 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.008761, allocations: 0 / 0.8162 GB, free: 12.89 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008639/0.009625, allocations: 0.7249 MB / 0.8169 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.009664, allocations: 13.41 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.009791, allocations: 52.75 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.01034, allocations: 290.9 kB / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.01036, allocations: 24.75 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.01041, allocations: 40.36 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.01068, allocations: 331.8 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.01069, allocations: 4.125 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.01071, allocations: 12.34 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.01072, allocations: 12.12 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.01083, allocations: 96.16 kB / 0.8178 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007109/0.01154, allocations: 0.677 MB / 0.8184 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.0117, allocations: 139 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.592e-05/0.0118, allocations: 107.4 kB / 0.8187 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.0118, allocations: 4 kB / 0.8187 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.01204, allocations: 332.5 kB / 0.819 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.01204, allocations: 0 / 0.819 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28): time 0.0004029/0.01244, allocations: 368.5 kB / 0.8194 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.01249, allocations: 111.3 kB / 0.8195 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.01267, allocations: 324.1 kB / 0.8198 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.01271, allocations: 38.23 kB / 0.8198 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.01281, allocations: 213.4 kB / 0.82 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.01285, allocations: 63.53 kB / 0.8201 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.01299, allocations: 147.3 kB / 0.8202 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.01311, allocations: 0.5118 MB / 0.8207 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.01336, allocations: 287.6 kB / 0.821 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.01366, allocations: 0.4903 MB / 0.8215 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.01403, allocations: 0.4902 MB / 0.8219 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.01403, allocations: 4.844 kB / 0.8219 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006937/0.01473, allocations: 0.8013 MB / 0.8227 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.01478, allocations: 122.8 kB / 0.8228 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01479, allocations: 4 kB / 0.8228 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.0148, allocations: 4 kB / 0.8228 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.01486, allocations: 22.05 kB / 0.8229 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.01486, allocations: 15.92 kB / 0.8229 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.01512, allocations: 108.6 kB / 0.823 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.01518, allocations: 63.92 kB / 0.8231 GB, free: 5.332 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0001218/0.0153, allocations: 211.8 kB / 0.8233 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.01534, allocations: 47.73 kB / 0.8233 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.01565, allocations: 310.2 kB / 0.8236 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01565, allocations: 5.688 kB / 0.8236 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01566, allocations: 0 / 0.8236 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01566, allocations: 0 / 0.8236 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.01617, allocations: 0.6509 MB / 0.8242 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01617, allocations: 0 / 0.8242 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.01621, allocations: 21.27 kB / 0.8243 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01621, allocations: 0 / 0.8243 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.01622, allocations: 8 kB / 0.8243 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01622, allocations: 0.625 kB / 0.8243 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01622, allocations: 0 / 0.8243 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.01651, allocations: 441.2 kB / 0.8247 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.01653, allocations: 27.75 kB / 0.8247 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.01655, allocations: 12.48 kB / 0.8247 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.01661, allocations: 14.17 kB / 0.8247 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.01665, allocations: 23.95 kB / 0.8248 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.01667, allocations: 16 kB / 0.8248 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001034/0.01677, allocations: 205.1 kB / 0.825 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01677, allocations: 0 / 0.825 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002601/0.01703, allocations: 95.94 kB / 0.8251 GB, free: 3.207 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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.0001152/0.01714, allocations: 123.2 kB / 0.8252 GB, free: 3.078 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005536/0.0177, allocations: 0.6913 MB / 0.8259 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.0177, allocations: 0 / 0.8259 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.01781, allocations: 128 kB / 0.826 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.01808, allocations: 64.56 kB / 0.826 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.01858, allocations: 491 kB / 0.8265 GB, free: 1.613 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.01869, allocations: 85.64 kB / 0.8266 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.014e-05/0.01878, allocations: 62.92 kB / 0.8266 GB, free: 1.449 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.01882, allocations: 36.48 kB / 0.8267 GB, free: 1.41 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.01882, allocations: 0 / 0.8267 GB, free: 1.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.006585/0.02541, allocations: 5.373 MB / 0.8319 GB, free: 12.17 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.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.524237127974629]