Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.001363/0.001363, 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.001491/0.001491, allocations: 173 kB / 23.36 MB, free: 1.129 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 1.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8877/0.8877, allocations: 154.9 MB / 415.1 MB, free: 236 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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 480.3 MB, free: 6.578 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.91e-05, allocations: 4.562 kB / 480.3 MB, free: 6.574 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006303/0.006322, allocations: 6.993 MB / 487.3 MB, free: 15.61 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.1341/0.1405, allocations: 147.2 MB / 0.6197 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.1417, allocations: 27.81 kB / 0.6197 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1429, allocations: 436.5 kB / 0.6201 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.1443, allocations: 0.8186 MB / 0.6209 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.146, allocations: 1.15 MB / 0.622 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.1476, allocations: 2.532 MB / 0.6245 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.1489, allocations: 0.786 MB / 0.6253 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.1502, allocations: 1.45 MB / 0.6267 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.151, allocations: 0.7245 MB / 0.6274 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.1513, allocations: 248 kB / 0.6276 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008555/0.1522, allocations: 0.6321 MB / 0.6283 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.1525, allocations: 0.5568 MB / 0.6288 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.1532, allocations: 0.7132 MB / 0.6295 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.1551, allocations: 2.044 MB / 0.6315 GB, free: 4 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1551, allocations: 0 / 0.6315 GB, free: 4 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1551, allocations: 0 / 0.6315 GB, free: 4 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.1552, allocations: 0 / 0.6315 GB, free: 4 kB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.002862/0.158, allocations: 2.221 MB / 0.6337 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1581, allocations: 12.03 kB / 0.6337 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005549/0.1636, allocations: 1.475 MB / 0.6351 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.1649, allocations: 0.7802 MB / 0.6359 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.554e-05/0.165, allocations: 127.4 kB / 0.636 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.1652, allocations: 160 kB / 0.6362 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.1679, allocations: 1.948 MB / 0.6381 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.1679, allocations: 0 / 0.6381 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.1681, allocations: 68 kB / 0.6381 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.1681, allocations: 40 kB / 0.6382 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.1703, allocations: 1.173 MB / 0.6393 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006022/0.1763, allocations: 3.386 MB / 0.6426 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.1783, allocations: 1.033 MB / 0.6436 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.1789, allocations: 437.3 kB / 0.644 GB, free: 2.918 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-05/0.179, allocations: 45.28 kB / 0.6441 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.18, allocations: 0.9137 MB / 0.645 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=139): time 3.145e-06/0.18, allocations: 0 / 0.645 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139): time 0.002748/0.1828, allocations: 1.28 MB / 0.6462 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.1829, allocations: 218.9 kB / 0.6464 GB, free: 376 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.1835, allocations: 0.7004 MB / 0.6471 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.1836, allocations: 53.7 kB / 0.6472 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.1839, allocations: 0.5578 MB / 0.6477 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.1843, allocations: 467.9 kB / 0.6482 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.1847, allocations: 266.6 kB / 0.6484 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1848, allocations: 361.8 kB / 0.6488 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/0.1853, allocations: 329.3 kB / 0.6491 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.186, allocations: 0.5921 MB / 0.6497 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.1871, allocations: 0.6988 MB / 0.6503 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.1871, allocations: 4 kB / 0.6503 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001678/0.1888, allocations: 0.9301 MB / 0.6512 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1888, allocations: 8 kB / 0.6513 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1888, allocations: 0 / 0.6513 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.1893, allocations: 124.7 kB / 0.6514 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.1907, allocations: 411.4 kB / 0.6518 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.1921, allocations: 1.317 MB / 0.6531 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.1931, allocations: 253.5 kB / 0.6533 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.1932, allocations: 51.92 kB / 0.6533 GB, free: 9.051 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003834/0.1936, allocations: 191 kB / 0.6535 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.1939, allocations: 115.9 kB / 0.6536 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.1962, allocations: 1.347 MB / 0.655 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.1962, allocations: 16 kB / 0.655 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1963, allocations: 0 / 0.655 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.1963, allocations: 7.969 kB / 0.655 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.1974, allocations: 1.002 MB / 0.656 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1974, allocations: 0 / 0.656 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.1987, allocations: 375.5 kB / 0.6563 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003758/0.1991, allocations: 112.8 kB / 0.6564 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.1992, allocations: 43.94 kB / 0.6565 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009926/0.2002, allocations: 1.332 MB / 0.6578 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2002, allocations: 0 / 0.6578 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.2019, allocations: 1.005 MB / 0.6587 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/0.2023, allocations: 214.7 kB / 0.6589 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.2025, allocations: 39.94 kB / 0.659 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009357/0.2035, allocations: 183.9 kB / 0.6592 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.2036, allocations: 113.1 kB / 0.6593 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.2037, allocations: 47.94 kB / 0.6593 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003639/0.2041, allocations: 369.6 kB / 0.6597 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2041, allocations: 0 / 0.6597 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001218/0.2053, allocations: 0.557 MB / 0.6602 GB, free: 1.836 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/0.2071, allocations: 0.7669 MB / 0.661 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.2087, allocations: 1.102 MB / 0.662 GB, free: 288 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.2087, allocations: 12 kB / 0.662 GB, free: 276 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009324/0.2097, allocations: 0.724 MB / 0.6628 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009234/0.2106, allocations: 408.8 kB / 0.6631 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.214, allocations: 2.678 MB / 0.6658 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.2142, allocations: 305.3 kB / 0.6661 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009159/0.2151, allocations: 361.8 kB / 0.6664 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009095/0.216, allocations: 414.9 kB / 0.6668 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of SimCode: time 3.41e-07/0.216, allocations: 0 / 0.6668 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.239/0.4551, allocations: 29.02 MB / 0.6951 GB, free: 70.77 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0302689303644]