Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 118.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.12 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 79.88 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3198, allocations: 62.43 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse): time 0.07029/0.3901, allocations: 75.3 MB / 0.6052 GB, free: 6.125 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03234/0.4225, allocations: 26.88 MB / 0.6315 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.424, allocations: 39.69 kB / 0.6315 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.426, allocations: 0.8032 MB / 0.6323 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01549/0.4415, allocations: 6.271 MB / 0.6384 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009695/0.4512, allocations: 3.771 MB / 0.6421 GB, free: 280 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004794/0.456, allocations: 3.412 MB / 0.6454 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.4581, allocations: 1.069 MB / 0.6465 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003369/0.4615, allocations: 1.397 MB / 0.6478 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01777/0.4793, allocations: 8.969 MB / 0.6566 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006224/0.4799, allocations: 144 kB / 0.6567 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01678/0.4967, allocations: 8.308 MB / 0.6648 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006982/0.4975, allocations: 402.7 kB / 0.6652 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.499, allocations: 0.8904 MB / 0.6661 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.5127, allocations: 6.665 MB / 0.6726 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5127, allocations: 0 / 0.6726 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.477e-06/0.5127, allocations: 0 / 0.6726 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.3e-05/0.5128, allocations: 7.938 kB / 0.6726 GB, free: 0.8164 MB / 0.5137 GB 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.008487/0.5213, allocations: 2.954 MB / 0.6755 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5213, allocations: 12.03 kB / 0.6755 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006268/0.5276, allocations: 0.7561 MB / 0.6762 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.5297, allocations: 0.9904 MB / 0.6772 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.5298, allocations: 102.2 kB / 0.6773 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003302/0.5301, allocations: 120 kB / 0.6774 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005851/0.536, allocations: 2.128 MB / 0.6795 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.536, allocations: 4 kB / 0.6795 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.5362, allocations: 48 kB / 0.6795 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.5363, allocations: 32 kB / 0.6796 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006022/0.5423, allocations: 2.088 MB / 0.6816 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.5546, allocations: 8.656 MB / 0.6901 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006636/0.5613, allocations: 1.963 MB / 0.692 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.5627, allocations: 0.644 MB / 0.6926 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2865/0.8492, allocations: 26.75 MB / 0.7187 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.8493, allocations: 50.34 kB / 0.7188 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006775/0.85, allocations: 125.8 kB / 0.7189 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=108): time 3.165e-06/0.85, allocations: 0 / 0.7189 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=108): time 0.01377/0.8638, allocations: 3.835 MB / 0.7226 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.8639, allocations: 195.2 kB / 0.7228 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.865, allocations: 1.065 MB / 0.7239 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.8652, allocations: 49.42 kB / 0.7239 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.8655, allocations: 0.5676 MB / 0.7245 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.8657, allocations: 364.1 kB / 0.7248 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/0.8661, allocations: 314 kB / 0.7251 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.8662, allocations: 357.2 kB / 0.7255 GB, free: 147 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.8677, allocations: 0.6109 MB / 0.7261 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.8692, allocations: 0.922 MB / 0.727 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/0.8718, allocations: 1.442 MB / 0.7284 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.8718, allocations: 0 / 0.7284 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003581/0.8754, allocations: 1.887 MB / 0.7302 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.8754, allocations: 10.25 kB / 0.7302 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.8754, allocations: 9.906 kB / 0.7302 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006722/0.8822, allocations: 1.152 MB / 0.7314 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.8837, allocations: 391.4 kB / 0.7317 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.8848, allocations: 0.9408 MB / 0.7326 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.8862, allocations: 101.4 kB / 0.7327 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.8864, allocations: 81.95 kB / 0.7328 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00157/0.8879, allocations: 0.7785 MB / 0.7336 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00136/0.8893, allocations: 0.9184 MB / 0.7345 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002414/0.8917, allocations: 1.413 MB / 0.7359 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.391e-06/0.8917, allocations: 3.375 kB / 0.7359 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003698/0.8955, allocations: 1.773 MB / 0.7376 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8955, allocations: 9 kB / 0.7376 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8955, allocations: 10 kB / 0.7376 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.8959, allocations: 104.2 kB / 0.7377 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.8974, allocations: 422.2 kB / 0.7381 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.8989, allocations: 1.949 MB / 0.74 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.9001, allocations: 102.7 kB / 0.7401 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.9002, allocations: 79.28 kB / 0.7402 GB, free: 142.7 MB / 0.5606 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 (SinkP3.medium.phase,SinkP2.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SourceP1.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.9006, allocations: 269.1 kB / 0.7404 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.9008, allocations: 142.5 kB / 0.7406 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006417/0.9073, allocations: 6.824 MB / 0.7472 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.9073, allocations: 7.312 kB / 0.7473 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.9073, allocations: 0 / 0.7473 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/0.9079, allocations: 483.8 kB / 0.7477 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.9081, allocations: 110.1 kB / 0.7478 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000978/0.9091, allocations: 121.1 kB / 0.7479 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.9093, allocations: 116.9 kB / 0.748 GB, free: 137.2 MB / 0.5606 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): 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-7) 8/23 (1): V5.m_flow + (-V3.m_flow) - V2.m_flow = 0.0 9/24 (1): $cse42 = max(-V5.m_flow, 1e-7) 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-7) 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 = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "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 = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "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 = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "Inlet pressure" type: Real 19: V5.state_a.d:VARIABLE(min = 0.0 max = 1e5 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_s: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 = -1e10 max = 1e10 start = 1e5 unit = "J/kg" nominal = 5e5 ) "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 = -1.7976931348623157e308 max = 1e5 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 = 1e5 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_s: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 = -1e10 max = 1e10 start = 1e5 unit = "J/kg" nominal = 5e5 ) "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 = -1.7976931348623157e308 max = 1e5 start = V5.m_flow_start unit = "kg/s" ) "Mass flow rate in design flow direction" type: Real 59: V3.m_flow:VARIABLE(min = -1.7976931348623157e308 max = 1e5 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 = -1e10 max = 1e10 start = 1e5 unit = "J/kg" nominal = 5e5 ) "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_s: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 = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "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 = 1e5 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:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001797/0.9111, allocations: 2.409 MB / 0.7504 GB, free: 134.5 MB / 0.5606 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse could not be translated