Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Media.Tests.TestXRGMedia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Media.Tests.TestXRGMedia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008743/0.0008744, allocations: 170.5 kB / 16.11 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205 MB / 221.9 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007455/0.0007456, allocations: 86.36 kB / 269.9 MB, free: 8.664 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5886/0.5886, allocations: 90.52 MB / 408.3 MB, free: 3.926 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002872, allocations: 8.406 kB / 484.9 MB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2296, allocations: 65.81 MB / 0.5378 GB, free: 34.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.Tests.TestXRGMedia): time 0.8468/1.076, allocations: 486.4 MB / 1.013 GB, free: 132 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.6179/1.694, allocations: 289.1 MB / 1.295 GB, free: 1.27 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:20:3-22:17:writable] Warning: Parameter Kvs has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.005708/1.7, allocations: 61.53 kB / 1.295 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.009276/1.709, allocations: 3.952 MB / 1.299 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.07121/1.781, allocations: 25.14 MB / 1.324 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.05127/1.832, allocations: 18.49 MB / 1.342 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01533/1.847, allocations: 16.08 MB / 1.357 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003944/1.851, allocations: 3.497 MB / 1.361 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.166/2.017, allocations: 109.3 MB / 1.467 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.014/2.031, allocations: 9.644 MB / 1.477 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001932/2.033, allocations: 348 kB / 1.477 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8027/2.836, allocations: 355.7 MB / 1.825 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.002722/2.839, allocations: 1.411 MB / 1.826 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.006228/2.845, allocations: 4.43 MB / 1.83 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 1.069/3.914, allocations: 301.5 MB / 2.125 GB, free: 122.9 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/3.914, allocations: 0 / 2.125 GB, free: 122.9 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.913e-06/3.914, allocations: 0 / 2.125 GB, free: 122.9 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0002089/3.914, allocations: 2 kB / 2.125 GB, free: 122.9 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2066 * Number of variables: 2066 Notification: Performance of Generate backend data structure: time 0.08657/4, allocations: 15.34 MB / 2.14 GB, free: 108.5 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/4, allocations: 12.97 kB / 2.14 GB, free: 108.5 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/4.011, allocations: 1.847 MB / 2.142 GB, free: 106.9 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006785/4.018, allocations: 4.2 MB / 2.146 GB, free: 104 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005436/4.018, allocations: 0.696 MB / 2.146 GB, free: 103.5 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/4.02, allocations: 0.711 MB / 2.147 GB, free: 103.1 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/4.042, allocations: 12.57 MB / 2.159 GB, free: 94.38 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/4.042, allocations: 5.781 kB / 2.159 GB, free: 94.38 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006644/4.043, allocations: 290.5 kB / 2.16 GB, free: 94.31 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/4.043, allocations: 361.4 kB / 2.16 GB, free: 94.03 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02221/4.065, allocations: 13.82 MB / 2.173 GB, free: 84.65 MB / 1.057 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.04527/4.11, allocations: 50.27 MB / 2.223 GB, free: 43.01 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01586/4.126, allocations: 10.1 MB / 2.232 GB, free: 36.58 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008643/4.135, allocations: 6.863 MB / 2.239 GB, free: 32.28 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5606/4.696, allocations: 75.48 MB / 2.313 GB, free: 0.4978 GB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.4e-05/4.696, allocations: 120.5 kB / 2.313 GB, free: 0.4978 GB / 1.089 GB Notification: Performance of pre-optimization done (n=1010): time 1.067e-05/4.696, allocations: 1.938 kB / 2.313 GB, free: 0.4978 GB / 1.089 GB Notification: Performance of matching and sorting (n=1025): time 0.09341/4.789, allocations: 39.41 MB / 2.351 GB, free: 495.4 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/4.789, allocations: 133.5 kB / 2.352 GB, free: 495.3 MB / 1.089 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:25:3-26:88: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 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:23:3-24:88: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 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:20:3-22:17: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.004336/4.794, allocations: 3.713 MB / 2.355 GB, free: 494 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001574/4.795, allocations: 157.3 kB / 2.355 GB, free: 493.9 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001564/4.797, allocations: 2.652 MB / 2.358 GB, free: 491.9 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.003256/4.8, allocations: 3.331 MB / 2.361 GB, free: 489.3 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009028/4.801, allocations: 146.9 kB / 2.361 GB, free: 489.2 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0004547/4.801, allocations: 0.6716 MB / 2.362 GB, free: 488.7 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009566/4.811, allocations: 5.757 MB / 2.368 GB, free: 486.7 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/4.822, allocations: 6.962 MB / 2.374 GB, free: 483.5 MB / 1.089 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.1338/4.956, allocations: 48.17 MB / 2.421 GB, free: 449.5 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.139e-05/4.956, allocations: 8 kB / 2.421 GB, free: 449.5 MB / 1.089 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02816/4.984, allocations: 15.66 MB / 2.437 GB, free: 433.8 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/4.984, allocations: 16 kB / 2.437 GB, free: 433.8 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.057e-05/4.984, allocations: 32 kB / 2.437 GB, free: 433.7 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/5, allocations: 2.222 MB / 2.439 GB, free: 431.5 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006836/5.007, allocations: 1.779 MB / 2.441 GB, free: 429.7 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/5.031, allocations: 37.67 MB / 2.477 GB, free: 389.4 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006819/5.038, allocations: 0.8214 MB / 2.478 GB, free: 388.6 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007998/5.038, allocations: 359.8 kB / 2.479 GB, free: 388.2 MB / 1.089 GB Warning: The initial conditions are over specified. The following 28 initial equations are redundant, so they are removed from the initialization sytem: 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: 111 * Number of states: 0 () * Number of discrete variables: 77 (volumeFlex.medium.phase,volume.medium.phase,receiver.medium.phase,volume.state_in.phase,discretizedHEX.thermalElementB[1].outlet.state.phase,discretizedHEX.thermalElementB[1].state.phase,discretizedHEX.thermalElementB[2].outlet.state.phase,discretizedHEX.thermalElementB[2].state.phase,discretizedHEX.thermalElementB[3].state.phase,discretizedHEX.thermalElementA[1].outlet.state.phase,discretizedHEX.thermalElementA[1].state.phase,discretizedHEX.thermalElementA[2].outlet.state.phase,discretizedHEX.thermalElementA[2].state.phase,discretizedHEX.thermalElementA[3].state.phase,discretizedHEX.inletB.state.phase,discretizedHEX1.thermalElementB[1].outlet.state.phase,discretizedHEX1.thermalElementB[1].state.phase,discretizedHEX1.thermalElementB[2].outlet.state.phase,discretizedHEX1.thermalElementB[2].state.phase,discretizedHEX1.thermalElementB[3].state.phase,discretizedHEX1.thermalElementA[1].outlet.state.phase,discretizedHEX1.thermalElementA[1].state.phase,discretizedHEX1.thermalElementA[2].outlet.state.phase,discretizedHEX1.thermalElementA[2].state.phase,discretizedHEX1.thermalElementA[3].state.phase,discretizedHEX1.outletB.state.phase,discretizedHEX2.thermalElementB[1].outlet.state.phase,discretizedHEX2.thermalElementB[1].state.phase,discretizedHEX2.thermalElementB[2].outlet.state.phase,discretizedHEX2.thermalElementB[2].state.phase,discretizedHEX2.thermalElementB[3].state.phase,discretizedHEX2.thermalElementA[1].outlet.state.phase,discretizedHEX2.thermalElementA[1].state.phase,discretizedHEX2.thermalElementA[2].outlet.state.phase,discretizedHEX2.thermalElementA[2].state.phase,discretizedHEX2.thermalElementA[3].state.phase,discretizedHEX2.inletB.state.phase,counterFlowNTU.outletA.state.phase,counterFlowNTU.inletB.state.phase,source.outlet.state.phase,sink1.inlet.state.phase,discretizedHEX4.thermalElementB[1].outlet.state.phase,discretizedHEX4.thermalElementB[1].state.phase,discretizedHEX4.thermalElementB[2].outlet.state.phase,discretizedHEX4.thermalElementB[2].state.phase,discretizedHEX4.thermalElementB[3].state.phase,discretizedHEX4.thermalElementA[1].outlet.state.phase,discretizedHEX4.thermalElementA[1].state.phase,discretizedHEX4.thermalElementA[2].outlet.state.phase,discretizedHEX4.thermalElementA[2].state.phase,discretizedHEX4.thermalElementA[3].state.phase,discretizedHEX4.outletB.state.phase,discretizedHEX4.outletA.state.phase,sink2.inlet.state.phase,source1.outlet.state.phase,volumeFlex.inlet.state.phase,receiver.inlet.state.phase,receiver.outlet.state.phase,flowResistance1.outlet.state.phase,flowResistance2.outlet.state.phase,flowResistance4.outlet.state.phase,flowResistance5.inlet.state.phase,flowResistance5.outlet.state.phase,conductionElement.outlet.state.phase,conductionElement.state.phase,junctionT2_1.outlet.state.phase,splitterT2_1.splitterN.outlets[2].state.phase,nozzle.outlet.state.phase,source2.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,sink.inlet.state.phase,flowResistance7.outlet.state.phase,source3.outlet.state.phase,basicControlValve.outlet.state.phase,conductionElement1.outlet.state.phase,conductionElement1.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (798): * Single equations (assignments): 699 * 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.003595/5.042, allocations: 2.377 MB / 2.481 GB, free: 385.9 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/5.044, allocations: 0.625 MB / 2.482 GB, free: 385.2 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03472/5.078, allocations: 26.62 MB / 2.508 GB, free: 358.8 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.259e-05/5.079, allocations: 43.83 kB / 2.508 GB, free: 358.8 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/5.079, allocations: 4 kB / 2.508 GB, free: 358.8 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004018/5.083, allocations: 2.171 MB / 2.51 GB, free: 356.6 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/5.084, allocations: 176 kB / 2.51 GB, free: 356.4 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005242/5.089, allocations: 0.9606 MB / 2.511 GB, free: 355.5 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009049/5.09, allocations: 0.6504 MB / 2.511 GB, free: 354.8 MB / 1.089 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): receiver.medium.d = $cse127.rho 2/2 (9): $cse127 = ThermofluidStream.Media.Tests.TestXRGMedia.receiver.Medium.derivsOf_ph(receiver.medium.p, receiver.medium.h, $cse128) 3/11 (1): $cse128 = ThermofluidStream.Media.Tests.TestXRGMedia.receiver.Medium.getPhase_ph(receiver.medium.p, receiver.medium.h) 4/12 (1): receiver.medium.u = receiver.medium.h - receiver.medium.p / receiver.medium.d Variables: 1: receiver.medium.p:DUMMY_STATE(flow=false min = 0.0 max = 100000000.0 start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real 2: $cse128:DISCRETE(protected = true ) type: Integer unreplaceable 3: $cse127.pt:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse127.phase:DISCRETE(protected = true ) type: Integer unreplaceable 5: receiver.medium.h:DUMMY_STATE(flow=false min = -10000000000.0 max = 10000000000.0 start = 420000.0 unit = "J/kg" nominal = 500000.0 stateSelect=StateSelect.prefer ) "Specific enthalpy of medium" type: Real 6: $cse127.pd:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse127.rho:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse127.h:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse127.p:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse127.cv:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse127.T:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse127.dpT:VARIABLE(protected = true ) type: Real unreplaceable [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9746:5-9747:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008432/5.091, allocations: 297.6 kB / 2.512 GB, free: 354.5 MB / 1.089 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.