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.004687/0.004687, allocations: 102.1 kB / 15.73 MB, free: 6 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.001173/0.001173, allocations: 184.2 kB / 16.67 MB, free: 5.926 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7047/0.7047, allocations: 93.69 MB / 384.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 91.84 kB / 0.5204 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3094, allocations: 68.25 MB / 0.5871 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.Tests.TestXRGMedia): time 1.166/1.475, allocations: 488.7 MB / 1.064 GB, free: 472 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.9026/2.378, allocations: 353.4 MB / 1.41 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008028/2.386, allocations: 163.8 kB / 1.41 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.01379/2.4, allocations: 4.527 MB / 1.414 GB, free: 292 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.08746/2.487, allocations: 30.77 MB / 1.444 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.08547/2.573, allocations: 31.46 MB / 1.475 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01973/2.592, allocations: 15.08 MB / 1.49 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006166/2.599, allocations: 3.918 MB / 1.493 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1598/2.758, allocations: 108.2 MB / 1.599 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01668/2.775, allocations: 9.211 MB / 1.608 GB, free: 4.727 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003845/2.779, allocations: 0.9492 MB / 1.609 GB, free: 3.777 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2358/3.015, allocations: 105.1 MB / 1.712 GB, free: 1.879 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004578/3.019, allocations: 2.238 MB / 1.714 GB, free: 15.7 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0123/3.032, allocations: 5.535 MB / 1.719 GB, free: 10.2 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 1.089/4.121, allocations: 161.6 MB / 1.877 GB, free: 176.1 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/4.121, allocations: 0 / 1.877 GB, free: 176.1 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.554e-06/4.121, allocations: 0.6562 kB / 1.877 GB, free: 176.1 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0006763/4.122, allocations: 0 / 1.877 GB, free: 176.1 MB / 1.264 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.1216/4.243, allocations: 18.18 MB / 1.895 GB, free: 168.1 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/4.243, allocations: 9 kB / 1.895 GB, free: 168.1 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/4.257, allocations: 2.038 MB / 1.897 GB, free: 167.5 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/4.269, allocations: 5.752 MB / 1.902 GB, free: 166.4 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006569/4.27, allocations: 0.7029 MB / 1.903 GB, free: 166.2 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002792/4.273, allocations: 0.726 MB / 1.904 GB, free: 166.2 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03692/4.31, allocations: 12.62 MB / 1.916 GB, free: 165.6 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/4.31, allocations: 4.469 kB / 1.916 GB, free: 165.6 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002327/4.313, allocations: 297.6 kB / 1.916 GB, free: 165.6 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004193/4.313, allocations: 367.8 kB / 1.917 GB, free: 165.6 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03519/4.348, allocations: 13.76 MB / 1.93 GB, free: 165.6 MB / 1.264 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.0794/4.428, allocations: 51.37 MB / 1.98 GB, free: 142.3 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02362/4.451, allocations: 10.09 MB / 1.99 GB, free: 142.2 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01332/4.465, allocations: 6.812 MB / 1.997 GB, free: 141.9 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08638/4.551, allocations: 75.27 MB / 2.07 GB, free: 68.73 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/4.551, allocations: 116.4 kB / 2.071 GB, free: 68.65 MB / 1.264 GB Notification: Performance of pre-optimization done (n=1017): time 1.377e-05/4.551, allocations: 4 kB / 2.071 GB, free: 68.65 MB / 1.264 GB Notification: Performance of matching and sorting (n=1032): time 0.1111/4.662, allocations: 39.29 MB / 2.109 GB, free: 36.11 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/4.662, allocations: 125.2 kB / 2.109 GB, free: 35.97 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007781/4.67, allocations: 4.743 MB / 2.114 GB, free: 31.25 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.002479/4.673, allocations: 160.1 kB / 2.114 GB, free: 31.09 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002112/4.675, allocations: 3.208 MB / 2.117 GB, free: 27.89 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.003827/4.679, allocations: 3.526 MB / 2.12 GB, free: 24.43 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005701/4.684, allocations: 1.619 MB / 2.122 GB, free: 22.8 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.113e-05/4.684, allocations: 301.1 kB / 2.122 GB, free: 22.51 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01031/4.695, allocations: 5.694 MB / 2.128 GB, free: 16.81 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01341/4.708, allocations: 6.934 MB / 2.135 GB, free: 9.523 MB / 1.264 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.1712/4.879, allocations: 47.5 MB / 2.181 GB, free: 9.289 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-05/4.88, allocations: 8 kB / 2.181 GB, free: 9.281 MB / 1.311 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.04733/4.927, allocations: 15.63 MB / 2.196 GB, free: 9.766 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 6.896e-05/4.927, allocations: 17.25 kB / 2.196 GB, free: 9.75 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.066e-05/4.927, allocations: 28.84 kB / 2.196 GB, free: 9.723 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01891/4.946, allocations: 2.203 MB / 2.198 GB, free: 7.457 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009105/4.955, allocations: 1.755 MB / 2.2 GB, free: 5.777 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03745/4.993, allocations: 40.15 MB / 2.239 GB, free: 10.96 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009611/5.002, allocations: 0.5229 MB / 2.24 GB, free: 10.44 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003174/5.005, allocations: 375.7 kB / 2.24 GB, free: 10.07 MB / 1.373 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.009815/5.015, allocations: 2.47 MB / 2.243 GB, free: 7.672 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004973/5.02, allocations: 0.7762 MB / 2.243 GB, free: 6.891 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07151/5.092, allocations: 34.11 MB / 2.277 GB, free: 4.758 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04163/5.133, allocations: 19.61 MB / 2.296 GB, free: 1.113 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.099e-05/5.134, allocations: 16 kB / 2.296 GB, free: 1.098 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002315/5.134, allocations: 47.81 kB / 2.296 GB, free: 1.051 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08858/5.222, allocations: 43.45 MB / 2.338 GB, free: 4.555 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001729/5.223, allocations: 11.98 kB / 2.338 GB, free: 4.543 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009732/5.232, allocations: 1.821 MB / 2.34 GB, free: 2.797 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008598/5.241, allocations: 2.232 MB / 2.342 GB, free: 0.5 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002826/5.244, allocations: 315.8 kB / 2.343 GB, free: 196 kB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.506/5.75, allocations: 40.91 MB / 2.383 GB, free: 0.7386 GB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/5.75, allocations: 12.89 kB / 2.383 GB, free: 0.7386 GB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05977/5.81, allocations: 28.43 MB / 2.41 GB, free: 0.7313 GB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0081/5.818, allocations: 2.397 MB / 2.413 GB, free: 0.7306 GB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004126/5.822, allocations: 219.4 kB / 2.413 GB, free: 0.7305 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0101/5.832, allocations: 0.6069 MB / 2.413 GB, free: 0.7304 GB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00375/5.836, allocations: 0.7018 MB / 2.414 GB, free: 0.7303 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003307/5.839, allocations: 364.4 kB / 2.415 GB, free: 0.7302 GB / 1.467 GB Notification: Performance of sorting global known variables: time 0.0118/5.851, allocations: 3.423 MB / 2.418 GB, free: 0.729 GB / 1.467 GB Notification: Performance of sort global known variables: time 2.374e-06/5.851, allocations: 0.6562 kB / 2.418 GB, free: 0.729 GB / 1.467 GB Notification: Performance of remove unused functions: time 0.08986/5.941, allocations: 10.39 MB / 2.428 GB, free: 0.728 GB / 1.467 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.3453/6.286, allocations: 80.28 MB / 2.506 GB, free: 0.6906 GB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.03399/6.32, allocations: 18.99 MB / 2.525 GB, free: 0.6766 GB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/6.32, allocations: 4.438 kB / 2.525 GB, free: 0.6766 GB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.02271/6.343, allocations: 11.87 MB / 2.537 GB, free: 0.6662 GB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02078/6.364, allocations: 3.7 MB / 2.54 GB, free: 0.6635 GB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0459/6.41, allocations: 26.08 MB / 2.566 GB, free: 0.6413 GB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007067/6.417, allocations: 6.157 MB / 2.572 GB, free: 0.6368 GB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.01125/6.428, allocations: 5.067 MB / 2.577 GB, free: 0.6335 GB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/6.431, allocations: 0.7939 MB / 2.577 GB, free: 0.6328 GB / 1.467 GB Notification: Performance of SimCode: time 9.32e-07/6.431, allocations: 0 / 2.577 GB, free: 0.6328 GB / 1.467 GB Notification: Performance of Templates: time 0.4402/6.871, allocations: 381.2 MB / 2.95 GB, free: 273.1 MB / 1.467 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches