Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Volume.ports.1..m_flow|Volume.ports.1..p|Volume.ports.1..h_outflow|Volume.ports.2..m_flow|Volume.ports.2..p|Volume.ports.2..h_outflow|Volume.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|Volume.ports_H_flow.1.|Volume.ports_H_flow.2.|Volume.ports_E_flow.1.|Volume.ports_E_flow.2.|Volume.ports_penetration.1.|Volume.ports_penetration.2.|Volume.portsData_diameter_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.2.|Volume.portsData_diameter.1.|Volume.portsData_diameter.2.|Volume.portsData_height.1.|Volume.portsData_height.2.|Volume.portsData_zeta_in.1.|Volume.portsData_zeta_in.2.|Volume.portsData_zeta_out.1.|Volume.portsData_zeta_out.2.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Volume.ports.1..m_flow|Volume.ports.1..p|Volume.ports.1..h_outflow|Volume.ports.2..m_flow|Volume.ports.2..p|Volume.ports.2..h_outflow|Volume.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|Volume.ports_H_flow.1.|Volume.ports_H_flow.2.|Volume.ports_E_flow.1.|Volume.ports_E_flow.2.|Volume.ports_penetration.1.|Volume.ports_penetration.2.|Volume.portsData_diameter_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.2.|Volume.portsData_diameter.1.|Volume.portsData_diameter.2.|Volume.portsData_height.1.|Volume.portsData_height.2.|Volume.portsData_zeta_in.1.|Volume.portsData_zeta_in.2.|Volume.portsData_zeta_out.1.|Volume.portsData_zeta_out.2.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009491/0.0009491, allocations: 178.4 kB / 17.39 MB, free: 4.422 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.416/1.416, allocations: 205.4 MB / 223.5 MB, free: 9.012 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.0008298/0.0008301, allocations: 83.27 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3352/0.3352, allocations: 43.55 MB / 363.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 12 kB / 432.6 MB, free: 5.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1164, allocations: 58.85 MB / 491.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2491/0.3656, allocations: 34.09 MB / 0.5133 GB, free: 26.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.3801, allocations: 15.68 MB / 0.5286 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007585/0.3809, allocations: 21.66 kB / 0.5286 GB, free: 14.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009308/0.3819, allocations: 352.6 kB / 0.5289 GB, free: 14.73 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008859/0.3907, allocations: 3.211 MB / 0.5321 GB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006803/0.3975, allocations: 2.484 MB / 0.5345 GB, free: 12.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.3994, allocations: 2.049 MB / 0.5365 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005849/0.4, allocations: 485.8 kB / 0.537 GB, free: 11.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008725/0.4009, allocations: 0.6519 MB / 0.5376 GB, free: 10.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005776/0.4015, allocations: 0.5501 MB / 0.5381 GB, free: 10.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.049e-05/0.4016, allocations: 35.22 kB / 0.5382 GB, free: 10.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/0.4147, allocations: 7.085 MB / 0.5451 GB, free: 8.969 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.415, allocations: 204.3 kB / 0.5453 GB, free: 8.891 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005076/0.4155, allocations: 398 kB / 0.5457 GB, free: 8.676 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006287/0.4218, allocations: 3.451 MB / 0.549 GB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4218, allocations: 0 / 0.549 GB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4219, allocations: 0 / 0.549 GB, free: 7.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.481e-05/0.4219, allocations: 0 / 0.549 GB, free: 7.59 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.005157/0.4271, allocations: 1.462 MB / 0.5505 GB, free: 6.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4271, allocations: 8.156 kB / 0.5505 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.4299, allocations: 383.9 kB / 0.5508 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/0.4308, allocations: 0.526 MB / 0.5513 GB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.431, allocations: 112.4 kB / 0.5515 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.4311, allocations: 58.98 kB / 0.5515 GB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.4337, allocations: 1.153 MB / 0.5526 GB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.4338, allocations: 5.203 kB / 0.5526 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/0.4339, allocations: 27.28 kB / 0.5527 GB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/0.4339, allocations: 28.03 kB / 0.5527 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/0.4367, allocations: 1.092 MB / 0.5538 GB, free: 4.586 MB / 378.7 MB 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.006226/0.4429, allocations: 5.049 MB / 0.5587 GB, free: 208 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.4457, allocations: 0.9662 MB / 0.5596 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008279/0.4466, allocations: 386.9 kB / 0.56 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04691/0.4935, allocations: 24.43 MB / 0.5839 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.4936, allocations: 46.98 kB / 0.5839 GB, free: 8.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 2.976e-06/0.4936, allocations: 0 / 0.5839 GB, free: 8.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.007171/0.5008, allocations: 2.075 MB / 0.5859 GB, free: 6.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.5009, allocations: 107.2 kB / 0.586 GB, free: 6.039 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000867/0.5017, allocations: 0.5925 MB / 0.5866 GB, free: 5.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.996e-05/0.5018, allocations: 37.7 kB / 0.5867 GB, free: 5.391 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.5021, allocations: 319.6 kB / 0.587 GB, free: 5.074 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.5023, allocations: 165.7 kB / 0.5871 GB, free: 4.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.5023, allocations: 8 kB / 0.5871 GB, free: 4.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5025, allocations: 366.8 kB / 0.5875 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007316/0.5032, allocations: 345 kB / 0.5878 GB, free: 4.195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/0.5041, allocations: 497.6 kB / 0.5883 GB, free: 3.645 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.5055, allocations: 0.7592 MB / 0.589 GB, free: 2.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5055, allocations: 0 / 0.589 GB, free: 2.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002293/0.5078, allocations: 1.074 MB / 0.5901 GB, free: 1.734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.5079, allocations: 8.469 kB / 0.5901 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5079, allocations: 11.94 kB / 0.5901 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.5091, allocations: 437.3 kB / 0.5905 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.5095, allocations: 119.8 kB / 0.5906 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.5114, allocations: 1.642 MB / 0.5922 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007947/0.5122, allocations: 119.2 kB / 0.5923 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.5122, allocations: 32 kB / 0.5924 GB, free: 15.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003547/0.5126, allocations: 237.8 kB / 0.5926 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.5127, allocations: 63.25 kB / 0.5927 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/0.517, allocations: 3.313 MB / 0.5959 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.517, allocations: 3.984 kB / 0.5959 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.517, allocations: 2.438 kB / 0.5959 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.5176, allocations: 354.6 kB / 0.5962 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.5177, allocations: 12 kB / 0.5962 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/0.5183, allocations: 83.86 kB / 0.5963 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.5185, allocations: 68.45 kB / 0.5964 GB, free: 11.16 MB / 426.7 MB [/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): Volume.heatTransfer.states[1].phase = if Volume.heatTransfer.states[1].h < $cse1.h or Volume.heatTransfer.states[1].h > $cse2.h or Volume.vessel_ps_static[2] > 22064000.0 then 1 else 2 2/2 (16): $cse3 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(Volume.vessel_ps_static[2], Volume.heatTransfer.states[1].h, Volume.heatTransfer.states[1].phase, 0) 3/18 (1): Volume.heatTransfer.states[1].d = $cse3.rho 4/19 (1): 0.0 = if Volume.regularFlow[2] then Volume.ports[2].p - (Volume.vessel_ps_static[2] + 0.5 * Volume.portAreas[2] ^ (-2.0) * Modelica.Fluid.Utilities.regSquare2(-FlowSource.m_flow, Volume.m_flow_small, (Volume.portsData[2].zeta_in - 1.0 + (Volume.portAreas[2] / Volume.vesselArea) ^ 2.0) / Volume.portInDensities[2] * Volume.ports_penetration[2], (Volume.portsData[2].zeta_out + 1.0 - (Volume.portAreas[2] / Volume.vesselArea) ^ 2.0) / (Volume.heatTransfer.states[1].d * Volume.ports_penetration[2]), false, 1.0)) else if Volume.inFlow[2] then Volume.ports[2].p - Volume.vessel_ps_static[2] else -FlowSource.m_flow 5/20 (1): Volume.portInDensities[2] = $cse5.rho 6/21 (13): $cse1 = Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(Volume.vessel_ps_static[2]) 7/34 (13): $cse2 = Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(Volume.vessel_ps_static[2]) 8/47 (16): $cse5 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(Volume.vessel_ps_static[2], Sink.ports[1].h_outflow, 0, 0) 9/63 (1): 0.0 = if Volume.regularFlow[2] then Volume.s[2] + Volume.portsData[2].height else if Volume.inFlow[2] then Volume.s[2] + FlowSource.m_flow else Volume.s[2] - 9.869232667160129e-06 * (Volume.ports[2].p - Volume.vessel_ps_static[2]) * Volume.portsData[2].height 10/64 (1): Volume.inFlow[2] = not Volume.regularFlow[2] and (Volume.s[2] > 0.0 or Volume.portsData[2].height >= Volume.fluidLevel_max) 11/65 (1): Volume.portVelocities[2] = smooth(0, (-FlowSource.m_flow) / (Volume.portAreas[2] * Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(Volume.vessel_ps_static[2], if (-FlowSource.m_flow) > 0.0 then Sink.ports[1].h_outflow else Volume.heatTransfer.states[1].h, 0, 0).rho)) 12/66 (1): Volume.ports_H_flow[2] = smooth(0, (-FlowSource.m_flow) * (if (-FlowSource.m_flow) > 0.0 then Sink.ports[1].h_outflow else Volume.heatTransfer.states[1].h)) 13/67 (1): 0.0 = Volume.ports_H_flow[1] + Volume.ports_H_flow[2] + Volume.ports_E_flow[1] + Volume.ports_E_flow[2] 14/68 (1): Volume.ports_E_flow[2] = (-FlowSource.m_flow) * (0.5 * Volume.portVelocities[2] ^ 2.0 + system.g * Volume.portsData[2].height) 15/69 (1): Volume.ports_H_flow[1] = smooth(0, FlowSource.m_flow * (if FlowSource.m_flow > 0.0 then FlowSource.h else Volume.heatTransfer.states[1].h)) 16/70 (1): Volume.portVelocities[1] = smooth(0, FlowSource.m_flow / (Volume.portAreas[1] * Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(Volume.vessel_ps_static[2], if FlowSource.m_flow > 0.0 then FlowSource.h else Volume.heatTransfer.states[1].h, 0, 0).rho)) 17/71 (1): Volume.ports_E_flow[1] = FlowSource.m_flow * (0.5 * Volume.portVelocities[1] ^ 2.0 + system.g * Volume.portsData[1].height) Variables: 1: Volume.ports_E_flow[1]:VARIABLE(unit = "W" ) "flow of kinetic and potential energy at device boundary" type: Real [2] 2: Volume.portVelocities[1]:VARIABLE(unit = "m/s" ) "velocities of fluid flow at device boundary" type: Real [2] 3: Volume.ports_H_flow[1]:VARIABLE(min = -100000000.0 max = 100000000.0 unit = "W" nominal = 1000.0 ) type: Real [2] 4: Volume.portVelocities[2]:VARIABLE(unit = "m/s" ) "velocities of fluid flow at device boundary" type: Real [2] 5: Volume.ports_E_flow[2]:VARIABLE(unit = "W" ) "flow of kinetic and potential energy at device boundary" type: Real [2] 6: Volume.ports_H_flow[2]:VARIABLE(min = -100000000.0 max = 100000000.0 unit = "W" nominal = 1000.0 ) type: Real [2] 7: Volume.heatTransfer.states[1].h:VARIABLE(min = -10000000000.0 max = 10000000000.0 start = Volume.h_start unit = "J/kg" nominal = 500000.0 final = true ) "Specific enthalpy" type: Real [1] 8: Volume.inFlow[2]:DISCRETE(flow=false start = false protected = true ) type: Boolean [2] 9: Volume.s[2]:VARIABLE(start = Volume.fluidLevel_max ) "curve parameters for port flows vs. port pressures; for further details see, Modelica Tutorial: Ideal switching devices" type: Real [2] 10: $cse5.x:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse5.region:DISCRETE(protected = true ) type: Integer unreplaceable 12: $cse5.rho:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse5.R:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse5.s:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse5.dpT:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse5.cp:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse5.pt:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse5.phase:DISCRETE(protected = true ) type: Integer unreplaceable 19: $cse2.R:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse2.cp:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse2.h:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse2.dpT:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse2.pt:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse2.pd:VARIABLE(protected = true ) type: Real unreplaceable 25: $cse2.vt:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse2.s:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse2.cv:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse2.T:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse2.region3boundary:DISCRETE(protected = true ) type: Boolean unreplaceable 30: $cse2.vp:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse2.d:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse1.vt:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse1.dpT:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse1.cp:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse1.R:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse1.pd:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse1.region3boundary:DISCRETE(protected = true ) type: Boolean unreplaceable 38: $cse1.h:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse1.vp:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse1.T:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse1.s:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse1.cv:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse1.pt:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse1.d:VARIABLE(protected = true ) type: Real unreplaceable 45: Volume.vessel_ps_static[2]:VARIABLE(min = 611.657 max = 100000000.0 start = Volume.p_start unit = "Pa" nominal = 1000000.0 ) "static pressures inside the vessel at the height of the corresponding ports, zero flow velocity" type: Real [2] 46: $cse5.vt:VARIABLE(protected = true ) type: Real unreplaceable 47: $cse5.pd:VARIABLE(protected = true ) type: Real unreplaceable 48: $cse5.cv:VARIABLE(protected = true ) type: Real unreplaceable 49: $cse5.h:VARIABLE(protected = true ) type: Real unreplaceable 50: $cse5.p:VARIABLE(protected = true ) type: Real unreplaceable 51: $cse5.T:VARIABLE(protected = true ) type: Real unreplaceable 52: $cse5.vp:VARIABLE(protected = true ) type: Real unreplaceable 53: Volume.portInDensities[2]:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 ) "densities of the fluid at the device boundary" type: Real [2] 54: Volume.heatTransfer.states[1].d:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 final = true ) "Density" type: Real [1] 55: $cse3.vt:VARIABLE(protected = true ) type: Real unreplaceable 56: $cse3.pd:VARIABLE(protected = true ) type: Real unreplaceable 57: $cse3.h:VARIABLE(protected = true ) type: Real unreplaceable 58: $cse3.phase:DISCRETE(protected = true ) type: Integer unreplaceable 59: $cse3.region:DISCRETE(protected = true ) type: Integer unreplaceable 60: $cse3.cp:VARIABLE(protected = true ) type: Real unreplaceable 61: $cse3.vp:VARIABLE(protected = true ) type: Real unreplaceable 62: $cse3.p:VARIABLE(protected = true ) type: Real unreplaceable 63: $cse3.rho:VARIABLE(protected = true ) type: Real unreplaceable 64: $cse3.T:VARIABLE(protected = true ) type: Real unreplaceable 65: $cse3.s:VARIABLE(protected = true ) type: Real unreplaceable 66: $cse3.R:VARIABLE(protected = true ) type: Real unreplaceable 67: $cse3.x:VARIABLE(protected = true ) type: Real unreplaceable 68: $cse3.cv:VARIABLE(protected = true ) type: Real unreplaceable 69: $cse3.pt:VARIABLE(protected = true ) type: Real unreplaceable 70: $cse3.dpT:VARIABLE(protected = true ) type: Real unreplaceable 71: Volume.heatTransfer.states[1].phase:DISCRETE(min = 0 max = 2 final = true ) "Phase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use" type: Integer [1] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9741:5-9742:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001783/0.5203, allocations: 1.836 MB / 0.5982 GB, free: 8.887 MB / 426.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.