Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 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(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_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_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 113.8 kB / 17.09 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 194.9 kB / 18.02 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2049/0.2049, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 75.89 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1094, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse): time 0.3093/0.4187, allocations: 75.08 MB / 0.5619 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03457/0.4534, allocations: 26.84 MB / 0.5881 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.4555, allocations: 46.41 kB / 0.5881 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.4577, allocations: 0.8163 MB / 0.5889 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01749/0.4752, allocations: 6.286 MB / 0.5951 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0107/0.4859, allocations: 3.756 MB / 0.5987 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004841/0.4908, allocations: 3.41 MB / 0.6021 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.4927, allocations: 1.074 MB / 0.6031 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.4956, allocations: 1.396 MB / 0.6045 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0211/0.5167, allocations: 8.973 MB / 0.6132 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.5178, allocations: 144 kB / 0.6134 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01941/0.5372, allocations: 8.296 MB / 0.6215 GB, free: 2.227 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007452/0.538, allocations: 414.5 kB / 0.6219 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.5398, allocations: 0.8788 MB / 0.6227 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.5565, allocations: 6.649 MB / 0.6292 GB, free: 10.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5565, allocations: 0 / 0.6292 GB, free: 10.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5566, allocations: 0 / 0.6292 GB, free: 10.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.332e-05/0.5566, allocations: 0 / 0.6292 GB, free: 10.27 MB / 478.1 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.009135/0.5658, allocations: 2.961 MB / 0.6321 GB, free: 7.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5658, allocations: 11.89 kB / 0.6321 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006568/0.5724, allocations: 0.7639 MB / 0.6329 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.5744, allocations: 0.9867 MB / 0.6338 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.5745, allocations: 102.2 kB / 0.6339 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.5748, allocations: 116 kB / 0.6341 GB, free: 5.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006435/0.5813, allocations: 2.12 MB / 0.6361 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.5813, allocations: 11.94 kB / 0.6361 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.5816, allocations: 48 kB / 0.6362 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.5816, allocations: 32 kB / 0.6362 GB, free: 2.895 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006282/0.5879, allocations: 2.088 MB / 0.6382 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.6006, allocations: 8.648 MB / 0.6467 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006697/0.6073, allocations: 1.977 MB / 0.6486 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.6088, allocations: 0.644 MB / 0.6493 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05147/0.6603, allocations: 24.16 MB / 0.6729 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.6604, allocations: 55.5 kB / 0.6729 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000719/0.6611, allocations: 122.6 kB / 0.673 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=108): time 4.088e-06/0.6611, allocations: 0 / 0.673 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108): time 0.01516/0.6763, allocations: 3.845 MB / 0.6768 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.6764, allocations: 192.9 kB / 0.677 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.6781, allocations: 1.056 MB / 0.678 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.6783, allocations: 45.7 kB / 0.678 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/0.6788, allocations: 0.5627 MB / 0.6786 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.6792, allocations: 370.6 kB / 0.6789 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004844/0.6797, allocations: 311.3 kB / 0.6792 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6798, allocations: 357.9 kB / 0.6796 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.6815, allocations: 0.6137 MB / 0.6802 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.6835, allocations: 0.9255 MB / 0.6811 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003503/0.687, allocations: 1.437 MB / 0.6825 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.687, allocations: 7.938 kB / 0.6825 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004659/0.6917, allocations: 1.894 MB / 0.6843 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.6917, allocations: 8 kB / 0.6843 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.6918, allocations: 8 kB / 0.6844 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007672/0.6994, allocations: 1.156 MB / 0.6855 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.7013, allocations: 387.4 kB / 0.6859 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.7028, allocations: 0.9268 MB / 0.6868 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.7045, allocations: 107.9 kB / 0.6869 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/0.7048, allocations: 80.83 kB / 0.6869 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002031/0.7068, allocations: 0.7809 MB / 0.6877 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002206/0.7091, allocations: 0.9218 MB / 0.6886 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003296/0.7124, allocations: 1.411 MB / 0.69 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.464e-05/0.7124, allocations: 7.984 kB / 0.69 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004776/0.7172, allocations: 1.777 MB / 0.6917 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.7172, allocations: 10.66 kB / 0.6917 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.7172, allocations: 12 kB / 0.6917 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/0.7177, allocations: 88.78 kB / 0.6918 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.7194, allocations: 427.5 kB / 0.6922 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.7216, allocations: 1.948 MB / 0.6941 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.723, allocations: 112 kB / 0.6942 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.7232, allocations: 75.95 kB / 0.6943 GB, free: 3.059 MB / 0.5294 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.0004229/0.7236, allocations: 263.9 kB / 0.6946 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/0.724, allocations: 138.3 kB / 0.6947 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009402/0.7334, allocations: 6.815 MB / 0.7014 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.7334, allocations: 11.91 kB / 0.7014 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7335, allocations: 0 / 0.7014 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/0.7343, allocations: 484.9 kB / 0.7018 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/0.7348, allocations: 118.7 kB / 0.7019 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.736, allocations: 119.8 kB / 0.7021 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.7363, allocations: 117.1 kB / 0.7022 GB, free: 10.96 MB / 0.545 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: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 = -1e60 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: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 = -1e60 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 = -1e60 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: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.002799/0.7391, allocations: 2.406 MB / 0.7045 GB, free: 8.02 MB / 0.545 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse could not be translated