Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Media.Tests.TestXRGMedia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_dev_ThermofluidStream.Media.Tests.TestXRGMedia") translateModel(ThermofluidStream.Media.Tests.TestXRGMedia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_dev_ThermofluidStream.Media.Tests.TestXRGMedia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 106.2 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 196.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7367/0.7367, allocations: 93.68 MB / 384.4 MB, free: 5.516 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 79.88 kB / 463.6 MB, free: 6.523 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1359, allocations: 68.26 MB / 0.5194 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.Tests.TestXRGMedia): time 1.016/1.152, allocations: 487.8 MB / 0.9957 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.7558/1.907, allocations: 352.2 MB / 1.34 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007254/1.915, allocations: 190.8 kB / 1.34 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0129/1.928, allocations: 4.124 MB / 1.344 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.5959/2.524, allocations: 27.41 MB / 1.371 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.08252/2.606, allocations: 28 MB / 1.398 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01712/2.623, allocations: 15.07 MB / 1.413 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005399/2.629, allocations: 3.931 MB / 1.417 GB, free: 17.21 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2143/2.843, allocations: 130.7 MB / 1.544 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01872/2.862, allocations: 10.15 MB / 1.554 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.004089/2.866, allocations: 0.9531 MB / 1.555 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003/3.869, allocations: 376.8 MB / 1.923 GB, free: 217.3 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004078/3.873, allocations: 2.252 MB / 1.925 GB, free: 216.6 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.01203/3.885, allocations: 5.545 MB / 1.931 GB, free: 214.3 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.2799/4.165, allocations: 151.1 MB / 2.078 GB, free: 71.76 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/4.165, allocations: 0 / 2.078 GB, free: 71.76 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.854e-06/4.165, allocations: 0 / 2.078 GB, free: 71.76 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0004111/4.166, allocations: 0 / 2.078 GB, free: 71.76 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2096 * Number of variables: 2096 Notification: Performance of Generate backend data structure: time 0.09256/4.258, allocations: 17.5 MB / 2.095 GB, free: 56.26 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/4.258, allocations: 13.44 kB / 2.095 GB, free: 56.25 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/4.271, allocations: 1.986 MB / 2.097 GB, free: 54.48 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/4.282, allocations: 5.429 MB / 2.103 GB, free: 50.61 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006712/4.282, allocations: 0.6983 MB / 2.103 GB, free: 50.11 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/4.285, allocations: 0.7184 MB / 2.104 GB, free: 49.63 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03034/4.316, allocations: 12.63 MB / 2.116 GB, free: 40.9 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002008/4.316, allocations: 4.453 kB / 2.116 GB, free: 40.9 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001736/4.318, allocations: 297.4 kB / 2.117 GB, free: 40.83 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003076/4.318, allocations: 368.9 kB / 2.117 GB, free: 40.54 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02901/4.347, allocations: 13.76 MB / 2.13 GB, free: 31.23 MB / 1.186 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.07506/4.422, allocations: 51.44 MB / 2.181 GB, free: 4.586 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5409/4.963, allocations: 10.09 MB / 2.19 GB, free: 0.5869 GB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01173/4.975, allocations: 6.81 MB / 2.197 GB, free: 0.5869 GB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08202/5.057, allocations: 75.25 MB / 2.271 GB, free: 0.5285 GB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.719e-05/5.057, allocations: 117.8 kB / 2.271 GB, free: 0.5284 GB / 1.201 GB Notification: Performance of pre-optimization done (n=1017): time 1.136e-05/5.057, allocations: 0 / 2.271 GB, free: 0.5284 GB / 1.201 GB Notification: Performance of matching and sorting (n=1032): time 0.105/5.162, allocations: 39.15 MB / 2.309 GB, free: 0.5133 GB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/5.162, allocations: 129.4 kB / 2.309 GB, free: 0.5133 GB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006178/5.168, allocations: 4.732 MB / 2.314 GB, free: 0.5117 GB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001799/5.17, allocations: 157.9 kB / 2.314 GB, free: 0.5116 GB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001956/5.172, allocations: 3.145 MB / 2.317 GB, free: 0.5092 GB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.003474/5.176, allocations: 3.356 MB / 2.32 GB, free: 0.5067 GB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004288/5.18, allocations: 1.62 MB / 2.322 GB, free: 0.506 GB / 1.201 GB Notification: Performance of setup shared object (initialization): time 3.909e-05/5.18, allocations: 301.1 kB / 2.322 GB, free: 0.5057 GB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009895/5.19, allocations: 5.696 MB / 2.328 GB, free: 0.5029 GB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/5.201, allocations: 6.924 MB / 2.334 GB, free: 0.4987 GB / 1.201 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.1502/5.352, allocations: 47.6 MB / 2.381 GB, free: 479.4 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.163e-05/5.352, allocations: 10.91 kB / 2.381 GB, free: 479.4 MB / 1.201 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.03664/5.388, allocations: 15.58 MB / 2.396 GB, free: 464 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/5.388, allocations: 16 kB / 2.396 GB, free: 464 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.752e-05/5.389, allocations: 28 kB / 2.396 GB, free: 463.9 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01908/5.408, allocations: 2.226 MB / 2.398 GB, free: 461.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007942/5.416, allocations: 1.756 MB / 2.4 GB, free: 460 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02634/5.442, allocations: 40.14 MB / 2.439 GB, free: 417.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007937/5.45, allocations: 0.7666 MB / 2.44 GB, free: 416.6 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002195/5.452, allocations: 378.5 kB / 2.44 GB, free: 416.2 MB / 1.201 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: 115 * 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 (806): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 74 * 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%), (3,1,88.9%), (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.006735/5.459, allocations: 2.481 MB / 2.443 GB, free: 413.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003425/5.462, allocations: 0.7329 MB / 2.443 GB, free: 413.1 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05238/5.515, allocations: 34.17 MB / 2.477 GB, free: 379.2 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03362/5.548, allocations: 19.61 MB / 2.496 GB, free: 359.6 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.518e-05/5.549, allocations: 16 kB / 2.496 GB, free: 359.6 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002325/5.549, allocations: 60.38 kB / 2.496 GB, free: 359.5 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06398/5.613, allocations: 44.81 MB / 2.54 GB, free: 313.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001024/5.613, allocations: 12 kB / 2.54 GB, free: 313.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008076/5.621, allocations: 1.827 MB / 2.542 GB, free: 311.8 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007421/5.628, allocations: 2.23 MB / 2.544 GB, free: 309.6 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002315/5.631, allocations: 316.8 kB / 2.544 GB, free: 309.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02563/5.656, allocations: 40.9 MB / 2.584 GB, free: 265.6 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/5.656, allocations: 7.938 kB / 2.584 GB, free: 265.6 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04815/5.705, allocations: 28.37 MB / 2.612 GB, free: 236.9 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006242/5.711, allocations: 2.353 MB / 2.614 GB, free: 234.5 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002776/5.714, allocations: 223.8 kB / 2.614 GB, free: 234.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008495/5.722, allocations: 1.092 MB / 2.615 GB, free: 233.3 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002313/5.725, allocations: 0.6998 MB / 2.616 GB, free: 232.6 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001728/5.726, allocations: 367.8 kB / 2.616 GB, free: 232.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004941/5.731, allocations: 3.419 MB / 2.62 GB, free: 228.8 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.3e-07/5.731, allocations: 0 / 2.62 GB, free: 228.8 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0588/5.79, allocations: 10.24 MB / 2.63 GB, free: 219.8 MB / 1.201 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: 205 (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.thermalElementB[1].outlet.state.phase,discretizedHEX2.thermalElementB[2].outlet.state.phase,receiver.inlet.state.phase,discretizedHEX2.inletB.state.phase,conductionElement.outlet.state.phase,discretizedHEX4.outletB.state.phase,discretizedHEX4.thermalElementB[2].outlet.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[2].outlet.state.phase,splitterT2_1.splitterN.outlets[2].state.phase,discretizedHEX.thermalElementA[1].outlet.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,$cse110.phase,$cse112.phase,$cse113.phase,$cse114,$cse115.phase,$cse116,$cse118.phase,$cse120.phase,$cse122.phase,$cse126.phase,$cse129.phase,$cse130,$cse131.phase,$cse132,$cse133.phase,$cse134,$cse135.phase,$cse136,$cse137.phase,$cse138,$cse139.phase,$cse140,$cse145.phase,$cse146,$cse148.phase,$cse149,$cse150.phase,$cse151,$cse152.phase,$cse155.phase,$cse156,$cse157.phase,$cse158,$cse159.phase,$cse160,$cse161.phase,$cse162,$cse163.phase,$cse164,$cse165.phase,$cse166,$cse171.phase,$cse172,$cse173.phase,$cse174,$cse175.phase,$cse176,$cse177.phase,$cse178,$cse181.phase,$cse182,$cse183.phase,$cse184,$cse185.phase,$cse186,$cse187.phase,$cse188,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 (938): * Single equations (assignments): 796 * 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%), (3,1,88.9%), (1,1,100.0%), (1,4,100.0%), (1,9,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.4256/6.216, allocations: 80.12 MB / 2.708 GB, free: 142.3 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.2307/6.447, allocations: 49.74 MB / 2.757 GB, free: 92.19 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/6.447, allocations: 4.438 kB / 2.757 GB, free: 92.19 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01944/6.466, allocations: 11.86 MB / 2.768 GB, free: 80.04 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01961/6.486, allocations: 3.687 MB / 2.772 GB, free: 76.49 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04356/6.529, allocations: 30.49 MB / 2.801 GB, free: 45.95 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006596/6.536, allocations: 5.978 MB / 2.807 GB, free: 39.95 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003756/6.54, allocations: 0.8739 MB / 2.808 GB, free: 39.08 MB / 1.201 GB Notification: Performance of SimCode: time 7.01e-07/6.54, allocations: 0 / 2.808 GB, free: 39.08 MB / 1.201 GB Notification: Performance of Templates: time 2.66/9.2, allocations: 1.526 GB / 4.335 GB, free: 0.5265 GB / 1.201 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia.sim & ./ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Media.Tests.TestXRGMedia_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches