Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.001506/0.001506, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001746/0.001746, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.65/3.65, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.27 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4884, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006631/0.495, allocations: 3.817 MB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003737/0.4987, allocations: 1.742 MB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.499, allocations: 15.88 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.5005, allocations: 438.3 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006628/0.5011, allocations: 250.8 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.5019, allocations: 257.9 kB / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006889/0.5026, allocations: 0.5101 MB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005678/0.5031, allocations: 285.2 kB / 1.371 GB, free: 6.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.5034, allocations: 215.3 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005117/0.5039, allocations: 239.1 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.611e-05/0.504, allocations: 32 kB / 1.371 GB, free: 5.754 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.5043, allocations: 167.6 kB / 1.372 GB, free: 5.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.5045, allocations: 135.6 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.5047, allocations: 151.3 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.5054, allocations: 0.4981 MB / 1.372 GB, free: 4.809 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5054, allocations: 3.984 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5054, allocations: 0 / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.5054, allocations: 3.938 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001348/0.5068, allocations: 0.6024 MB / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5068, allocations: 8.031 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005918/0.5074, allocations: 88.64 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.5079, allocations: 241.6 kB / 1.373 GB, free: 3.809 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.5079, allocations: 29.02 kB / 1.373 GB, free: 3.781 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.508, allocations: 28.38 kB / 1.373 GB, free: 3.754 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/0.509, allocations: 0.5869 MB / 1.374 GB, free: 3.113 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.509, allocations: 0 / 1.374 GB, free: 3.113 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.509, allocations: 15.98 kB / 1.374 GB, free: 3.098 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.5091, allocations: 40.62 kB / 1.374 GB, free: 3.059 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.5099, allocations: 366.2 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.5121, allocations: 1.38 MB / 1.376 GB, free: 1.262 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/0.5128, allocations: 206.6 kB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.5131, allocations: 140.8 kB / 1.376 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.5132, allocations: 4 kB / 1.376 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.5132, allocations: 34.56 kB / 1.376 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.5132, allocations: 0 / 1.376 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001206/0.5144, allocations: 364.2 kB / 1.376 GB, free: 0.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.5145, allocations: 51.41 kB / 1.376 GB, free: 448 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.5148, allocations: 237 kB / 1.377 GB, free: 204 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.5148, allocations: 29.7 kB / 1.377 GB, free: 168 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.515, allocations: 220.3 kB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.571e-05/0.5151, allocations: 63.44 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.5152, allocations: 65.92 kB / 1.377 GB, free: 15.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.5154, allocations: 330.6 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.5156, allocations: 97.91 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.516, allocations: 245.2 kB / 1.378 GB, free: 15.08 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.5166, allocations: 310.7 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5166, allocations: 0 / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008348/0.5174, allocations: 370.2 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.5175, allocations: 13.72 kB / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5175, allocations: 4 kB / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.5177, allocations: 40.81 kB / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.518, allocations: 63.91 kB / 1.378 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.5195, allocations: 1.338 MB / 1.38 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.5198, allocations: 39.77 kB / 1.38 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.5198, allocations: 12 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003962/0.5202, allocations: 220.8 kB / 1.38 GB, free: 12.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003546/0.5205, allocations: 232.9 kB / 1.38 GB, free: 12.24 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005748/0.5211, allocations: 319.6 kB / 1.38 GB, free: 11.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.5211, allocations: 4 kB / 1.38 GB, free: 11.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007537/0.5219, allocations: 354.1 kB / 1.381 GB, free: 11.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5219, allocations: 8 kB / 1.381 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5219, allocations: 4 kB / 1.381 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.522, allocations: 28.84 kB / 1.381 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.5223, allocations: 63.89 kB / 1.381 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.5234, allocations: 1.288 MB / 1.382 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.5237, allocations: 43.7 kB / 1.382 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.5237, allocations: 15.94 kB / 1.382 GB, free: 9.965 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.5239, allocations: 192.2 kB / 1.382 GB, free: 9.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.5239, allocations: 27.86 kB / 1.382 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.524, allocations: 34.25 kB / 1.382 GB, free: 9.711 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.524, allocations: 4 kB / 1.382 GB, free: 9.707 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.524, allocations: 3.938 kB / 1.382 GB, free: 9.703 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.524, allocations: 3.984 kB / 1.382 GB, free: 9.699 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.5252, allocations: 0.5994 MB / 1.383 GB, free: 9.055 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5252, allocations: 8.047 kB / 1.383 GB, free: 9.047 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.5254, allocations: 39.91 kB / 1.383 GB, free: 9.008 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.5255, allocations: 28.84 kB / 1.383 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.5255, allocations: 4 kB / 1.383 GB, free: 8.973 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.5267, allocations: 1.292 MB / 1.384 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5267, allocations: 0 / 1.384 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.5274, allocations: 369.7 kB / 1.385 GB, free: 7.191 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.48e-05/0.5275, allocations: 35.78 kB / 1.385 GB, free: 7.156 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.5275, allocations: 7.984 kB / 1.385 GB, free: 7.148 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.5277, allocations: 24.02 kB / 1.385 GB, free: 7.125 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.5278, allocations: 15.97 kB / 1.385 GB, free: 7.109 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.5278, allocations: 8 kB / 1.385 GB, free: 7.102 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001818/0.528, allocations: 160.5 kB / 1.385 GB, free: 6.941 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.528, allocations: 3.938 kB / 1.385 GB, free: 6.938 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000638/0.5286, allocations: 151.6 kB / 1.385 GB, free: 6.789 MB / 1.076 GB 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 (18): * Single equations (assignments): 17 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001646/0.5288, allocations: 104.3 kB / 1.385 GB, free: 6.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.5301, allocations: 0.595 MB / 1.386 GB, free: 6.062 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5301, allocations: 0 / 1.386 GB, free: 6.062 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.5306, allocations: 214.5 kB / 1.386 GB, free: 5.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.5311, allocations: 64.5 kB / 1.386 GB, free: 5.781 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.5322, allocations: 0.555 MB / 1.387 GB, free: 5.199 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.5325, allocations: 200.4 kB / 1.387 GB, free: 4.977 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.5327, allocations: 74.22 kB / 1.387 GB, free: 4.906 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.5328, allocations: 27.42 kB / 1.387 GB, free: 4.879 MB / 1.076 GB Notification: Performance of SimCode: time 2.71e-07/0.5328, allocations: 0 / 1.387 GB, free: 4.879 MB / 1.076 GB Notification: Performance of Templates: time 0.01093/0.5437, allocations: 4.051 MB / 1.391 GB, free: 0.9023 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.5518056768924]