Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8359/0.8359, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 16.34 kB / 237.8 MB, free: 1.762 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05472/0.05505, allocations: 31.35 MB / 269.1 MB, free: 7.035 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter): time 1.692/1.747, allocations: 295.9 MB / 0.5518 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04367/1.791, allocations: 36.27 MB / 0.5872 GB, free: 7.664 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/1.791, allocations: 4 kB / 0.5872 GB, free: 7.66 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/SteamExtractionSplitter.mo:17:3-19:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/SteamExtractionSplitter.mo:20:3-21:45:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/SteamExtractionSplitter.mo:27:3-29:46:writable] Warning: Connector Cex is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkQ.mo:24:3-26:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006/1.791, allocations: 190.7 kB / 0.5874 GB, free: 7.473 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005331/1.792, allocations: 198.3 kB / 0.5876 GB, free: 7.277 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02562/1.818, allocations: 10.03 MB / 0.5974 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/1.819, allocations: 0.6842 MB / 0.598 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004649/1.819, allocations: 282 kB / 0.5983 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004413/1.82, allocations: 271 kB / 0.5986 GB, free: 12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/1.82, allocations: 246.8 kB / 0.5988 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/1.82, allocations: 40 kB / 0.5988 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03117/1.851, allocations: 18.79 MB / 0.6172 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/1.851, allocations: 99.58 kB / 0.6173 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/1.852, allocations: 302.5 kB / 0.6176 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01959/1.871, allocations: 9.072 MB / 0.6264 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.871, allocations: 0 / 0.6264 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/1.871, allocations: 0 / 0.6264 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.315e-06/1.871, allocations: 0 / 0.6264 GB, free: 15.41 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004532/1.876, allocations: 1.754 MB / 0.6281 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.876, allocations: 11.89 kB / 0.6281 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/1.876, allocations: 71.19 kB / 0.6282 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/1.876, allocations: 305.9 kB / 0.6285 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/1.876, allocations: 40.94 kB / 0.6285 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/1.877, allocations: 44 kB / 0.6286 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/1.877, allocations: 0.6244 MB / 0.6292 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/1.877, allocations: 4 kB / 0.6292 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/1.877, allocations: 16 kB / 0.6292 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/1.877, allocations: 27.98 kB / 0.6292 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/1.878, allocations: 391.8 kB / 0.6296 GB, free: 12 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02162/1.9, allocations: 11.86 MB / 0.6412 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/1.9, allocations: 323.6 kB / 0.6415 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/1.901, allocations: 222.1 kB / 0.6417 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3599/2.261, allocations: 80.96 MB / 0.7208 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/2.261, allocations: 34.06 kB / 0.7208 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.976e-06/2.261, allocations: 1.531 kB / 0.7208 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.003313/2.264, allocations: 1.386 MB / 0.7222 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.473e-05/2.264, allocations: 54.91 kB / 0.7222 GB, free: 210 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/2.264, allocations: 325.9 kB / 0.7225 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/2.264, allocations: 32.33 kB / 0.7226 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/2.264, allocations: 229.3 kB / 0.7228 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/2.265, allocations: 255.2 kB / 0.723 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/2.265, allocations: 90.69 kB / 0.7231 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.206e-05/2.265, allocations: 360.2 kB / 0.7235 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/2.265, allocations: 158.8 kB / 0.7236 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/2.265, allocations: 267.8 kB / 0.7239 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/2.266, allocations: 486.7 kB / 0.7243 GB, free: 209 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/2.266, allocations: 7.828 kB / 0.7243 GB, free: 209 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001189/2.267, allocations: 0.7778 MB / 0.7251 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/2.267, allocations: 6.047 kB / 0.7251 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/2.267, allocations: 8.344 kB / 0.7251 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/2.268, allocations: 0.7831 MB / 0.7259 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.121e-05/2.268, allocations: 16.38 kB / 0.7259 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/2.27, allocations: 2.151 MB / 0.728 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/2.27, allocations: 57.59 kB / 0.728 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/2.27, allocations: 15.16 kB / 0.7281 GB, free: 207.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (sink.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceQ.C.b,steamExtractionSplitter.Cex.b,steamExtractionSplitter.Cs.b,steamExtractionSplitter.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001813/2.27, allocations: 178 kB / 0.7282 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/2.27, allocations: 48.56 kB / 0.7283 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/2.272, allocations: 1.394 MB / 0.7296 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/2.272, allocations: 1.406 kB / 0.7296 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/2.272, allocations: 5.266 kB / 0.7296 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/2.272, allocations: 163.8 kB / 0.7298 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/2.272, allocations: 6.875 kB / 0.7298 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/2.272, allocations: 6.562 kB / 0.7298 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/2.272, allocations: 11.31 kB / 0.7298 GB, free: 206.8 MB / 0.5919 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 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLoss1.T, singularPressureLoss1.rho, singularPressureLoss1.pro.u, singularPressureLoss1.pro.s, singularPressureLoss1.pro.cp, singularPressureLoss1.pro.ddhp, singularPressureLoss1.pro.ddph, singularPressureLoss1.pro.duph, singularPressureLoss1.pro.duhp, singularPressureLoss1.pro.x) = $cse3 Variables: 1: singularPressureLoss1.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 2: singularPressureLoss1.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 3: $cse3.duhp:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse3.ddph:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse3.cp:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse3.s:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse3.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse3.d:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse3.T:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse3.u:VARIABLE(protected = true ) type: Real unreplaceable [/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): 0.0 = if sink.Q0 > 0.0 then singularPressureLoss3.h - steamExtractionSplitter.Cex.h_vol else singularPressureLoss3.h - sink.h0 2/2 (1): steamExtractionSplitter.Cex.h_vol = if noEvent(steamExtractionSplitter.x_ex < 1.0) then (1.0 - steamExtractionSplitter.x_ex) * steamExtractionSplitter.lsat.h + steamExtractionSplitter.x_ex * steamExtractionSplitter.vsat.h else steamExtractionSplitter.h 3/3 (14): (steamExtractionSplitter.lsat, steamExtractionSplitter.vsat) = ThermoSysPro.Properties.WaterSteam.IF97.Water_sat_P(steamExtractionSplitter.P) 4/17 (10): steamExtractionSplitter.proe = ThermoSysPro.Properties.WaterSteam.IF97.Water_Ph(steamExtractionSplitter.P, singularPressureLoss2.h, steamExtractionSplitter.mode_e) 5/27 (1): steamExtractionSplitter.x_ex = steamExtractionSplitter.alpha * steamExtractionSplitter.proe.x 6/28 (1): steamExtractionSplitter.P - sinkP.P0 = singularPressureLoss1.deltaP 7/29 (1): singularPressureLoss1.deltaP = singularPressureLoss1.K * $cse4 / singularPressureLoss1.rho 8/30 (10): $cse3 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLoss1.Pm, singularPressureLoss1.h, singularPressureLoss1.mode, singularPressureLoss1.fluid) 9/40 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLoss1.T, singularPressureLoss1.rho, singularPressureLoss1.pro.u, singularPressureLoss1.pro.s, singularPressureLoss1.pro.cp, singularPressureLoss1.pro.ddhp, singularPressureLoss1.pro.ddph, singularPressureLoss1.pro.duph, singularPressureLoss1.pro.duhp, singularPressureLoss1.pro.x) = $cse3 10/50 (1): 0.0 = sourceQ.Q0 * singularPressureLoss2.h + (-singularPressureLoss1.Q) * singularPressureLoss1.h - sink.Q0 * singularPressureLoss3.h 11/51 (1): 0.0 = if singularPressureLoss1.Q > 0.0 then singularPressureLoss1.h - steamExtractionSplitter.h else singularPressureLoss1.h - sinkP.h 12/52 (1): 0.0 = if sourceQ.Q0 > 0.0 then singularPressureLoss2.h - sourceQ.h0 else singularPressureLoss2.h - steamExtractionSplitter.h 13/53 (1): singularPressureLoss1.Pm = 0.5 * (steamExtractionSplitter.P + sinkP.P0) Variables: 1: singularPressureLoss1.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 2: singularPressureLoss2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 3: steamExtractionSplitter.h:VARIABLE(start = 1e6 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 4: singularPressureLoss3.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 5: singularPressureLoss1.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 6: singularPressureLoss1.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 7: $cse3.duhp:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse3.ddph:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse3.cp:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse3.s:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse3.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse3.d:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse3.T:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse3.u:VARIABLE(protected = true ) type: Real unreplaceable 15: singularPressureLoss1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 16: $cse3.duph:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse3.x:VARIABLE(protected = true ) type: Real unreplaceable 18: singularPressureLoss1.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 19: singularPressureLoss1.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 20: singularPressureLoss1.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 21: singularPressureLoss1.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 22: singularPressureLoss1.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 23: singularPressureLoss1.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 24: singularPressureLoss1.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 25: singularPressureLoss1.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 26: singularPressureLoss1.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 27: steamExtractionSplitter.x_ex:VARIABLE(start = 0.99 ) "Vapor mass fraction at the extraction outlet" type: Real 28: steamExtractionSplitter.proe.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 29: steamExtractionSplitter.proe.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 30: steamExtractionSplitter.proe.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 31: steamExtractionSplitter.proe.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 32: steamExtractionSplitter.proe.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 33: steamExtractionSplitter.proe.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 34: steamExtractionSplitter.proe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 35: steamExtractionSplitter.proe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 36: steamExtractionSplitter.proe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 37: steamExtractionSplitter.proe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 38: steamExtractionSplitter.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 39: steamExtractionSplitter.vsat.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 40: steamExtractionSplitter.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 41: steamExtractionSplitter.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 42: steamExtractionSplitter.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 43: steamExtractionSplitter.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 44: steamExtractionSplitter.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 45: steamExtractionSplitter.lsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 46: steamExtractionSplitter.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 47: steamExtractionSplitter.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 48: steamExtractionSplitter.P:VARIABLE(min = 0.0 start = 1e6 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 49: steamExtractionSplitter.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 50: steamExtractionSplitter.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 51: steamExtractionSplitter.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 52: steamExtractionSplitter.lsat.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 53: steamExtractionSplitter.Cex.h_vol:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume" type: Real [/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.001239/2.274, allocations: 1.246 MB / 0.731 GB, free: 205.6 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter could not be translated