Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8913/0.8913, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 20.02 kB / 237.8 MB, free: 1.777 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06462/0.06503, allocations: 31.34 MB / 269.1 MB, free: 7.043 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.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter): time 1.755/1.821, allocations: 296.9 MB / 0.5528 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5625/2.383, allocations: 191.6 MB / 0.7398 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006549/2.384, allocations: 13.66 kB / 0.7399 GB, free: 15.47 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/SteamExtractionSplitter.mo:47:3-48:67:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/SteamExtractionSplitter.mo:49:3-50:65:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/SteamExtractionSplitter.mo:56:3-58:17:writable] Warning: Connector Cex is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkQ.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007811/2.385, allocations: 234.2 kB / 0.7401 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007101/2.385, allocations: 312.9 kB / 0.7404 GB, free: 15.46 MB / 0.6075 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.03551/2.421, allocations: 12.49 MB / 0.7526 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001531/2.422, allocations: 1.053 MB / 0.7536 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/2.423, allocations: 0.5843 MB / 0.7542 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/2.424, allocations: 450 kB / 0.7546 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005149/2.424, allocations: 485 kB / 0.7551 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/2.424, allocations: 102.8 kB / 0.7552 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04401/2.468, allocations: 21.34 MB / 0.776 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/2.469, allocations: 220.6 kB / 0.7762 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009148/2.47, allocations: 0.51 MB / 0.7767 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02951/2.499, allocations: 11.1 MB / 0.7876 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/2.499, allocations: 0 / 0.7876 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.555e-06/2.499, allocations: 0 / 0.7876 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.92e-05/2.499, allocations: 1.094 kB / 0.7876 GB, free: 7.195 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.006942/2.506, allocations: 2.494 MB / 0.79 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/2.506, allocations: 10.31 kB / 0.79 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/2.506, allocations: 119.3 kB / 0.7901 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000743/2.507, allocations: 0.4902 MB / 0.7906 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/2.507, allocations: 72.44 kB / 0.7907 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/2.507, allocations: 94.59 kB / 0.7907 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/2.509, allocations: 1.037 MB / 0.7918 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/2.509, allocations: 2.094 kB / 0.7918 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-05/2.509, allocations: 43.59 kB / 0.7918 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/2.509, allocations: 26.09 kB / 0.7918 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/2.51, allocations: 0.6853 MB / 0.7925 GB, free: 4.75 MB / 0.6075 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.005973/2.516, allocations: 6.759 MB / 0.7991 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/2.517, allocations: 307.5 kB / 0.7994 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/2.517, allocations: 171.2 kB / 0.7996 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8323/3.35, allocations: 232.9 MB / 1.027 GB, free: 244.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/3.35, allocations: 33.06 kB / 1.027 GB, free: 244.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/3.35, allocations: 0 / 1.027 GB, free: 244.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003703/3.353, allocations: 1.341 MB / 1.028 GB, free: 244.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/3.353, allocations: 54.59 kB / 1.028 GB, free: 244.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006893/3.354, allocations: 0.5261 MB / 1.029 GB, free: 244.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/3.354, allocations: 28.39 kB / 1.029 GB, free: 244.1 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/3.354, allocations: 490.6 kB / 1.029 GB, free: 243.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/3.355, allocations: 172.2 kB / 1.03 GB, free: 243.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/3.355, allocations: 154.2 kB / 1.03 GB, free: 243.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.82e-05/3.355, allocations: 364.2 kB / 1.03 GB, free: 243.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/3.355, allocations: 168.6 kB / 1.03 GB, free: 243.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/3.356, allocations: 472.7 kB / 1.031 GB, free: 243.1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/3.356, allocations: 0.69 MB / 1.031 GB, free: 242.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/3.356, allocations: 3.5 kB / 1.031 GB, free: 242.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001841/3.358, allocations: 0.9575 MB / 1.032 GB, free: 242.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/3.358, allocations: 14.11 kB / 1.032 GB, free: 242.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/3.358, allocations: 11.81 kB / 1.032 GB, free: 242.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/3.359, allocations: 0.6062 MB / 1.033 GB, free: 242.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/3.36, allocations: 92.94 kB / 1.033 GB, free: 242.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/3.361, allocations: 2.012 MB / 1.035 GB, free: 241 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/3.361, allocations: 97.31 kB / 1.035 GB, free: 240.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/3.361, allocations: 34.34 kB / 1.035 GB, free: 240.9 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 19 (steamExtractionSplitter.Cex.ftype,steamExtractionSplitter.Cs.ftype,sourceQ.C.ftype,steamExtractionSplitter.fluids[1],singularPressureLoss2.fluid,sinkP.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,sink.fluid,sourceQ.fluid1,steamExtractionSplitter.Cex.diff_on_2,steamExtractionSplitter.Cex.diff_on_1,singularPressureLoss3.C2.diff_on_1,steamExtractionSplitter.Cs.diff_on_2,steamExtractionSplitter.Cs.diff_on_1,singularPressureLoss1.C2.diff_on_1,steamExtractionSplitter.Ce.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002938/3.362, allocations: 231.5 kB / 1.035 GB, free: 240.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/3.362, allocations: 65.3 kB / 1.035 GB, free: 240.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/3.363, allocations: 0.6864 MB / 1.036 GB, free: 240.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/3.363, allocations: 96 / 1.036 GB, free: 240.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/3.363, allocations: 6.672 kB / 1.036 GB, free: 240.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/3.363, allocations: 165.7 kB / 1.036 GB, free: 240.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/3.363, allocations: 7.453 kB / 1.036 GB, free: 240.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/3.364, allocations: 7.844 kB / 1.036 GB, free: 240.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/3.364, allocations: 35.36 kB / 1.036 GB, free: 240.5 MB / 0.8419 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 (14): (steamExtractionSplitter.lsat, steamExtractionSplitter.vsat) = ThermoSysPro.Properties.Fluid.Water_sat_P(steamExtractionSplitter.P, steamExtractionSplitter.fluid) Variables: 1: steamExtractionSplitter.lsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 2: steamExtractionSplitter.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 3: steamExtractionSplitter.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 4: steamExtractionSplitter.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 5: steamExtractionSplitter.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 6: steamExtractionSplitter.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 7: steamExtractionSplitter.lsat.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 8: steamExtractionSplitter.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 9: steamExtractionSplitter.x_ex:VARIABLE(start = 0.99 ) "Vapor mass fraction at the extraction outlet" type: Real 10: steamExtractionSplitter.proe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 11: steamExtractionSplitter.proe.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 12: steamExtractionSplitter.proe.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 13: steamExtractionSplitter.proe.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 14: steamExtractionSplitter.proe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real [/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 = sourceQ.Q0 * singularPressureLoss2.h + (-sink.Q0) * singularPressureLoss3.h - singularPressureLoss1.Q * singularPressureLoss1.h 2/2 (1): singularPressureLoss3.h = if sink.Q0 > 0.0 then singularPressureLoss3.C1.h_vol_1 else 1e5 3/3 (1): singularPressureLoss3.C1.h_vol_1 = 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 4/4 (10): steamExtractionSplitter.proe = ThermoSysPro.Properties.Fluid.Ph(steamExtractionSplitter.P, singularPressureLoss2.h, steamExtractionSplitter.mode_e, steamExtractionSplitter.fluid) 5/14 (1): steamExtractionSplitter.x_ex = steamExtractionSplitter.alpha * steamExtractionSplitter.proe.x 6/15 (14): (steamExtractionSplitter.lsat, steamExtractionSplitter.vsat) = ThermoSysPro.Properties.Fluid.Water_sat_P(steamExtractionSplitter.P, steamExtractionSplitter.fluid) 7/29 (1): singularPressureLoss1.Pm = 0.5 * (steamExtractionSplitter.P + sinkP.P0) 8/30 (1): singularPressureLoss1.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss1.Pm, singularPressureLoss1.h, singularPressureLoss1.fluid, singularPressureLoss1.mode, 0.0, 0.0, 0.0, 0.0) 9/31 (1): singularPressureLoss1.h = if singularPressureLoss1.Q > 0.0 then steamExtractionSplitter.h else sinkP.h 10/32 (1): singularPressureLoss2.h = if sourceQ.Q0 > 0.0 then 2.6e6 else steamExtractionSplitter.h 11/33 (1): singularPressureLoss1.deltaP = steamExtractionSplitter.P - sinkP.P0 12/34 (1): singularPressureLoss1.deltaP = singularPressureLoss1.K * $cse2 / singularPressureLoss1.rho Variables: 1: singularPressureLoss1.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 2: singularPressureLoss1.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 3: singularPressureLoss2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 4: steamExtractionSplitter.h:VARIABLE(start = 1e6 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 5: singularPressureLoss1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 6: singularPressureLoss1.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 7: steamExtractionSplitter.lsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 8: steamExtractionSplitter.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 9: steamExtractionSplitter.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 10: steamExtractionSplitter.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 11: steamExtractionSplitter.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 12: steamExtractionSplitter.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 13: steamExtractionSplitter.lsat.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 14: steamExtractionSplitter.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 15: steamExtractionSplitter.x_ex:VARIABLE(start = 0.99 ) "Vapor mass fraction at the extraction outlet" type: Real 16: steamExtractionSplitter.proe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 17: steamExtractionSplitter.proe.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 18: steamExtractionSplitter.proe.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 19: steamExtractionSplitter.proe.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 20: steamExtractionSplitter.proe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 21: steamExtractionSplitter.proe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 22: steamExtractionSplitter.proe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 23: steamExtractionSplitter.proe.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 24: steamExtractionSplitter.proe.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 25: steamExtractionSplitter.proe.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 26: steamExtractionSplitter.P:VARIABLE(min = 0.0 start = 1e6 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 27: steamExtractionSplitter.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 28: steamExtractionSplitter.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 29: steamExtractionSplitter.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 30: steamExtractionSplitter.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 31: steamExtractionSplitter.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 32: steamExtractionSplitter.vsat.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 33: singularPressureLoss3.C1.h_vol_1:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume 1" type: Real 34: singularPressureLoss3.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" 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.001178/3.365, allocations: 0.8571 MB / 1.037 GB, free: 239.9 MB / 0.8419 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter could not be translated