Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.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.Valves.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 177.6 kB / 17.39 MB, free: 4.418 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.494/1.494, 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.0008082/0.0008082, allocations: 89.42 kB / 271.9 MB, free: 8.25 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.3342/0.3342, allocations: 43.55 MB / 363.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 12 kB / 432.6 MB, free: 5.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 58.85 MB / 491.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse): time 0.2699/0.3861, allocations: 70.22 MB / 0.5486 GB, free: 15.95 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03219/0.4183, allocations: 25.34 MB / 0.5733 GB, free: 14.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002893/0.4213, allocations: 49.94 kB / 0.5733 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.4242, allocations: 0.6446 MB / 0.574 GB, free: 13.77 MB / 410.7 MB [/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. [/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. [/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. [/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. [/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.02034/0.4445, allocations: 5.102 MB / 0.579 GB, free: 11.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.4551, allocations: 3.049 MB / 0.5819 GB, free: 8.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006297/0.4614, allocations: 3.669 MB / 0.5855 GB, free: 6.574 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.4636, allocations: 0.9267 MB / 0.5864 GB, free: 5.973 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.4673, allocations: 1.198 MB / 0.5876 GB, free: 5.348 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02426/0.4916, allocations: 14.92 MB / 0.6022 GB, free: 8.891 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000452/0.4921, allocations: 76 kB / 0.6022 GB, free: 8.816 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01773/0.5098, allocations: 7.862 MB / 0.6099 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006526/0.5105, allocations: 326.7 kB / 0.6102 GB, free: 0.625 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.512, allocations: 0.795 MB / 0.611 GB, free: 15.82 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00956/0.5216, allocations: 4.595 MB / 0.6155 GB, free: 11.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.5216, allocations: 0 / 0.6155 GB, free: 11.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5216, allocations: 0 / 0.6155 GB, free: 11.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.028e-05/0.5217, allocations: 0 / 0.6155 GB, free: 11.21 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.008348/0.53, allocations: 2.653 MB / 0.6181 GB, free: 8.508 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.5301, allocations: 12.03 kB / 0.6181 GB, free: 8.496 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005649/0.5358, allocations: 0.7795 MB / 0.6189 GB, free: 7.715 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.5374, allocations: 0.9553 MB / 0.6198 GB, free: 6.719 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.5375, allocations: 102.2 kB / 0.6199 GB, free: 6.617 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.5377, allocations: 116 kB / 0.62 GB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005163/0.5428, allocations: 2.183 MB / 0.6221 GB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.5429, allocations: 11.94 kB / 0.6221 GB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.543, allocations: 48 kB / 0.6222 GB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.543, allocations: 28 kB / 0.6222 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005605/0.5487, allocations: 2.197 MB / 0.6244 GB, free: 1.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.5606, allocations: 8.758 MB / 0.6329 GB, free: 8.531 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006473/0.5671, allocations: 2.165 MB / 0.635 GB, free: 6.359 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.5687, allocations: 0.6831 MB / 0.6357 GB, free: 5.672 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04543/0.6141, allocations: 24.29 MB / 0.6594 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/0.6142, allocations: 47.56 kB / 0.6595 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001007/0.6152, allocations: 138.6 kB / 0.6596 GB, free: 10.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=108): time 6.963e-06/0.6153, allocations: 0 / 0.6596 GB, free: 10.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.01492/0.6302, allocations: 4.192 MB / 0.6637 GB, free: 6.086 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.6303, allocations: 188.9 kB / 0.6639 GB, free: 5.859 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.6319, allocations: 1.044 MB / 0.6649 GB, free: 4.805 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.6321, allocations: 49.7 kB / 0.6649 GB, free: 4.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.6326, allocations: 0.5665 MB / 0.6655 GB, free: 4.176 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.6329, allocations: 370.7 kB / 0.6658 GB, free: 3.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.633, allocations: 27.94 kB / 0.6659 GB, free: 3.781 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6332, allocations: 357.9 kB / 0.6662 GB, free: 3.426 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.6348, allocations: 0.6363 MB / 0.6668 GB, free: 2.789 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.6366, allocations: 0.9687 MB / 0.6678 GB, free: 1.695 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/0.6398, allocations: 1.523 MB / 0.6693 GB, free: 64 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.6399, allocations: 0 / 0.6693 GB, free: 64 kB / 490.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004529/0.6444, allocations: 1.96 MB / 0.6712 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002399/0.6446, allocations: 337.3 kB / 0.6715 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.6447, allocations: 10.06 kB / 0.6715 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006771/0.6515, allocations: 1.188 MB / 0.6727 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.6533, allocations: 415.5 kB / 0.6731 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.6546, allocations: 0.9463 MB / 0.674 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.6562, allocations: 163.8 kB / 0.6741 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/0.6565, allocations: 79.94 kB / 0.6742 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.6565, allocations: 4 kB / 0.6742 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004444/0.6609, allocations: 1.734 MB / 0.6759 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.661, allocations: 8 kB / 0.6759 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.6614, allocations: 88.73 kB / 0.676 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.6631, allocations: 451.6 kB / 0.6764 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.6651, allocations: 1.773 MB / 0.6782 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.6665, allocations: 159.8 kB / 0.6783 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.6667, allocations: 83.95 kB / 0.6784 GB, free: 6.398 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 147 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007078/0.6674, allocations: 380.7 kB / 0.6788 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.6677, allocations: 142.2 kB / 0.6789 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2054/0.8731, allocations: 6.98 MB / 0.6857 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.255e-05/0.8732, allocations: 9.375 kB / 0.6857 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.8732, allocations: 3.562 kB / 0.6857 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.8744, allocations: 0.7354 MB / 0.6865 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.8746, allocations: 23.92 kB / 0.6865 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.8759, allocations: 193.6 kB / 0.6867 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.8761, allocations: 124.2 kB / 0.6868 GB, free: 157.6 MB / 0.4948 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): V3.m_flow = $cse43 * V3.Av * V3.Y * $cse44 2/2 (1): $cse44 = Modelica.Fluid.Utilities.regRoot2(V3.p * V3.xs, V3.dp_small, V3.state_a.d, V3.state_b.d, false, 1.0) 3/3 (1): V3.state_b.d = $cse41.rho 4/4 (16): $cse28 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(V5.port_a.p, V5.port_b.h_outflow, 0, 0) 5/20 (1): V5.state_a.d = $cse28.rho 6/21 (1): V5.port_b.h_outflow = ($cse29 * SourceP1.ports[2].h_outflow + $cse30 * SourceP2.ports[2].h_outflow) / ($cse29 + $cse30) 7/22 (1): $cse30 = max(V3.m_flow, 1e-07) 8/23 (1): V5.m_flow + (-V3.m_flow) - V2.m_flow = 0.0 9/24 (1): $cse42 = max(-V5.m_flow, 1e-07) 10/25 (1): V2.port_a.h_outflow = ($cse42 * SinkP1.ports[1].h_outflow + $cse30 * SourceP2.ports[2].h_outflow) / ($cse42 + $cse30) 11/26 (16): $cse47 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(V5.port_a.p, V2.port_a.h_outflow, 0, 0) 12/42 (1): V2.state_b.d = $cse47.rho 13/43 (1): $cse50 = Modelica.Fluid.Utilities.regRoot2(V2.p * V2.xs, V2.dp_small, V2.state_a.d, V2.state_b.d, false, 1.0) 14/44 (1): V2.m_flow = $cse49 * V2.Av * V2.Y * $cse50 15/45 (1): $cse29 = max(V2.m_flow, 1e-07) 16/46 (1): V3.port_a.h_outflow = ($cse29 * SourceP1.ports[2].h_outflow + $cse42 * SinkP1.ports[1].h_outflow) / ($cse29 + $cse42) 17/47 (16): $cse41 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(V5.port_a.p, V3.port_a.h_outflow, 0, 0) 18/63 (1): V5.m_flow = $cse31 * V5.Av * V5.Y * $cse32 19/64 (1): $cse32 = Modelica.Fluid.Utilities.regRoot2(V5.p * V5.xs, V5.dp_small, V5.state_a.d, V5.state_b.d, false, 1.0) 20/65 (1): V5.p = max(V5.port_a.p, SinkP1.p) 21/66 (1): V5.x = V5.dp / V5.p 22/67 (1): $cse33 = min(V5.x, V5.Fxt) 23/68 (1): V5.xs = max(-V5.Fxt, $cse33) 24/69 (1): V5.Y = 1.0 + (-0.3333333333333333) * abs(V5.xs) / V5.Fxt 25/70 (1): V3.p = max(SourceP2.p, V5.port_a.p) 26/71 (1): V3.x = V3.dp / V3.p 27/72 (1): $cse45 = min(V3.x, V3.Fxt) 28/73 (1): V3.xs = max(-V3.Fxt, $cse45) 29/74 (1): V3.Y = 1.0 + (-0.3333333333333333) * abs(V3.xs) / V3.Fxt 30/75 (1): V2.p = max(SourceP1.p, V5.port_a.p) 31/76 (1): V2.x = V2.dp / V2.p 32/77 (1): $cse51 = min(V2.x, V2.Fxt) 33/78 (1): V2.xs = max(-V2.Fxt, $cse51) 34/79 (1): V2.Y = 1.0 + (-0.3333333333333333) * abs(V2.xs) / V2.Fxt 35/80 (1): V2.dp = SourceP1.p - V5.port_a.p 36/81 (1): V3.dp = SourceP2.p - V5.port_a.p 37/82 (1): V5.dp = V5.port_a.p - SinkP1.p Variables: 1: V5.dp:VARIABLE(start = V5.dp_start unit = "Pa" ) "Pressure difference between port_a and port_b (= port_a.p - port_b.p)" type: Real 2: V3.dp:VARIABLE(start = V3.dp_start unit = "Pa" ) "Pressure difference between port_a and port_b (= port_a.p - port_b.p)" type: Real 3: V2.dp:VARIABLE(start = V2.dp_start unit = "Pa" ) "Pressure difference between port_a and port_b (= port_a.p - port_b.p)" type: Real 4: V2.Y:VARIABLE() "Compressibility factor" type: Real 5: V2.xs:VARIABLE() "Saturated pressure drop ratio" type: Real 6: $cse51:VARIABLE(protected = true ) type: Real unreplaceable 7: V2.x:VARIABLE() "Pressure drop ratio" type: Real 8: V2.p:VARIABLE(min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Inlet pressure" type: Real 9: V3.Y:VARIABLE() "Compressibility factor" type: Real 10: V3.xs:VARIABLE() "Saturated pressure drop ratio" type: Real 11: $cse45:VARIABLE(protected = true ) type: Real unreplaceable 12: V3.x:VARIABLE() "Pressure drop ratio" type: Real 13: V3.p:VARIABLE(min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Inlet pressure" type: Real 14: V5.Y:VARIABLE() "Compressibility factor" type: Real 15: V5.xs:VARIABLE() "Saturated pressure drop ratio" type: Real 16: $cse33:VARIABLE(protected = true ) type: Real unreplaceable 17: V5.x:VARIABLE() "Pressure drop ratio" type: Real 18: V5.p:VARIABLE(min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Inlet pressure" type: Real 19: V5.state_a.d:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) "Density" type: Real 20: $cse32:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse41.rho:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse41.cp:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse41.s:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse41.vt:VARIABLE(protected = true ) type: Real unreplaceable 25: $cse41.T:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse41.pd:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse41.cv:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse41.x:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse41.h:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse41.pt:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse41.R:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse41.p:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse41.vp:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse41.phase:DISCRETE(protected = true ) type: Integer unreplaceable 35: V3.port_a.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 start = 100000.0 unit = "J/kg" nominal = 500000.0 ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real 36: $cse29:VARIABLE(protected = true ) type: Real unreplaceable 37: V2.m_flow:VARIABLE(min = -9.999999999999999e+59 max = 100000.0 start = V2.m_flow_start unit = "kg/s" ) "Mass flow rate in design flow direction" type: Real 38: $cse50:VARIABLE(protected = true ) type: Real unreplaceable 39: V2.state_b.d:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) "Density" type: Real 40: $cse47.vp:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse47.dpT:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse47.region:DISCRETE(protected = true ) type: Integer unreplaceable 43: $cse47.x:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse47.h:VARIABLE(protected = true ) type: Real unreplaceable 45: $cse47.T:VARIABLE(protected = true ) type: Real unreplaceable 46: $cse47.R:VARIABLE(protected = true ) type: Real unreplaceable 47: $cse47.cp:VARIABLE(protected = true ) type: Real unreplaceable 48: $cse47.pt:VARIABLE(protected = true ) type: Real unreplaceable 49: $cse47.s:VARIABLE(protected = true ) type: Real unreplaceable 50: $cse47.vt:VARIABLE(protected = true ) type: Real unreplaceable 51: $cse47.cv:VARIABLE(protected = true ) type: Real unreplaceable 52: $cse47.p:VARIABLE(protected = true ) type: Real unreplaceable 53: $cse47.pd:VARIABLE(protected = true ) type: Real unreplaceable 54: $cse47.rho:VARIABLE(protected = true ) type: Real unreplaceable 55: $cse47.phase:DISCRETE(protected = true ) type: Integer unreplaceable 56: V2.port_a.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 start = 100000.0 unit = "J/kg" nominal = 500000.0 ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real 57: $cse42:VARIABLE(protected = true ) type: Real unreplaceable 58: V5.m_flow:VARIABLE(min = -9.999999999999999e+59 max = 100000.0 start = V5.m_flow_start unit = "kg/s" ) "Mass flow rate in design flow direction" type: Real 59: V3.m_flow:VARIABLE(min = -9.999999999999999e+59 max = 100000.0 start = V3.m_flow_start unit = "kg/s" ) "Mass flow rate in design flow direction" type: Real 60: $cse30:VARIABLE(protected = true ) type: Real unreplaceable 61: $cse28.dpT:VARIABLE(protected = true ) type: Real unreplaceable 62: $cse28.rho:VARIABLE(protected = true ) type: Real unreplaceable 63: $cse28.vp:VARIABLE(protected = true ) type: Real unreplaceable 64: $cse28.vt:VARIABLE(protected = true ) type: Real unreplaceable 65: $cse28.s:VARIABLE(protected = true ) type: Real unreplaceable 66: $cse28.phase:DISCRETE(protected = true ) type: Integer unreplaceable 67: $cse28.T:VARIABLE(protected = true ) type: Real unreplaceable 68: $cse28.pt:VARIABLE(protected = true ) type: Real unreplaceable 69: V5.port_b.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 start = 100000.0 unit = "J/kg" nominal = 500000.0 ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real 70: $cse28.cp:VARIABLE(protected = true ) type: Real unreplaceable 71: $cse28.x:VARIABLE(protected = true ) type: Real unreplaceable 72: $cse28.h:VARIABLE(protected = true ) type: Real unreplaceable 73: $cse28.region:DISCRETE(protected = true ) type: Integer unreplaceable 74: $cse28.p:VARIABLE(protected = true ) type: Real unreplaceable 75: $cse28.R:VARIABLE(protected = true ) type: Real unreplaceable 76: $cse28.cv:VARIABLE(protected = true ) type: Real unreplaceable 77: $cse28.pd:VARIABLE(protected = true ) type: Real unreplaceable 78: V5.port_a.p:VARIABLE(flow=false min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Thermodynamic pressure in the connection point" type: Real 79: $cse41.dpT:VARIABLE(protected = true ) type: Real unreplaceable 80: $cse41.region:DISCRETE(protected = true ) type: Integer unreplaceable 81: V3.state_b.d:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) "Density" type: Real 82: $cse44:VARIABLE(protected = true ) type: Real unreplaceable [/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.002017/0.8782, allocations: 2.479 MB / 0.6892 GB, free: 155.5 MB / 0.4948 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.