Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.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.0008666/0.0008666, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001256/0.001256, allocations: 173 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 1.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001658/0.001658, allocations: 245.9 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6669/0.6669, allocations: 138.4 MB / 402.2 MB, free: 0.5742 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.197e-05, allocations: 4.734 kB / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003276/0.003288, allocations: 3.056 MB / 465.3 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.005176, allocations: 1.208 MB / 466.6 MB, free: 14.22 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.00538, allocations: 11.59 kB / 466.6 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.005928, allocations: 121.9 kB / 466.7 MB, free: 14.15 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.006329, allocations: 211.9 kB / 466.9 MB, free: 14.02 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.006765, allocations: 218 kB / 467.1 MB, free: 13.87 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004876/0.007253, allocations: 0.5627 MB / 467.7 MB, free: 13.33 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.007582, allocations: 342.7 kB / 468 MB, free: 13 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.007836, allocations: 319.3 kB / 468.3 MB, free: 12.69 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.008127, allocations: 222.7 kB / 468.5 MB, free: 12.47 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.008166, allocations: 36 kB / 468.6 MB, free: 12.44 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.008322, allocations: 108.9 kB / 468.7 MB, free: 12.33 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.008429, allocations: 163.6 kB / 468.8 MB, free: 12.17 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.008547, allocations: 147.7 kB / 469 MB, free: 12.03 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.008876, allocations: 367.3 kB / 469.3 MB, free: 11.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.008879, allocations: 4.562 kB / 469.3 MB, free: 11.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.008879, allocations: 0 / 469.3 MB, free: 11.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.008884, allocations: 0.5625 kB / 469.3 MB, free: 11.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006253/0.009509, allocations: 0.5673 MB / 469.9 MB, free: 11.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.009539, allocations: 12.75 kB / 469.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004488/0.009988, allocations: 158.8 kB / 470.1 MB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.01022, allocations: 222 kB / 470.3 MB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.01027, allocations: 55.2 kB / 470.3 MB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.01031, allocations: 37.34 kB / 470.4 MB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.01066, allocations: 431.7 kB / 470.8 MB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01068, allocations: 1.188 kB / 470.8 MB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.0107, allocations: 24.95 kB / 470.8 MB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.01074, allocations: 33.47 kB / 470.9 MB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.01087, allocations: 103.6 kB / 471 MB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009934/0.01187, allocations: 1.109 MB / 472.1 MB, free: 8.816 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.01211, allocations: 130.9 kB / 472.2 MB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01221, allocations: 73.45 kB / 472.3 MB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.01223, allocations: 9.766 kB / 472.3 MB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.01225, allocations: 30.56 kB / 472.3 MB, free: 8.559 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/0.01225, allocations: 0.7031 kB / 472.3 MB, free: 8.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004711/0.01272, allocations: 231.6 kB / 472.5 MB, free: 8.328 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.01278, allocations: 69.05 kB / 472.6 MB, free: 8.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.01288, allocations: 195.5 kB / 472.8 MB, free: 8.047 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.0129, allocations: 29.7 kB / 472.8 MB, free: 8.012 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.01298, allocations: 216.8 kB / 473 MB, free: 7.797 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.01301, allocations: 63.42 kB / 473.1 MB, free: 7.734 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.01307, allocations: 54.92 kB / 473.1 MB, free: 7.676 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.01313, allocations: 326.8 kB / 473.5 MB, free: 7.348 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.01317, allocations: 34.34 kB / 473.5 MB, free: 7.312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.01326, allocations: 168.9 kB / 473.7 MB, free: 7.102 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.01338, allocations: 162.3 kB / 473.8 MB, free: 6.914 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01339, allocations: 0 / 473.8 MB, free: 6.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000262/0.01365, allocations: 211.5 kB / 474 MB, free: 6.699 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.01366, allocations: 4 kB / 474 MB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01366, allocations: 4.969 kB / 474 MB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.014, allocations: 128 kB / 474.2 MB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.01409, allocations: 43.97 kB / 474.2 MB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.01551, allocations: 2.477 MB / 476.7 MB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.0156, allocations: 28.53 kB / 476.7 MB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.01562, allocations: 12.81 kB / 476.7 MB, free: 3.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.603e-05/0.01569, allocations: 116 kB / 476.8 MB, free: 3.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.518e-05/0.01578, allocations: 160.1 kB / 477 MB, free: 3.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001102/0.01589, allocations: 158.6 kB / 477.1 MB, free: 3.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.01589, allocations: 0.9062 kB / 477.2 MB, free: 3.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0002206/0.01611, allocations: 196.7 kB / 477.3 MB, free: 3.121 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/0.01612, allocations: 10.03 kB / 477.4 MB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-06/0.01612, allocations: 0.875 kB / 477.4 MB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.0163, allocations: 77.86 kB / 477.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-05/0.0164, allocations: 58.94 kB / 477.5 MB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008672/0.01727, allocations: 1.277 MB / 478.8 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.01736, allocations: 23.88 kB / 478.8 MB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01737, allocations: 13.08 kB / 478.8 MB, free: 1.586 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 7.365e-05/0.01745, allocations: 201.4 kB / 479 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.01748, allocations: 15.98 kB / 479 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.01751, allocations: 30.36 kB / 479 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.01751, allocations: 5 kB / 479 MB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01751, allocations: 3.938 kB / 479.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01751, allocations: 0 / 479.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.01799, allocations: 0.5136 MB / 479.6 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01799, allocations: 0.5625 kB / 479.6 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.01805, allocations: 33.23 kB / 479.6 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/0.01829, allocations: 120.6 kB / 479.7 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.0183, allocations: 4 kB / 479.7 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.01945, allocations: 2.45 MB / 482.2 MB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01945, allocations: 4 kB / 482.2 MB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.01967, allocations: 273.7 kB / 482.4 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.01971, allocations: 28.64 kB / 482.5 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.01973, allocations: 7.984 kB / 482.5 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.0198, allocations: 9.375 kB / 482.5 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.01984, allocations: 20.72 kB / 482.5 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.01984, allocations: 4 kB / 482.5 MB, free: 13.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.191e-05/0.01989, allocations: 61.97 kB / 482.6 MB, free: 13.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01989, allocations: 0 / 482.6 MB, free: 13.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.02018, allocations: 175.5 kB / 482.7 MB, free: 13.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 7.253e-05/0.02026, allocations: 87.95 kB / 482.8 MB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006446/0.0209, allocations: 0.5983 MB / 483.4 MB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.02091, allocations: 4.531 kB / 483.4 MB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.02117, allocations: 314.6 kB / 483.7 MB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.02136, allocations: 46.48 kB / 483.8 MB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007218/0.02208, allocations: 0.5821 MB / 484.4 MB, free: 11.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.513e-05/0.02215, allocations: 117.5 kB / 484.5 MB, free: 11.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.477e-05/0.02222, allocations: 20.52 kB / 484.5 MB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.02233, allocations: 103.3 kB / 484.6 MB, free: 11.44 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02233, allocations: 0 / 484.6 MB, free: 11.44 MB / 442.7 MB Notification: Performance of Templates: time 0.006094/0.02842, allocations: 4.749 MB / 489.3 MB, free: 6.969 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.5340611110441387]