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: "" <> buildModelFMU(ThermofluidStream.Media.Tests.TestXRGMedia,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Media_Tests_TestXRGMedia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Media.Tests.TestXRGMedia,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Media_Tests_TestXRGMedia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.519/1.519, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7887/0.7887, allocations: 93.71 MB / 384.1 MB, free: 6.965 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 82.16 kB / 463.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1462, allocations: 68.26 MB / 0.5193 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.Tests.TestXRGMedia): time 1.203/1.349, allocations: 488.7 MB / 0.9966 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.9326/2.282, allocations: 353.4 MB / 1.342 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005874/2.288, allocations: 167 kB / 1.342 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01325/2.301, allocations: 4.528 MB / 1.346 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.09273/2.394, allocations: 30.78 MB / 1.376 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.1102/2.504, allocations: 31.46 MB / 1.407 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02217/2.526, allocations: 15.01 MB / 1.422 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007209/2.534, allocations: 3.931 MB / 1.426 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.682/3.216, allocations: 108.2 MB / 1.531 GB, free: 64.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01415/3.23, allocations: 9.195 MB / 1.54 GB, free: 63.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.004092/3.234, allocations: 0.9518 MB / 1.541 GB, free: 63.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2099/3.444, allocations: 104.5 MB / 1.643 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004427/3.448, allocations: 2.232 MB / 1.645 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.009975/3.458, allocations: 5.543 MB / 1.651 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.4911/3.949, allocations: 161.1 MB / 1.808 GB, free: 1.484 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/3.949, allocations: 5.875 kB / 1.808 GB, free: 1.48 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.643e-06/3.949, allocations: 0 / 1.808 GB, free: 1.48 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003371/3.95, allocations: 0 / 1.808 GB, free: 1.48 MB / 1.092 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.1007/4.05, allocations: 17.51 MB / 1.825 GB, free: 1.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/4.051, allocations: 11.97 kB / 1.825 GB, free: 1.738 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002362/4.053, allocations: 1.042 MB / 1.826 GB, free: 1.168 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/4.066, allocations: 1.983 MB / 1.828 GB, free: 15.4 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/4.078, allocations: 5.421 MB / 1.833 GB, free: 11.51 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008744/4.079, allocations: 0.7051 MB / 1.834 GB, free: 11.01 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002499/4.082, allocations: 0.7247 MB / 1.835 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03179/4.114, allocations: 12.62 MB / 1.847 GB, free: 44 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/4.114, allocations: 2.062 kB / 1.847 GB, free: 44 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001546/4.115, allocations: 296 kB / 1.847 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004395/4.116, allocations: 365.5 kB / 1.848 GB, free: 15.39 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03625/4.152, allocations: 13.76 MB / 1.861 GB, free: 1.637 MB / 1.139 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.6227/4.775, allocations: 51.57 MB / 1.912 GB, free: 0.5387 GB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02324/4.798, allocations: 10.08 MB / 1.921 GB, free: 0.535 GB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01229/4.81, allocations: 6.803 MB / 1.928 GB, free: 0.5324 GB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0845/4.895, allocations: 75.28 MB / 2.002 GB, free: 473.6 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/4.895, allocations: 123 kB / 2.002 GB, free: 473.5 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1017): time 1.288e-05/4.895, allocations: 0 / 2.002 GB, free: 473.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=1032): time 0.1184/5.014, allocations: 39.13 MB / 2.04 GB, free: 452 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/5.014, allocations: 127.2 kB / 2.04 GB, free: 451.9 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008141/5.022, allocations: 4.739 MB / 2.045 GB, free: 449.5 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.002244/5.024, allocations: 157.2 kB / 2.045 GB, free: 449.4 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001987/5.026, allocations: 3.144 MB / 2.048 GB, free: 446.6 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.003827/5.03, allocations: 3.35 MB / 2.051 GB, free: 443.7 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005619/5.036, allocations: 1.615 MB / 2.053 GB, free: 442.8 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 4.287e-05/5.036, allocations: 304.6 kB / 2.053 GB, free: 442.5 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01171/5.047, allocations: 5.689 MB / 2.059 GB, free: 439.5 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01304/5.06, allocations: 6.937 MB / 2.065 GB, free: 435.2 MB / 1.154 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.1508/5.211, allocations: 47.61 MB / 2.112 GB, free: 387.6 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.324e-05/5.211, allocations: 8 kB / 2.112 GB, free: 387.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.03537/5.247, allocations: 15.57 MB / 2.127 GB, free: 371.9 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/5.247, allocations: 19.94 kB / 2.127 GB, free: 371.9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.158e-05/5.247, allocations: 30.84 kB / 2.127 GB, free: 371.9 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.018/5.265, allocations: 2.219 MB / 2.129 GB, free: 369.6 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007962/5.273, allocations: 1.759 MB / 2.131 GB, free: 367.9 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02694/5.3, allocations: 40.17 MB / 2.17 GB, free: 324.9 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006704/5.307, allocations: 0.5158 MB / 2.171 GB, free: 324.4 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/5.308, allocations: 371.8 kB / 2.171 GB, free: 324.1 MB / 1.154 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.006374/5.315, allocations: 2.476 MB / 2.174 GB, free: 321.6 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003525/5.318, allocations: 0.7329 MB / 2.174 GB, free: 320.8 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05625/5.375, allocations: 34.16 MB / 2.208 GB, free: 286.7 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03394/5.409, allocations: 19.61 MB / 2.227 GB, free: 267.1 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.251e-05/5.409, allocations: 20 kB / 2.227 GB, free: 267 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002455/5.409, allocations: 51.8 kB / 2.227 GB, free: 267 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07142/5.48, allocations: 44.83 MB / 2.271 GB, free: 220.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002345/5.481, allocations: 13.5 kB / 2.271 GB, free: 220.8 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008583/5.489, allocations: 1.822 MB / 2.272 GB, free: 219 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007484/5.497, allocations: 2.238 MB / 2.275 GB, free: 216.7 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002256/5.499, allocations: 319.8 kB / 2.275 GB, free: 216.4 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02675/5.526, allocations: 40.9 MB / 2.315 GB, free: 172.7 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/5.526, allocations: 9.797 kB / 2.315 GB, free: 172.7 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04917/5.575, allocations: 28.37 MB / 2.343 GB, free: 144 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00579/5.581, allocations: 2.349 MB / 2.345 GB, free: 141.7 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00235/5.583, allocations: 219.8 kB / 2.345 GB, free: 141.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006458/5.59, allocations: 0.6082 MB / 2.346 GB, free: 140.8 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001639/5.591, allocations: 0.6978 MB / 2.346 GB, free: 140.1 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001014/5.593, allocations: 367.8 kB / 2.347 GB, free: 139.8 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004424/5.597, allocations: 3.422 MB / 2.35 GB, free: 136.4 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.5e-07/5.597, allocations: 0 / 2.35 GB, free: 136.4 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.05792/5.655, allocations: 10.23 MB / 2.36 GB, free: 127.3 MB / 1.154 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.4888/6.144, allocations: 108.8 MB / 2.466 GB, free: 20.73 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.5157/6.659, allocations: 49.75 MB / 2.515 GB, free: 0.5279 GB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/6.66, allocations: 5.219 kB / 2.515 GB, free: 0.5279 GB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.02153/6.681, allocations: 11.87 MB / 2.526 GB, free: 0.5237 GB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02372/6.705, allocations: 3.714 MB / 2.53 GB, free: 0.5228 GB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3025/7.007, allocations: 114.2 MB / 2.642 GB, free: 467.9 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01497/7.022, allocations: 6.165 MB / 2.648 GB, free: 461.7 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.01604/7.038, allocations: 5.08 MB / 2.653 GB, free: 456.8 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01334/7.052, allocations: 4.853 MB / 2.657 GB, free: 451.9 MB / 1.154 GB Notification: Performance of SimCode: time 1.803e-06/7.052, allocations: 0 / 2.657 GB, free: 451.9 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.35/8.402, allocations: 481.5 MB / 3.128 GB, free: 484.8 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.75/47.15, allocations: 3.797 kB / 3.128 GB, free: 484.8 MB / 1.154 GB (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Media_Tests_TestXRGMedia.fmu > ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia_res.csv","/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