Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.05793/0.05793, allocations: 9.126 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008734/0.0008734, allocations: 87.28 kB / 35.32 MB, free: 1.074 MB / 24.77 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.001072/0.001072, allocations: 164 kB / 38.73 MB, free: 2.508 MB / 24.77 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.039/1.039, allocations: 177.2 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003921/0.003921, allocations: 0.8249 MB / 276.5 MB, free: 0.7188 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.719/1.719, allocations: 274.9 MB / 0.5419 GB, free: 0.5859 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 3.938 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.923e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001784/0.001813, allocations: 0.8129 MB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.003248, allocations: 1.306 MB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.003305, allocations: 0 / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.003341, allocations: 15.86 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.389e-05/0.003425, allocations: 27.73 kB / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.003932, allocations: 243.4 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.004163, allocations: 255.6 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.004296, allocations: 49.83 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.004453, allocations: 147.8 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.004594, allocations: 79.8 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.004624, allocations: 20 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.00471, allocations: 39.97 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.004747, allocations: 35.89 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.004806, allocations: 71.75 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.005003, allocations: 187.5 kB / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.005006, allocations: 0 / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.303e-06/0.005007, allocations: 0 / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.005013, allocations: 7.938 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004295/0.005443, allocations: 391.5 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.005477, allocations: 11.98 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.005529, allocations: 32.91 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.005699, allocations: 141.5 kB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.005714, allocations: 16.36 kB / 0.6417 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.005739, allocations: 20.38 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.005852, allocations: 98.16 kB / 0.6418 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00586, allocations: 192 / 0.6418 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/0.006164, allocations: 12.36 kB / 0.6418 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.00617, allocations: 4.375 kB / 0.6418 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.006214, allocations: 35.92 kB / 0.6418 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.006549, allocations: 267.7 kB / 0.6421 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/0.006636, allocations: 58.55 kB / 0.6422 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.006658, allocations: 24.84 kB / 0.6422 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-06/0.006662, allocations: 0 / 0.6422 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.006807, allocations: 127.3 kB / 0.6423 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=16): time 9.91e-07/0.006808, allocations: 4 kB / 0.6423 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of matching and sorting (n=16): time 0.0001751/0.006983, allocations: 129.6 kB / 0.6424 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.007021, allocations: 63.39 kB / 0.6425 GB, free: 9.199 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.007101, allocations: 146.5 kB / 0.6426 GB, free: 9.043 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.007125, allocations: 33.7 kB / 0.6427 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.00718, allocations: 116.5 kB / 0.6428 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.007199, allocations: 35.69 kB / 0.6428 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.007268, allocations: 65.64 kB / 0.6429 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.007347, allocations: 322.8 kB / 0.6432 GB, free: 8.453 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.007432, allocations: 103.4 kB / 0.6433 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.007534, allocations: 167 kB / 0.6434 GB, free: 8.137 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.007664, allocations: 194.9 kB / 0.6436 GB, free: 7.906 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.007667, allocations: 0 / 0.6436 GB, free: 7.906 MB / 0.6043 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000231/0.007898, allocations: 300.8 kB / 0.6439 GB, free: 7.582 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.007942, allocations: 67.39 kB / 0.644 GB, free: 7.504 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.007949, allocations: 4 kB / 0.644 GB, free: 7.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.007963, allocations: 0 / 0.644 GB, free: 7.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.684e-05/0.00799, allocations: 11.94 kB / 0.644 GB, free: 7.488 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.007995, allocations: 4 kB / 0.644 GB, free: 7.484 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.008164, allocations: 52.03 kB / 0.644 GB, free: 7.434 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.008183, allocations: 16 kB / 0.6441 GB, free: 7.418 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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 8.979e-05/0.008273, allocations: 129.8 kB / 0.6442 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.008292, allocations: 15.98 kB / 0.6442 GB, free: 7.266 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.008328, allocations: 20.77 kB / 0.6442 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.00833, allocations: 0 / 0.6442 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.008332, allocations: 0 / 0.6442 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.008337, allocations: 3.938 kB / 0.6442 GB, free: 7.242 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.008567, allocations: 282.6 kB / 0.6445 GB, free: 6.941 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008569, allocations: 4 kB / 0.6445 GB, free: 6.938 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.008579, allocations: 4 kB / 0.6445 GB, free: 6.934 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008581, allocations: 0 / 0.6445 GB, free: 6.934 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.008589, allocations: 4 kB / 0.6445 GB, free: 6.93 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.008592, allocations: 3.984 kB / 0.6445 GB, free: 6.926 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.008594, allocations: 4 kB / 0.6445 GB, free: 6.922 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.008715, allocations: 199.4 kB / 0.6447 GB, free: 6.711 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.008726, allocations: 19.83 kB / 0.6447 GB, free: 6.691 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.00874, allocations: 8 kB / 0.6447 GB, free: 6.684 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.615e-05/0.008776, allocations: 3.984 kB / 0.6447 GB, free: 6.68 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.008806, allocations: 11.92 kB / 0.6447 GB, free: 6.668 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.008823, allocations: 19.98 kB / 0.6448 GB, free: 6.648 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.776e-05/0.008841, allocations: 16.84 kB / 0.6448 GB, free: 6.629 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.008841, allocations: 0 / 0.6448 GB, free: 6.629 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001731/0.009014, allocations: 51.92 kB / 0.6448 GB, free: 6.578 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000123/0.009137, allocations: 92.34 kB / 0.6449 GB, free: 6.48 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.009368, allocations: 299.3 kB / 0.6452 GB, free: 6.148 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.009372, allocations: 64 / 0.6452 GB, free: 6.148 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.009416, allocations: 56.77 kB / 0.6452 GB, free: 6.09 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.00959, allocations: 23.91 kB / 0.6453 GB, free: 6.066 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.009936, allocations: 249.2 kB / 0.6455 GB, free: 5.797 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.318e-05/0.009979, allocations: 67.84 kB / 0.6456 GB, free: 5.707 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.01001, allocations: 13.14 kB / 0.6456 GB, free: 5.695 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.01011, allocations: 91.34 kB / 0.6457 GB, free: 5.605 MB / 0.6043 GB Notification: Performance of SimCode: time 6.71e-07/0.01011, allocations: 0 / 0.6457 GB, free: 5.605 MB / 0.6043 GB Notification: Performance of Templates: time 0.004214/0.01433, allocations: 2.485 MB / 0.6481 GB, free: 3.121 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.513058301992714]