Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.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.0008415/0.0008415, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008502/0.0008502, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8402/0.8402, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4757/0.4757, allocations: 80.17 MB / 340.1 MB, free: 7.535 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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(ThermofluidStream.Media.Tests.TestXRGMedia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.h|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU.inletA.m_flow|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX1.thermalElementA.1..h|discretizedHEX1.thermalElementA.2..h|discretizedHEX1.thermalElementA.3..h|discretizedHEX1.thermalElementB.1..h|discretizedHEX1.thermalElementB.2..h|discretizedHEX1.thermalElementB.3..h|discretizedHEX2.thermalElementA.1..h|discretizedHEX2.thermalElementA.2..h|discretizedHEX2.thermalElementA.3..h|discretizedHEX2.thermalElementB.1..h|discretizedHEX2.thermalElementB.2..h|discretizedHEX2.thermalElementB.3..h|discretizedHEX4.thermalElementA.1..h|discretizedHEX4.thermalElementA.2..h|discretizedHEX4.thermalElementA.3..h|discretizedHEX4.thermalElementB.1..h|discretizedHEX4.thermalElementB.2..h|discretizedHEX4.thermalElementB.3..h|pump.m_flow|receiver.M|receiver.U_med|sink2.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_out|volumeFlex.M|volumeFlex.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia") translateModel(ThermofluidStream.Media.Tests.TestXRGMedia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.h|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU.inletA.m_flow|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX1.thermalElementA.1..h|discretizedHEX1.thermalElementA.2..h|discretizedHEX1.thermalElementA.3..h|discretizedHEX1.thermalElementB.1..h|discretizedHEX1.thermalElementB.2..h|discretizedHEX1.thermalElementB.3..h|discretizedHEX2.thermalElementA.1..h|discretizedHEX2.thermalElementA.2..h|discretizedHEX2.thermalElementA.3..h|discretizedHEX2.thermalElementB.1..h|discretizedHEX2.thermalElementB.2..h|discretizedHEX2.thermalElementB.3..h|discretizedHEX4.thermalElementA.1..h|discretizedHEX4.thermalElementA.2..h|discretizedHEX4.thermalElementA.3..h|discretizedHEX4.thermalElementB.1..h|discretizedHEX4.thermalElementB.2..h|discretizedHEX4.thermalElementB.3..h|pump.m_flow|receiver.M|receiver.U_med|sink2.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_out|volumeFlex.M|volumeFlex.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.4936 GB, free: 6.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.733e-05, allocations: 10.22 kB / 0.4936 GB, free: 6.328 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.Tests.TestXRGMedia): time 0.7948/0.7949, allocations: 459.7 MB / 0.9425 GB, free: 404 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1879/0.9827, allocations: 297.3 MB / 1.233 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005772/0.9885, allocations: 241.9 kB / 1.233 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.008371/0.9969, allocations: 3.997 MB / 1.237 GB, free: 384 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.4888/1.486, allocations: 32.32 MB / 1.269 GB, free: 6.066 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.05885/1.544, allocations: 32.56 MB / 1.3 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0145/1.559, allocations: 16.96 MB / 1.317 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/1.562, allocations: 1.783 MB / 1.319 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1144/1.676, allocations: 128 MB / 1.444 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0124/1.688, allocations: 8.915 MB / 1.452 GB, free: 6.078 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.002175/1.691, allocations: 0.9531 MB / 1.453 GB, free: 5.125 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1318/1.822, allocations: 102.3 MB / 1.553 GB, free: 8.672 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.003556/1.826, allocations: 2.309 MB / 1.555 GB, free: 6.531 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.006696/1.833, allocations: 4.06 MB / 1.559 GB, free: 2.637 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.7218/2.554, allocations: 167 MB / 1.723 GB, free: 157.2 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/2.554, allocations: 2.688 kB / 1.723 GB, free: 157.2 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.623e-06/2.554, allocations: 0 / 1.723 GB, free: 157.2 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003256/2.555, allocations: 0.75 kB / 1.723 GB, free: 157.2 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2108 * Number of variables: 2108 Notification: Performance of Generate backend data structure: time 0.08803/2.643, allocations: 18.1 MB / 1.74 GB, free: 149.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/2.643, allocations: 10.66 kB / 1.74 GB, free: 149.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008511/2.651, allocations: 2.694 MB / 1.743 GB, free: 148.7 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008176/2.66, allocations: 5.761 MB / 1.748 GB, free: 147.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004842/2.66, allocations: 0.8295 MB / 1.749 GB, free: 147.2 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/2.661, allocations: 0.7284 MB / 1.75 GB, free: 147.2 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01744/2.679, allocations: 14.14 MB / 1.764 GB, free: 145 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.863e-05/2.679, allocations: 5.25 kB / 1.764 GB, free: 145 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006053/2.679, allocations: 303.8 kB / 1.764 GB, free: 145 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002451/2.68, allocations: 365.4 kB / 1.764 GB, free: 144.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/2.697, allocations: 13.99 MB / 1.778 GB, free: 144.9 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0351/2.732, allocations: 33.94 MB / 1.811 GB, free: 139.9 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/2.743, allocations: 9.577 MB / 1.821 GB, free: 139.7 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006299/2.75, allocations: 6.357 MB / 1.827 GB, free: 139.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04046/2.79, allocations: 27.55 MB / 1.854 GB, free: 127.6 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.73e-05/2.79, allocations: 123.5 kB / 1.854 GB, free: 127.5 MB / 1.182 GB Notification: Performance of pre-optimization done (n=1017): time 9.067e-06/2.79, allocations: 0 / 1.854 GB, free: 127.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=1032): time 0.05605/2.846, allocations: 37.85 MB / 1.891 GB, free: 95.14 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/2.846, allocations: 134 kB / 1.891 GB, free: 95 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0045/2.851, allocations: 4.795 MB / 1.896 GB, free: 90.23 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0007953/2.852, allocations: 161.6 kB / 1.896 GB, free: 90.06 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/2.853, allocations: 3.27 MB / 1.899 GB, free: 86.8 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001532/2.854, allocations: 3.519 MB / 1.902 GB, free: 83.34 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001728/2.856, allocations: 1.631 MB / 1.904 GB, free: 81.7 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 2.604e-05/2.856, allocations: 301.8 kB / 1.904 GB, free: 81.41 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005502/2.862, allocations: 5.735 MB / 1.91 GB, free: 75.66 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006351/2.868, allocations: 7.073 MB / 1.917 GB, free: 68.21 MB / 1.182 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance8.m_flow = flowResistance8.m_flow_0 (discretizedHEX2.m_flow_0_B = flowResistance8.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.inletA.m_flow = discretizedHEX.m_flow_0_A (discretizedHEX4.m_flow_0_B + discretizedHEX2.m_flow_0_B = discretizedHEX.m_flow_0_A) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX4.thermalElementA[3].deltaE_system = $START.discretizedHEX4.thermalElementA[3].deltaE_system (0.0 = $START.discretizedHEX4.thermalElementA[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX4.thermalElementA[2].deltaE_system = $START.discretizedHEX4.thermalElementA[2].deltaE_system (0.0 = $START.discretizedHEX4.thermalElementA[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX4.thermalElementA[1].deltaE_system = $START.discretizedHEX4.thermalElementA[1].deltaE_system (0.0 = $START.discretizedHEX4.thermalElementA[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX4.thermalElementB[3].deltaE_system = $START.discretizedHEX4.thermalElementB[3].deltaE_system (0.0 = $START.discretizedHEX4.thermalElementB[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX4.thermalElementB[2].deltaE_system = $START.discretizedHEX4.thermalElementB[2].deltaE_system (0.0 = $START.discretizedHEX4.thermalElementB[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX4.thermalElementB[1].deltaE_system = $START.discretizedHEX4.thermalElementB[1].deltaE_system (0.0 = $START.discretizedHEX4.thermalElementB[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX2.thermalElementA[3].deltaE_system = $START.discretizedHEX2.thermalElementA[3].deltaE_system (0.0 = $START.discretizedHEX2.thermalElementA[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX2.thermalElementA[2].deltaE_system = $START.discretizedHEX2.thermalElementA[2].deltaE_system (0.0 = $START.discretizedHEX2.thermalElementA[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX2.thermalElementA[1].deltaE_system = $START.discretizedHEX2.thermalElementA[1].deltaE_system (0.0 = $START.discretizedHEX2.thermalElementA[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX2.thermalElementB[3].deltaE_system = $START.discretizedHEX2.thermalElementB[3].deltaE_system (0.0 = $START.discretizedHEX2.thermalElementB[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX2.thermalElementB[2].deltaE_system = $START.discretizedHEX2.thermalElementB[2].deltaE_system (0.0 = $START.discretizedHEX2.thermalElementB[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX2.thermalElementB[1].deltaE_system = $START.discretizedHEX2.thermalElementB[1].deltaE_system (0.0 = $START.discretizedHEX2.thermalElementB[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX1.thermalElementA[3].deltaE_system = $START.discretizedHEX1.thermalElementA[3].deltaE_system (0.0 = $START.discretizedHEX1.thermalElementA[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX1.thermalElementA[2].deltaE_system = $START.discretizedHEX1.thermalElementA[2].deltaE_system (0.0 = $START.discretizedHEX1.thermalElementA[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX1.thermalElementA[1].deltaE_system = $START.discretizedHEX1.thermalElementA[1].deltaE_system (0.0 = $START.discretizedHEX1.thermalElementA[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX1.thermalElementB[3].deltaE_system = $START.discretizedHEX1.thermalElementB[3].deltaE_system (0.0 = $START.discretizedHEX1.thermalElementB[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX1.thermalElementB[2].deltaE_system = $START.discretizedHEX1.thermalElementB[2].deltaE_system (0.0 = $START.discretizedHEX1.thermalElementB[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX1.thermalElementB[1].deltaE_system = $START.discretizedHEX1.thermalElementB[1].deltaE_system (0.0 = $START.discretizedHEX1.thermalElementB[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[3].deltaE_system = $START.discretizedHEX.thermalElementA[3].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[2].deltaE_system = $START.discretizedHEX.thermalElementA[2].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[1].deltaE_system = $START.discretizedHEX.thermalElementA[1].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[3].deltaE_system = $START.discretizedHEX.thermalElementB[3].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[2].deltaE_system = $START.discretizedHEX.thermalElementB[2].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[1].deltaE_system = $START.discretizedHEX.thermalElementB[1].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system (0.0 = $START.conductionElement1.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.07448/2.942, allocations: 45.62 MB / 1.961 GB, free: 22.25 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-05/2.942, allocations: 11.94 kB / 1.961 GB, free: 22.24 MB / 1.182 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.01735/2.96, allocations: 15.7 MB / 1.977 GB, free: 6.605 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/2.96, allocations: 16 kB / 1.977 GB, free: 6.59 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01602/2.976, allocations: 14.07 MB / 1.99 GB, free: 8.438 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009126/2.985, allocations: 2.187 MB / 1.993 GB, free: 6.191 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/2.989, allocations: 1.755 MB / 1.994 GB, free: 4.512 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/3.01, allocations: 37.38 MB / 2.031 GB, free: 13.2 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005199/3.015, allocations: 0.5229 MB / 2.031 GB, free: 12.68 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007286/3.016, allocations: 378.1 kB / 2.032 GB, free: 12.31 MB / 1.245 GB Warning: The initial conditions are over specified. The following 28 initial equations are redundant, so they are removed from the initialization system: flowResistance8.m_flow = flowResistance8.m_flow_0 discretizedHEX.inletA.m_flow = discretizedHEX.m_flow_0_A discretizedHEX4.thermalElementA[3].deltaE_system = $START.discretizedHEX4.thermalElementA[3].deltaE_system discretizedHEX4.thermalElementA[2].deltaE_system = $START.discretizedHEX4.thermalElementA[2].deltaE_system discretizedHEX4.thermalElementA[1].deltaE_system = $START.discretizedHEX4.thermalElementA[1].deltaE_system discretizedHEX4.thermalElementB[3].deltaE_system = $START.discretizedHEX4.thermalElementB[3].deltaE_system discretizedHEX4.thermalElementB[2].deltaE_system = $START.discretizedHEX4.thermalElementB[2].deltaE_system discretizedHEX4.thermalElementB[1].deltaE_system = $START.discretizedHEX4.thermalElementB[1].deltaE_system discretizedHEX2.thermalElementA[3].deltaE_system = $START.discretizedHEX2.thermalElementA[3].deltaE_system discretizedHEX2.thermalElementA[2].deltaE_system = $START.discretizedHEX2.thermalElementA[2].deltaE_system discretizedHEX2.thermalElementA[1].deltaE_system = $START.discretizedHEX2.thermalElementA[1].deltaE_system discretizedHEX2.thermalElementB[3].deltaE_system = $START.discretizedHEX2.thermalElementB[3].deltaE_system discretizedHEX2.thermalElementB[2].deltaE_system = $START.discretizedHEX2.thermalElementB[2].deltaE_system discretizedHEX2.thermalElementB[1].deltaE_system = $START.discretizedHEX2.thermalElementB[1].deltaE_system discretizedHEX1.thermalElementA[3].deltaE_system = $START.discretizedHEX1.thermalElementA[3].deltaE_system discretizedHEX1.thermalElementA[2].deltaE_system = $START.discretizedHEX1.thermalElementA[2].deltaE_system discretizedHEX1.thermalElementA[1].deltaE_system = $START.discretizedHEX1.thermalElementA[1].deltaE_system discretizedHEX1.thermalElementB[3].deltaE_system = $START.discretizedHEX1.thermalElementB[3].deltaE_system discretizedHEX1.thermalElementB[2].deltaE_system = $START.discretizedHEX1.thermalElementB[2].deltaE_system discretizedHEX1.thermalElementB[1].deltaE_system = $START.discretizedHEX1.thermalElementB[1].deltaE_system discretizedHEX.thermalElementA[3].deltaE_system = $START.discretizedHEX.thermalElementA[3].deltaE_system discretizedHEX.thermalElementA[2].deltaE_system = $START.discretizedHEX.thermalElementA[2].deltaE_system discretizedHEX.thermalElementA[1].deltaE_system = $START.discretizedHEX.thermalElementA[1].deltaE_system discretizedHEX.thermalElementB[3].deltaE_system = $START.discretizedHEX.thermalElementB[3].deltaE_system discretizedHEX.thermalElementB[2].deltaE_system = $START.discretizedHEX.thermalElementB[2].deltaE_system discretizedHEX.thermalElementB[1].deltaE_system = $START.discretizedHEX.thermalElementB[1].deltaE_system conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 77 (volumeFlex.medium.phase,volume.medium.phase,receiver.medium.phase,volume.state_in.phase,conductionElement1.state.phase,conductionElement1.outlet.state.phase,basicControlValve.outlet.state.phase,source3.outlet.state.phase,flowResistance7.outlet.state.phase,sink.inlet.state.phase,dynamicPressureOutflow.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,source2.outlet.state.phase,nozzle.outlet.state.phase,splitterT2_1.splitterN.outlets[2].state.phase,junctionT2_1.outlet.state.phase,conductionElement.state.phase,conductionElement.outlet.state.phase,flowResistance5.outlet.state.phase,flowResistance5.inlet.state.phase,flowResistance4.outlet.state.phase,flowResistance2.outlet.state.phase,flowResistance1.outlet.state.phase,receiver.outlet.state.phase,receiver.inlet.state.phase,volumeFlex.inlet.state.phase,source1.outlet.state.phase,sink2.inlet.state.phase,discretizedHEX4.thermalElementA[3].state.phase,discretizedHEX4.thermalElementA[2].state.phase,discretizedHEX4.thermalElementA[2].outlet.state.phase,discretizedHEX4.thermalElementA[1].state.phase,discretizedHEX4.thermalElementA[1].outlet.state.phase,discretizedHEX4.thermalElementB[3].state.phase,discretizedHEX4.thermalElementB[2].state.phase,discretizedHEX4.thermalElementB[2].outlet.state.phase,discretizedHEX4.thermalElementB[1].state.phase,discretizedHEX4.thermalElementB[1].outlet.state.phase,discretizedHEX4.outletA.state.phase,discretizedHEX4.outletB.state.phase,sink1.inlet.state.phase,source.outlet.state.phase,counterFlowNTU.inletB.state.phase,counterFlowNTU.outletA.state.phase,discretizedHEX2.thermalElementA[3].state.phase,discretizedHEX2.thermalElementA[2].state.phase,discretizedHEX2.thermalElementA[2].outlet.state.phase,discretizedHEX2.thermalElementA[1].state.phase,discretizedHEX2.thermalElementA[1].outlet.state.phase,discretizedHEX2.thermalElementB[3].state.phase,discretizedHEX2.thermalElementB[2].state.phase,discretizedHEX2.thermalElementB[2].outlet.state.phase,discretizedHEX2.thermalElementB[1].state.phase,discretizedHEX2.thermalElementB[1].outlet.state.phase,discretizedHEX2.inletB.state.phase,discretizedHEX1.thermalElementA[3].state.phase,discretizedHEX1.thermalElementA[2].state.phase,discretizedHEX1.thermalElementA[2].outlet.state.phase,discretizedHEX1.thermalElementA[1].state.phase,discretizedHEX1.thermalElementA[1].outlet.state.phase,discretizedHEX1.thermalElementB[3].state.phase,discretizedHEX1.thermalElementB[2].state.phase,discretizedHEX1.thermalElementB[2].outlet.state.phase,discretizedHEX1.thermalElementB[1].state.phase,discretizedHEX1.thermalElementB[1].outlet.state.phase,discretizedHEX1.outletB.state.phase,discretizedHEX.thermalElementA[3].state.phase,discretizedHEX.thermalElementA[2].state.phase,discretizedHEX.thermalElementA[2].outlet.state.phase,discretizedHEX.thermalElementA[1].state.phase,discretizedHEX.thermalElementA[1].outlet.state.phase,discretizedHEX.thermalElementB[3].state.phase,discretizedHEX.thermalElementB[2].state.phase,discretizedHEX.thermalElementB[2].outlet.state.phase,discretizedHEX.thermalElementB[1].state.phase,discretizedHEX.thermalElementB[1].outlet.state.phase,discretizedHEX.inletB.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (817): * Single equations (assignments): 719 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 73 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,4,100.0%), (1,1,100.0%), (4,25,75.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,5,100.0%), (1,5,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,9,100.0%), (2,2,100.0%), (1,8,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (2,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.004535/3.021, allocations: 2.483 MB / 2.034 GB, free: 9.895 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/3.022, allocations: 0.8089 MB / 2.035 GB, free: 9.082 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03224/3.055, allocations: 34.67 MB / 2.069 GB, free: 6.316 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0202/3.075, allocations: 19.94 MB / 2.088 GB, free: 2.285 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/3.075, allocations: 19.94 kB / 2.088 GB, free: 2.266 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.816e-05/3.075, allocations: 51.8 kB / 2.088 GB, free: 2.215 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04241/3.117, allocations: 36.12 MB / 2.124 GB, free: 14.28 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02065/3.138, allocations: 19.23 MB / 2.142 GB, free: 10.96 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004149/3.142, allocations: 1.815 MB / 2.144 GB, free: 9.219 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004102/3.146, allocations: 2.207 MB / 2.146 GB, free: 6.945 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008548/3.147, allocations: 315.8 kB / 2.147 GB, free: 6.637 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3295/3.477, allocations: 38.1 MB / 2.184 GB, free: 0.6677 GB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/3.477, allocations: 12.98 kB / 2.184 GB, free: 0.6677 GB / 1.354 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0337/3.51, allocations: 28.74 MB / 2.212 GB, free: 0.6623 GB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004507/3.515, allocations: 2.372 MB / 2.214 GB, free: 0.6617 GB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009093/3.516, allocations: 214.7 kB / 2.214 GB, free: 0.6616 GB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/3.519, allocations: 0.6219 MB / 2.215 GB, free: 0.6615 GB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009722/3.52, allocations: 0.7337 MB / 2.216 GB, free: 0.6614 GB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005503/3.52, allocations: 368.8 kB / 2.216 GB, free: 0.6613 GB / 1.354 GB Notification: Performance of sorting global known variables: time 0.003192/3.523, allocations: 3.337 MB / 2.219 GB, free: 0.6602 GB / 1.354 GB Notification: Performance of sort global known variables: time 8e-08/3.523, allocations: 0 / 2.219 GB, free: 0.6602 GB / 1.354 GB Notification: Performance of remove unused functions: time 0.05254/3.576, allocations: 10.51 MB / 2.23 GB, free: 0.6592 GB / 1.354 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 42 (discretizedHEX.thermalElementB[1].h,discretizedHEX.thermalElementB[2].h,discretizedHEX.thermalElementB[3].h,discretizedHEX.thermalElementA[1].h,discretizedHEX.thermalElementA[2].h,discretizedHEX.thermalElementA[3].h,discretizedHEX1.thermalElementB[1].h,discretizedHEX1.thermalElementB[2].h,discretizedHEX1.thermalElementB[3].h,discretizedHEX1.thermalElementA[1].h,discretizedHEX1.thermalElementA[2].h,discretizedHEX1.thermalElementA[3].h,discretizedHEX2.thermalElementB[1].h,discretizedHEX2.thermalElementB[2].h,discretizedHEX2.thermalElementB[3].h,discretizedHEX2.thermalElementA[1].h,discretizedHEX2.thermalElementA[2].h,discretizedHEX2.thermalElementA[3].h,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,volume.M,volume.U_med,discretizedHEX4.thermalElementB[1].h,discretizedHEX4.thermalElementB[2].h,discretizedHEX4.thermalElementB[3].h,discretizedHEX4.thermalElementA[1].h,discretizedHEX4.thermalElementA[2].h,discretizedHEX4.thermalElementA[3].h,volumeFlex.M,volumeFlex.U_med,receiver.M,receiver.U_med,flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow,conductionElement.inlet.m_flow,conductionElement.h,flowResistance6.inlet.m_flow,conductionElement1.inlet.m_flow,conductionElement1.h,pump.m_flow,flowResistance8.inlet.m_flow) * Number of discrete variables: 207 (conductionElement1.outlet.state.phase,basicControlValve.outlet.state.phase,sink.inlet.state.phase,discretizedHEX4.outletA.state.phase,discretizedHEX4.thermalElementA[2].outlet.state.phase,discretizedHEX4.thermalElementA[1].outlet.state.phase,flowResistance5.outlet.state.phase,junctionT2_1.outlet.state.phase,flowResistance5.inlet.state.phase,receiver.outlet.state.phase,counterFlowNTU.inletB.state.phase,discretizedHEX2.inletB.state.phase,receiver.inlet.state.phase,discretizedHEX2.thermalElementB[2].outlet.state.phase,discretizedHEX2.thermalElementB[1].outlet.state.phase,conductionElement.outlet.state.phase,discretizedHEX4.thermalElementB[2].outlet.state.phase,discretizedHEX4.outletB.state.phase,discretizedHEX4.thermalElementB[1].outlet.state.phase,flowResistance4.outlet.state.phase,sink2.inlet.state.phase,volumeFlex.inlet.state.phase,discretizedHEX2.thermalElementA[2].outlet.state.phase,discretizedHEX2.thermalElementA[1].outlet.state.phase,sink1.inlet.state.phase,discretizedHEX.thermalElementB[2].outlet.state.phase,discretizedHEX.thermalElementB[1].outlet.state.phase,discretizedHEX.inletB.state.phase,discretizedHEX1.thermalElementA[2].outlet.state.phase,discretizedHEX1.thermalElementA[1].outlet.state.phase,discretizedHEX1.outletB.state.phase,discretizedHEX1.thermalElementB[2].outlet.state.phase,discretizedHEX1.thermalElementB[1].outlet.state.phase,discretizedHEX.thermalElementA[1].outlet.state.phase,discretizedHEX.thermalElementA[2].outlet.state.phase,splitterT2_1.splitterN.outlets[2].state.phase,$cse1.phase,$cse2,$cse4.phase,$cse5,$cse6.phase,$cse7,$cse8.phase,$cse9,$cse10.phase,$cse11,$cse12.phase,$cse13,$cse14.phase,$cse15,$cse18.phase,$cse19,$cse20.phase,$cse21,$cse22.phase,$cse23,$cse24.phase,$cse25,$cse26.phase,$cse27,$cse30.phase,$cse31,$cse36.phase,$cse37,$cse38.phase,$cse39,$cse40.phase,$cse41,$cse43.phase,$cse44,$cse46.phase,$cse47,$cse49.phase,$cse50,$cse51.phase,$cse52,$cse53.phase,$cse54,$cse55.phase,$cse56,$cse58.phase,$cse59,$cse61.phase,$cse62,$cse64.phase,$cse65,$cse66.phase,$cse67,$cse68.phase,$cse69,$cse70.phase,$cse71,$cse74.phase,$cse75,$cse78.phase,$cse79,$cse82.phase,$cse83,$cse84.phase,$cse85,$cse86.phase,$cse87,$cse88.phase,$cse89,$cse92.phase,$cse93,$cse96.phase,$cse97,$cse100.phase,$cse101,$cse102.phase,$cse104.phase,$cse106.phase,$cse107,$cse109.phase,$cse112.phase,$cse113.phase,$cse114.phase,$cse115,$cse116.phase,$cse117,$cse119.phase,$cse121.phase,$cse123.phase,$cse127.phase,$cse130.phase,$cse131,$cse132.phase,$cse133,$cse134.phase,$cse135,$cse136.phase,$cse137,$cse138.phase,$cse139,$cse140.phase,$cse141,$cse146.phase,$cse147,$cse149.phase,$cse150,$cse151.phase,$cse152,$cse153.phase,$cse156.phase,$cse157,$cse158.phase,$cse159,$cse160.phase,$cse161,$cse162.phase,$cse163,$cse164.phase,$cse165,$cse166.phase,$cse167,$cse172.phase,$cse173,$cse174.phase,$cse175,$cse176.phase,$cse177,$cse178.phase,$cse179,$cse182.phase,$cse183,$cse184.phase,$cse185,$cse186.phase,$cse187,$cse188.phase,$cse189,discretizedHEX.thermalElementB[1].state.phase,discretizedHEX.thermalElementB[2].state.phase,discretizedHEX.thermalElementB[3].state.phase,discretizedHEX.thermalElementA[1].state.phase,discretizedHEX.thermalElementA[2].state.phase,discretizedHEX.thermalElementA[3].state.phase,discretizedHEX1.thermalElementB[1].state.phase,discretizedHEX1.thermalElementB[2].state.phase,discretizedHEX1.thermalElementB[3].state.phase,discretizedHEX1.thermalElementA[1].state.phase,discretizedHEX1.thermalElementA[2].state.phase,discretizedHEX1.thermalElementA[3].state.phase,discretizedHEX2.thermalElementB[1].state.phase,discretizedHEX2.thermalElementB[2].state.phase,discretizedHEX2.thermalElementB[3].state.phase,discretizedHEX2.thermalElementA[1].state.phase,discretizedHEX2.thermalElementA[2].state.phase,discretizedHEX2.thermalElementA[3].state.phase,counterFlowNTU.outletA.state.phase,discretizedHEX4.thermalElementB[1].state.phase,discretizedHEX4.thermalElementB[2].state.phase,discretizedHEX4.thermalElementB[3].state.phase,discretizedHEX4.thermalElementA[1].state.phase,discretizedHEX4.thermalElementA[2].state.phase,discretizedHEX4.thermalElementA[3].state.phase,flowResistance1.outlet.state.phase,flowResistance2.outlet.state.phase,conductionElement.state.phase,nozzle.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,flowResistance7.outlet.state.phase,conductionElement1.state.phase,source.outlet.state.phase,source3.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (940): * Single equations (assignments): 798 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 116 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,5,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (4,25,75.0%), (1,5,100.0%), (1,8,100.0%), (2,2,100.0%), (1,1,100.0%), (1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,2), (1,1), (1,3), (2,4), (1,1), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2351/3.811, allocations: 81.35 MB / 2.309 GB, free: 0.6194 GB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.02047/3.831, allocations: 18.41 MB / 2.327 GB, free: 0.6034 GB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/3.831, allocations: 4.5 kB / 2.327 GB, free: 0.6034 GB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.009931/3.841, allocations: 11.03 MB / 2.338 GB, free: 0.5938 GB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/3.853, allocations: 4.805 MB / 2.342 GB, free: 0.5905 GB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02577/3.878, allocations: 26.99 MB / 2.369 GB, free: 0.5676 GB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003877/3.882, allocations: 5.638 MB / 2.374 GB, free: 0.5635 GB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002814/3.885, allocations: 0.8861 MB / 2.375 GB, free: 0.5628 GB / 1.354 GB Notification: Performance of SimCode: time 1.052e-06/3.885, allocations: 0 / 2.375 GB, free: 0.5628 GB / 1.354 GB Notification: Performance of Templates: time 1.458/5.344, allocations: 1.551 GB / 3.927 GB, free: 0.5363 GB / 1.354 GB " [Timeout remaining time 655] make -j1 -f ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.pipe >> ../files/ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.sim & ./ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Media.Tests.TestXRGMedia_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 49.53535604570061]