Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.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.00109/0.00109, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00107/0.00107, allocations: 177 kB / 23.36 MB, free: 1.133 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.947/0.947, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.796/0.796, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.408e-05, allocations: 3.922 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.002642/0.002656, allocations: 2.448 MB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.005089, allocations: 1.714 MB / 484.6 MB, free: 2.367 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.005279, allocations: 11.88 kB / 484.6 MB, free: 2.355 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.005753, allocations: 333.2 kB / 484.9 MB, free: 2.031 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005602/0.006313, allocations: 436.1 kB / 485.3 MB, free: 1.605 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.006761, allocations: 291.3 kB / 485.6 MB, free: 1.32 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.007378, allocations: 0.7788 MB / 486.4 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.007525, allocations: 54.77 kB / 486.4 MB, free: 488 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.008595, allocations: 0.5983 MB / 487 MB, free: 15.96 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.00885, allocations: 284.5 kB / 487.3 MB, free: 15.68 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.008888, allocations: 29.78 kB / 487.3 MB, free: 15.66 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.009016, allocations: 87.91 kB / 487.4 MB, free: 15.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.009151, allocations: 203.2 kB / 487.6 MB, free: 15.37 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.009259, allocations: 143.4 kB / 487.8 MB, free: 15.23 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.009668, allocations: 0.4902 MB / 488.3 MB, free: 14.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.00967, allocations: 1.812 kB / 488.3 MB, free: 14.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.00967, allocations: 0 / 488.3 MB, free: 14.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.009676, allocations: 0 / 488.3 MB, free: 14.74 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008177/0.01049, allocations: 0.9298 MB / 489.2 MB, free: 13.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.01052, allocations: 8.031 kB / 489.2 MB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.01059, allocations: 52.88 kB / 489.2 MB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.01106, allocations: 494.8 kB / 489.7 MB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.01108, allocations: 13.7 kB / 489.7 MB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.01111, allocations: 16.36 kB / 489.8 MB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.01129, allocations: 174.5 kB / 489.9 MB, free: 13 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.0113, allocations: 4.562 kB / 489.9 MB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.01131, allocations: 0.625 kB / 489.9 MB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.01132, allocations: 4.844 kB / 489.9 MB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.575e-05/0.01138, allocations: 58.61 kB / 490 MB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.01196, allocations: 0.6672 MB / 490.7 MB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.01219, allocations: 422.2 kB / 491.1 MB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.01225, allocations: 61.27 kB / 491.1 MB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.01226, allocations: 8.609 kB / 491.1 MB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.01243, allocations: 183.5 kB / 491.3 MB, free: 11.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/0.01243, allocations: 4.938 kB / 491.3 MB, free: 11.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002515/0.01268, allocations: 212.1 kB / 491.5 MB, free: 11.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.01274, allocations: 167.4 kB / 491.7 MB, free: 11.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.01322, allocations: 0.7083 MB / 492.4 MB, free: 10.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.01324, allocations: 37.7 kB / 492.4 MB, free: 10.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/0.01333, allocations: 187.9 kB / 492.6 MB, free: 10.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.01339, allocations: 79.39 kB / 492.7 MB, free: 10.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.01348, allocations: 110.1 kB / 492.8 MB, free: 9.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.01356, allocations: 330.8 kB / 493.1 MB, free: 9.582 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.01363, allocations: 47.8 kB / 493.2 MB, free: 9.535 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.01373, allocations: 147.8 kB / 493.3 MB, free: 9.355 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.01392, allocations: 228.6 kB / 493.5 MB, free: 9.098 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.01392, allocations: 3.938 kB / 493.6 MB, free: 9.094 MB / 458.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0002848/0.01421, allocations: 300 kB / 493.8 MB, free: 8.793 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01422, allocations: 8 kB / 493.9 MB, free: 8.785 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01423, allocations: 0 / 493.9 MB, free: 8.785 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.01424, allocations: 8 kB / 493.9 MB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.01443, allocations: 88.5 kB / 493.9 MB, free: 8.691 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01443, allocations: 8.531 kB / 494 MB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.01455, allocations: 37.27 kB / 494 MB, free: 8.648 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.01457, allocations: 16 kB / 494 MB, free: 8.633 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.000118/0.01469, allocations: 165.4 kB / 494.2 MB, free: 8.465 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.01474, allocations: 49.48 kB / 494.2 MB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.01495, allocations: 205.2 kB / 494.4 MB, free: 8.207 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01496, allocations: 4.062 kB / 494.4 MB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01496, allocations: 8.719 kB / 494.4 MB, free: 8.195 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01496, allocations: 3.984 kB / 494.4 MB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.01517, allocations: 246.5 kB / 494.7 MB, free: 7.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01517, allocations: 4 kB / 494.7 MB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.01522, allocations: 27.98 kB / 494.7 MB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01522, allocations: 8.469 kB / 494.7 MB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01523, allocations: 10.02 kB / 494.7 MB, free: 7.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01524, allocations: 7.938 kB / 494.7 MB, free: 7.879 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01524, allocations: 0 / 494.7 MB, free: 7.879 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.01543, allocations: 238.2 kB / 495 MB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.01549, allocations: 83.34 kB / 495 MB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.01554, allocations: 12.94 kB / 495.1 MB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.01561, allocations: 11.98 kB / 495.1 MB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.01565, allocations: 33.33 kB / 495.1 MB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.01567, allocations: 12 kB / 495.1 MB, free: 7.465 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000254/0.01592, allocations: 347.3 kB / 495.5 MB, free: 7.125 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01592, allocations: 0 / 495.5 MB, free: 7.125 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.01615, allocations: 113.6 kB / 495.6 MB, free: 7.016 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00122/0.01737, allocations: 0.6079 MB / 496.2 MB, free: 6.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.0176, allocations: 183 kB / 496.4 MB, free: 6.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.01761, allocations: 8 kB / 496.4 MB, free: 6.582 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.631e-05/0.01768, allocations: 77.62 kB / 496.4 MB, free: 6.504 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.0181, allocations: 243 kB / 496.7 MB, free: 6.297 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.01895, allocations: 0.96 MB / 497.6 MB, free: 5.293 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.725e-05/0.01905, allocations: 172.7 kB / 497.8 MB, free: 5.105 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.0192, allocations: 99.81 kB / 497.9 MB, free: 5.008 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.01943, allocations: 185.3 kB / 498.1 MB, free: 4.828 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01944, allocations: 0 / 498.1 MB, free: 4.828 MB / 458.7 MB Notification: Performance of Templates: time 0.01161/0.03104, allocations: 9.372 MB / 0.4956 GB, free: 11.93 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.825510784983635]