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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 108.1 kB / 19.97 MB, free: 1.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 180 kB / 23.28 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 252.1 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.752/0.752, allocations: 94.58 MB / 402 MB, free: 15.54 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Media.Tests.TestXRGMedia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.h|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU.inletA.m_flow|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX1.thermalElementA.1..h|discretizedHEX1.thermalElementA.2..h|discretizedHEX1.thermalElementA.3..h|discretizedHEX1.thermalElementB.1..h|discretizedHEX1.thermalElementB.2..h|discretizedHEX1.thermalElementB.3..h|discretizedHEX2.thermalElementA.1..h|discretizedHEX2.thermalElementA.2..h|discretizedHEX2.thermalElementA.3..h|discretizedHEX2.thermalElementB.1..h|discretizedHEX2.thermalElementB.2..h|discretizedHEX2.thermalElementB.3..h|discretizedHEX4.thermalElementA.1..h|discretizedHEX4.thermalElementA.2..h|discretizedHEX4.thermalElementA.3..h|discretizedHEX4.thermalElementB.1..h|discretizedHEX4.thermalElementB.2..h|discretizedHEX4.thermalElementB.3..h|pump.m_flow|receiver.M|receiver.U_med|sink2.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_out|volumeFlex.M|volumeFlex.U_med",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia") translateModel(ThermofluidStream.Media.Tests.TestXRGMedia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.h|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU.inletA.m_flow|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX1.thermalElementA.1..h|discretizedHEX1.thermalElementA.2..h|discretizedHEX1.thermalElementA.3..h|discretizedHEX1.thermalElementB.1..h|discretizedHEX1.thermalElementB.2..h|discretizedHEX1.thermalElementB.3..h|discretizedHEX2.thermalElementA.1..h|discretizedHEX2.thermalElementA.2..h|discretizedHEX2.thermalElementA.3..h|discretizedHEX2.thermalElementB.1..h|discretizedHEX2.thermalElementB.2..h|discretizedHEX2.thermalElementB.3..h|discretizedHEX4.thermalElementA.1..h|discretizedHEX4.thermalElementA.2..h|discretizedHEX4.thermalElementA.3..h|discretizedHEX4.thermalElementB.1..h|discretizedHEX4.thermalElementB.2..h|discretizedHEX4.thermalElementB.3..h|pump.m_flow|receiver.M|receiver.U_med|sink2.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_out|volumeFlex.M|volumeFlex.U_med",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Media.Tests.TestXRGMedia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 89.98 kB / 0.5484 GB, free: 42.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1072, allocations: 71.89 MB / 0.6186 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.Tests.TestXRGMedia): time 1.209/1.316, allocations: 494.5 MB / 1.102 GB, free: 456 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.9556/2.272, allocations: 355.9 MB / 1.449 GB, free: 224 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007001/2.279, allocations: 165 kB / 1.449 GB, free: 224 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01277/2.291, allocations: 4.671 MB / 1.454 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0841/2.375, allocations: 31.57 MB / 1.485 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.08582/2.461, allocations: 32.19 MB / 1.516 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01976/2.481, allocations: 15.16 MB / 1.531 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00463/2.486, allocations: 1.809 MB / 1.533 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1888/2.674, allocations: 110 MB / 1.64 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01661/2.691, allocations: 9.342 MB / 1.649 GB, free: 3.633 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003725/2.695, allocations: 0.9492 MB / 1.65 GB, free: 2.684 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2352/2.93, allocations: 106.5 MB / 1.754 GB, free: 13.32 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.004337/2.934, allocations: 2.246 MB / 1.756 GB, free: 11.13 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.01072/2.945, allocations: 5.542 MB / 1.762 GB, free: 5.625 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.9844/3.929, allocations: 161.7 MB / 1.92 GB, free: 180.3 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/3.929, allocations: 0 / 1.92 GB, free: 180.3 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.603e-06/3.929, allocations: 0 / 1.92 GB, free: 180.3 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004913/3.93, allocations: 0.6562 kB / 1.92 GB, free: 180.3 MB / 1.279 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.1259/4.056, allocations: 18.18 MB / 1.937 GB, free: 172.4 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/4.056, allocations: 11.39 kB / 1.937 GB, free: 172.4 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/4.07, allocations: 2.041 MB / 1.939 GB, free: 171.8 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/4.084, allocations: 5.752 MB / 1.945 GB, free: 170.6 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009875/4.085, allocations: 0.7014 MB / 1.946 GB, free: 170.4 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004031/4.089, allocations: 0.7228 MB / 1.946 GB, free: 170.4 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03592/4.125, allocations: 12.73 MB / 1.959 GB, free: 169.9 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004123/4.126, allocations: 7.531 kB / 1.959 GB, free: 169.9 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003009/4.129, allocations: 295.1 kB / 1.959 GB, free: 169.9 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003754/4.129, allocations: 366.6 kB / 1.959 GB, free: 169.8 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03467/4.164, allocations: 13.93 MB / 1.973 GB, free: 169.8 MB / 1.279 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.07561/4.239, allocations: 51.5 MB / 2.023 GB, free: 146.6 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/4.261, allocations: 9.558 MB / 2.033 GB, free: 146.4 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01268/4.273, allocations: 6.369 MB / 2.039 GB, free: 145.1 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08095/4.354, allocations: 75.34 MB / 2.113 GB, free: 72.09 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.281e-05/4.354, allocations: 120.5 kB / 2.113 GB, free: 72.01 MB / 1.279 GB Notification: Performance of pre-optimization done (n=1017): time 1.165e-05/4.354, allocations: 0 / 2.113 GB, free: 72.01 MB / 1.279 GB Notification: Performance of matching and sorting (n=1032): time 0.109/4.463, allocations: 39.44 MB / 2.151 GB, free: 41.92 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/4.464, allocations: 133 kB / 2.151 GB, free: 41.78 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006999/4.471, allocations: 4.744 MB / 2.156 GB, free: 37.06 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002379/4.473, allocations: 155.4 kB / 2.156 GB, free: 36.9 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002048/4.475, allocations: 3.208 MB / 2.159 GB, free: 33.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.004084/4.479, allocations: 3.523 MB / 2.163 GB, free: 30.25 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004535/4.484, allocations: 1.619 MB / 2.164 GB, free: 28.62 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/4.484, allocations: 309.1 kB / 2.165 GB, free: 28.31 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01086/4.494, allocations: 5.735 MB / 2.17 GB, free: 22.57 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01278/4.507, allocations: 6.966 MB / 2.177 GB, free: 15.26 MB / 1.279 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.1693/4.677, allocations: 47.72 MB / 2.224 GB, free: 14.79 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-05/4.677, allocations: 8 kB / 2.224 GB, free: 14.78 MB / 1.326 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.04238/4.719, allocations: 15.65 MB / 2.239 GB, free: 15.23 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/4.719, allocations: 17.25 kB / 2.239 GB, free: 15.22 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.197e-05/4.719, allocations: 24 kB / 2.239 GB, free: 15.2 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01967/4.739, allocations: 2.209 MB / 2.241 GB, free: 12.93 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009059/4.748, allocations: 1.749 MB / 2.243 GB, free: 11.26 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0439/4.792, allocations: 40.16 MB / 2.282 GB, free: 440 kB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/4.803, allocations: 0.5229 MB / 2.282 GB, free: 15.91 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003072/4.806, allocations: 375.7 kB / 2.283 GB, free: 15.54 MB / 1.389 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.008068/4.814, allocations: 2.475 MB / 2.285 GB, free: 13.13 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003413/4.818, allocations: 0.7695 MB / 2.286 GB, free: 12.36 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07294/4.891, allocations: 34.55 MB / 2.32 GB, free: 9.785 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000291/4.891, allocations: 43.83 kB / 2.32 GB, free: 9.742 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-05/4.891, allocations: 0 / 2.32 GB, free: 9.742 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007141/4.898, allocations: 2.304 MB / 2.322 GB, free: 7.41 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003091/4.901, allocations: 187.9 kB / 2.322 GB, free: 7.227 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007957/4.909, allocations: 0.6203 MB / 2.323 GB, free: 6.605 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002886/4.912, allocations: 0.6774 MB / 2.323 GB, free: 5.926 MB / 1.42 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): receiver.medium.d = $cse129.rho 2/2 (9): $cse129 = ThermofluidStream.Media.Tests.TestXRGMedia.receiver.Medium.derivsOf_ph(receiver.medium.p, receiver.medium.h, $cse130) 3/11 (1): $cse130 = 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.h:DUMMY_STATE(flow=false min = -1e10 max = 1e10 start = 4.2e5 unit = \"J/kg\" nominal = 5e5 stateSelect=StateSelect.prefer ) \"Specific enthalpy of medium\" type: Real 2: receiver.medium.p:DUMMY_STATE(flow=false min = 0.0 max = 1e8 start = 3e5 unit = \"Pa\" nominal = 1e5 stateSelect=StateSelect.prefer ) \"Absolute pressure of medium\" type: Real 3: $cse129.dpT:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse129.cv:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse129.rho:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse129.pt:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse129.pd:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse129.p:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse129.h:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse129.T:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse130:DISCRETE(protected = true ) type: Integer unreplaceable 12: $cse129.phase:DISCRETE(protected = true ) type: Integer unreplaceable [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9824:5-9825:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001213/4.913, allocations: 301.7 kB / 2.324 GB, free: 5.641 MB / 1.42 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermofluidStream.Media.Tests.TestXRGMedia could not be translated " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 8.155806447030045] Failed to read output from testmodel.py, exit status != 0: 4.9222654779441655 4.938825278 1.005744792 Calling exit ...