Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.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_ThermofluidStream_Media_Tests_TestXRGMedia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Media.Tests.TestXRGMedia,fileNamePrefix="ThermofluidStream_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.001387/0.001387, 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.001548/0.001548, allocations: 193.8 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.505/1.505, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7087/0.7087, allocations: 91.21 MB / 381.6 MB, free: 9.387 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 78.06 kB / 460.4 MB, free: 23.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1248, allocations: 67.7 MB / 0.5157 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.Tests.TestXRGMedia): time 1.169/1.294, allocations: 488.7 MB / 0.993 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.8796/2.173, allocations: 353.4 MB / 1.338 GB, free: 3.359 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/FlowControl/BasicControlValve.mo:17:3-18:115:writable] Warning: Parameter Kvs has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/FlowControl/BasicControlValve.mo:19:3-20:118:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/FlowControl/BasicControlValve.mo:21:3-22:118:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.006581/2.18, allocations: 170.9 kB / 1.338 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01473/2.195, allocations: 4.536 MB / 1.343 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.09843/2.293, allocations: 30.72 MB / 1.373 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.1046/2.398, allocations: 31.45 MB / 1.403 GB, free: 228 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.02179/2.42, allocations: 14.92 MB / 1.418 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006944/2.427, allocations: 3.93 MB / 1.422 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7931/3.22, allocations: 108.1 MB / 1.527 GB, free: 70.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01694/3.237, allocations: 9.195 MB / 1.536 GB, free: 70.26 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.005587/3.242, allocations: 0.9527 MB / 1.537 GB, free: 70.26 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2291/3.471, allocations: 104.5 MB / 1.639 GB, free: 21.33 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004756/3.476, allocations: 2.234 MB / 1.641 GB, free: 20.64 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01034/3.487, allocations: 5.538 MB / 1.647 GB, free: 17.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.4594/3.946, allocations: 161.1 MB / 1.804 GB, free: 12.07 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/3.946, allocations: 0 / 1.804 GB, free: 12.07 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.493e-06/3.946, allocations: 0 / 1.804 GB, free: 12.07 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003953/3.946, allocations: 0 / 1.804 GB, free: 12.07 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: 2098 * Number of variables: 2098 Notification: Performance of Generate backend data structure: time 0.1106/4.057, allocations: 17.47 MB / 1.821 GB, free: 12.36 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/4.057, allocations: 8.031 kB / 1.821 GB, free: 12.35 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004186/4.061, allocations: 1.043 MB / 1.822 GB, free: 11.78 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/4.076, allocations: 1.982 MB / 1.824 GB, free: 10.02 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/4.092, allocations: 5.382 MB / 1.829 GB, free: 6.156 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001087/4.093, allocations: 0.6977 MB / 1.83 GB, free: 5.664 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004021/4.097, allocations: 0.7222 MB / 1.831 GB, free: 5.18 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04086/4.138, allocations: 12.64 MB / 1.843 GB, free: 11.06 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003243/4.138, allocations: 3.281 kB / 1.843 GB, free: 11.06 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002695/4.141, allocations: 297.6 kB / 1.843 GB, free: 10.77 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004639/4.142, allocations: 365.6 kB / 1.844 GB, free: 10.41 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03953/4.181, allocations: 13.77 MB / 1.857 GB, free: 12.64 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.7127/4.894, allocations: 51.58 MB / 1.908 GB, free: 0.5493 GB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02149/4.915, allocations: 10.09 MB / 1.917 GB, free: 0.5456 GB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01171/4.927, allocations: 6.809 MB / 1.924 GB, free: 0.5431 GB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07645/5.004, allocations: 75.27 MB / 1.998 GB, free: 485.5 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.909e-05/5.004, allocations: 124 kB / 1.998 GB, free: 485.4 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1017): time 1.01e-05/5.004, allocations: 2.938 kB / 1.998 GB, free: 485.4 MB / 1.154 GB Notification: Performance of matching and sorting (n=1032): time 0.09582/5.099, allocations: 39.13 MB / 2.036 GB, free: 464.1 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/5.1, allocations: 127.1 kB / 2.036 GB, free: 464 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/FlowControl/BasicControlValve.mo:21:3-22:118:writable] Warning: Parameter basicControlValve.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/FlowControl/BasicControlValve.mo:19:3-20:118:writable] Warning: Parameter basicControlValve.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/FlowControl/BasicControlValve.mo:17:3-18:115:writable] Warning: Parameter basicControlValve.Kvs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006909/5.106, allocations: 4.709 MB / 2.041 GB, free: 461.6 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.002027/5.109, allocations: 156.7 kB / 2.041 GB, free: 461.5 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001909/5.11, allocations: 3.124 MB / 2.044 GB, free: 458.8 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.004231/5.115, allocations: 3.355 MB / 2.047 GB, free: 455.8 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005114/5.12, allocations: 1.623 MB / 2.049 GB, free: 454.9 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 4.317e-05/5.12, allocations: 301.8 kB / 2.049 GB, free: 454.6 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01508/5.135, allocations: 5.695 MB / 2.055 GB, free: 451.6 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01841/5.153, allocations: 6.927 MB / 2.061 GB, free: 447.3 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.1744/5.328, allocations: 47.64 MB / 2.108 GB, free: 401.1 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.275e-05/5.328, allocations: 4 kB / 2.108 GB, free: 401.1 MB / 1.154 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.03841/5.366, allocations: 15.59 MB / 2.123 GB, free: 385.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/5.366, allocations: 20.94 kB / 2.123 GB, free: 385.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.827e-05/5.367, allocations: 27.98 kB / 2.123 GB, free: 385.5 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01848/5.385, allocations: 2.213 MB / 2.125 GB, free: 383.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008011/5.393, allocations: 1.767 MB / 2.127 GB, free: 381.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02835/5.422, allocations: 40.15 MB / 2.166 GB, free: 338.6 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008453/5.43, allocations: 0.5226 MB / 2.167 GB, free: 338 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002354/5.432, allocations: 371.2 kB / 2.167 GB, free: 337.7 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 (807): * Single equations (assignments): 708 * 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.007137/5.44, allocations: 2.474 MB / 2.17 GB, free: 335.2 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003626/5.443, allocations: 0.729 MB / 2.17 GB, free: 334.5 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05192/5.495, allocations: 34.16 MB / 2.204 GB, free: 300.3 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03722/5.532, allocations: 19.61 MB / 2.223 GB, free: 280.7 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.011e-05/5.533, allocations: 20.66 kB / 2.223 GB, free: 280.7 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002299/5.533, allocations: 51.81 kB / 2.223 GB, free: 280.6 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0691/5.602, allocations: 44.83 MB / 2.267 GB, free: 234.4 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.696e-05/5.602, allocations: 6.062 kB / 2.267 GB, free: 234.4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007714/5.61, allocations: 1.826 MB / 2.268 GB, free: 232.6 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007142/5.617, allocations: 2.244 MB / 2.271 GB, free: 230.3 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001732/5.619, allocations: 311.8 kB / 2.271 GB, free: 230 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02701/5.646, allocations: 40.89 MB / 2.311 GB, free: 186.3 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/5.646, allocations: 8 kB / 2.311 GB, free: 186.3 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0492/5.695, allocations: 28.38 MB / 2.339 GB, free: 157.7 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005375/5.7, allocations: 2.338 MB / 2.341 GB, free: 155.3 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002498/5.703, allocations: 219.7 kB / 2.341 GB, free: 155.1 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006407/5.709, allocations: 0.6134 MB / 2.342 GB, free: 154.5 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001682/5.711, allocations: 0.702 MB / 2.342 GB, free: 153.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001293/5.712, allocations: 363.9 kB / 2.343 GB, free: 153.4 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.005236/5.717, allocations: 3.401 MB / 2.346 GB, free: 150 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.31e-07/5.718, allocations: 0 / 2.346 GB, free: 150 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.05807/5.776, allocations: 10.23 MB / 2.356 GB, free: 141 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.4941/6.27, allocations: 108.8 MB / 2.462 GB, free: 34.59 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.5969/6.867, allocations: 49.78 MB / 2.511 GB, free: 0.5284 GB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.934e-05/6.867, allocations: 5.406 kB / 2.511 GB, free: 0.5284 GB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.02307/6.89, allocations: 11.86 MB / 2.522 GB, free: 0.5258 GB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.021/6.911, allocations: 3.702 MB / 2.526 GB, free: 0.5251 GB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2002/7.111, allocations: 113.9 MB / 2.637 GB, free: 473.5 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005181/7.116, allocations: 6.152 MB / 2.643 GB, free: 470.5 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.01039/7.127, allocations: 5.069 MB / 2.648 GB, free: 468.3 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007242/7.134, allocations: 4.835 MB / 2.653 GB, free: 464.1 MB / 1.154 GB Notification: Performance of SimCode: time 9.01e-07/7.134, allocations: 0 / 2.653 GB, free: 464.1 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.218/8.352, allocations: 481.1 MB / 3.123 GB, free: 499.3 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.18/45.53, allocations: 12.03 kB / 3.123 GB, free: 499.3 MB / 1.154 GB (rm -f ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.pipe >> ../files/ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Media_Tests_TestXRGMedia.fmu > ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Media.Tests.TestXRGMedia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches