Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001004/0.001004, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.0009145/0.0009145, allocations: 177 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.9345/0.9345, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5607/0.5607, allocations: 110.3 MB / 371.3 MB, free: 12.35 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 475.6 MB, free: 15.01 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.729e-05, allocations: 7.359 kB / 475.6 MB, free: 15.01 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1539/0.1539, allocations: 147 MB / 0.6081 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000884/0.1548, allocations: 0.5725 MB / 0.6086 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.155, allocations: 11.94 kB / 0.6086 GB, free: 11.02 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.1554, allocations: 127.1 kB / 0.6087 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.1556, allocations: 91.38 kB / 0.6088 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1568, allocations: 0.5446 MB / 0.6094 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.1572, allocations: 426.5 kB / 0.6098 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1574, allocations: 88.25 kB / 0.6099 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.1577, allocations: 243.3 kB / 0.6101 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1579, allocations: 131.6 kB / 0.6102 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.1579, allocations: 20 kB / 0.6102 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005578/0.1585, allocations: 386.7 kB / 0.6106 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.1586, allocations: 75.72 kB / 0.6107 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.466e-05/0.1586, allocations: 63.84 kB / 0.6107 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.1591, allocations: 390.6 kB / 0.6111 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1591, allocations: 0 / 0.6111 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1591, allocations: 0 / 0.6111 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1591, allocations: 4 kB / 0.6111 GB, free: 8.461 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004308/0.1595, allocations: 0.5464 MB / 0.6116 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1596, allocations: 12.03 kB / 0.6117 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.1598, allocations: 72.72 kB / 0.6117 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.16, allocations: 200.3 kB / 0.6119 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.1601, allocations: 246 kB / 0.6121 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1601, allocations: 20 kB / 0.6122 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.1604, allocations: 277.8 kB / 0.6124 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1604, allocations: 3.938 kB / 0.6124 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1604, allocations: 8 kB / 0.6124 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1604, allocations: 4 kB / 0.6124 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.681e-05/0.1605, allocations: 93.08 kB / 0.6125 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000903/0.1614, allocations: 1.982 MB / 0.6145 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.396e-05/0.1615, allocations: 265.4 kB / 0.6147 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.1615, allocations: 130.9 kB / 0.6149 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1615, allocations: 119.2 kB / 0.615 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.1616, allocations: 160.5 kB / 0.6151 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.1616, allocations: 0 / 0.6151 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 5.879e-05/0.1616, allocations: 45.55 kB / 0.6152 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.1617, allocations: 182.6 kB / 0.6153 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.1619, allocations: 262.5 kB / 0.6156 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.1619, allocations: 25.7 kB / 0.6156 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.162, allocations: 258.3 kB / 0.6159 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-06/0.162, allocations: 0 / 0.6159 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.1621, allocations: 55.3 kB / 0.6159 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1622, allocations: 0.4884 MB / 0.6164 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.1622, allocations: 11.98 kB / 0.6164 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.1623, allocations: 186.2 kB / 0.6166 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.1624, allocations: 237.4 kB / 0.6168 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.1624, allocations: 0 / 0.6168 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002157/0.1627, allocations: 173.7 kB / 0.617 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1627, allocations: 10.33 kB / 0.617 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1627, allocations: 8.031 kB / 0.617 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1627, allocations: 8 kB / 0.617 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.1628, allocations: 35.92 kB / 0.617 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1628, allocations: 11.94 kB / 0.617 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.1629, allocations: 27.84 kB / 0.6171 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1629, allocations: 8 kB / 0.6171 GB, free: 1.836 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.811e-05/0.163, allocations: 287.6 kB / 0.6173 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.163, allocations: 164.8 kB / 0.6175 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.1631, allocations: 157.4 kB / 0.6177 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.798e-05/0.1632, allocations: 272 kB / 0.6179 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.3e-05/0.1632, allocations: 272.1 kB / 0.6182 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.524e-05/0.1633, allocations: 268 kB / 0.6184 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.1635, allocations: 0.5083 MB / 0.6189 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-05/0.1635, allocations: 148.8 kB / 0.6191 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.1635, allocations: 148.8 kB / 0.6192 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-05/0.1636, allocations: 272.1 kB / 0.6195 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.1637, allocations: 268 kB / 0.6197 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.425e-05/0.1637, allocations: 268 kB / 0.62 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.703e-05/0.1638, allocations: 268.1 kB / 0.6202 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.1639, allocations: 459.9 kB / 0.6207 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.1639, allocations: 164.8 kB / 0.6208 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.164, allocations: 272.3 kB / 0.6211 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1641, allocations: 148.8 kB / 0.6212 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1641, allocations: 272 kB / 0.6215 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.1642, allocations: 148.9 kB / 0.6216 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.616e-05/0.1643, allocations: 175.2 kB / 0.6218 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.1643, allocations: 0 / 0.6218 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000237/0.1645, allocations: 63.78 kB / 0.6219 GB, free: 12.74 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000178/0.1647, allocations: 246.3 kB / 0.6221 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1648, allocations: 75.14 kB / 0.6222 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1648, allocations: 3.938 kB / 0.6222 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1648, allocations: 0 / 0.6222 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1651, allocations: 0.7177 MB / 0.6229 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.1656, allocations: 435.5 kB / 0.6233 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.1656, allocations: 75.81 kB / 0.6234 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.066e-05/0.1657, allocations: 23.92 kB / 0.6234 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.1658, allocations: 78.2 kB / 0.6235 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of SimCode: time 7.42e-07/0.1658, allocations: 4 kB / 0.6235 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of Templates: time 0.003147/0.1689, allocations: 1.347 MB / 0.6248 GB, free: 9.727 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.37988554360345]