Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.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.Book.SimpleExamples.Volume.TestSteamDryer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8563/0.8563, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 15.86 kB / 237.7 MB, free: 1.828 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06631/0.06672, allocations: 31.35 MB / 269.1 MB, free: 7.109 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.Book.SimpleExamples.Volume.TestSteamDryer): time 1.669/1.736, allocations: 295.8 MB / 0.5516 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03818/1.774, allocations: 32.61 MB / 0.5834 GB, free: 11 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/1.775, allocations: 4 kB / 0.5834 GB, free: 11 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/SteamDryer.mo:17:3-19:17:writable] Warning: Connector Cev 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/SteamDryer.mo:20:3-21:51:writable] Warning: Connector Csv 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/SteamDryer.mo:28:3-29:53:writable] Warning: Connector Csl 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/SourcePQ.mo:29:3-30: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/Sink.mo:17:3-19:16: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/Sink.mo:17:3-19: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.0005403/1.775, allocations: 204.9 kB / 0.5836 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004904/1.776, allocations: 202.5 kB / 0.5838 GB, free: 10.6 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.02282/1.799, allocations: 8.84 MB / 0.5925 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009804/1.8, allocations: 0.6143 MB / 0.5931 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/1.8, allocations: 281.9 kB / 0.5933 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/1.8, allocations: 255 kB / 0.5936 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/1.801, allocations: 238.9 kB / 0.5938 GB, free: 372 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/1.801, allocations: 40 kB / 0.5938 GB, free: 332 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02848/1.829, allocations: 15.85 MB / 0.6093 GB, free: 464 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/1.83, allocations: 99.56 kB / 0.6094 GB, free: 364 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/1.83, allocations: 274.6 kB / 0.6097 GB, free: 88 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01603/1.846, allocations: 8.146 MB / 0.6176 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.846, allocations: 0 / 0.6176 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/1.846, allocations: 0 / 0.6176 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.908e-05/1.846, allocations: 0 / 0.6176 GB, free: 7.918 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.003844/1.85, allocations: 1.658 MB / 0.6192 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.85, allocations: 11.89 kB / 0.6193 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/1.85, allocations: 67.52 kB / 0.6193 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/1.85, allocations: 302.2 kB / 0.6196 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/1.85, allocations: 37 kB / 0.6196 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/1.85, allocations: 44 kB / 0.6197 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/1.851, allocations: 0.5923 MB / 0.6203 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.851, allocations: 0 / 0.6203 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/1.851, allocations: 20 kB / 0.6203 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/1.851, allocations: 23.98 kB / 0.6203 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/1.852, allocations: 355.9 kB / 0.6206 GB, free: 4.672 MB / 0.4981 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.002837/1.855, allocations: 3.505 MB / 0.6241 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/1.855, allocations: 279.3 kB / 0.6243 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/1.856, allocations: 189.9 kB / 0.6245 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1579/2.014, allocations: 80.99 MB / 0.7036 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/2.014, allocations: 38.44 kB / 0.7036 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 4.769e-06/2.014, allocations: 0 / 0.7036 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.003063/2.017, allocations: 1.23 MB / 0.7048 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/2.017, allocations: 81.09 kB / 0.7049 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/2.017, allocations: 282.9 kB / 0.7052 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/2.017, allocations: 33.7 kB / 0.7052 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/2.017, allocations: 217.3 kB / 0.7054 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/2.018, allocations: 245.7 kB / 0.7057 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/2.018, allocations: 93.62 kB / 0.7057 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/2.018, allocations: 354.8 kB / 0.7061 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/2.018, allocations: 124.6 kB / 0.7062 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/2.018, allocations: 239.9 kB / 0.7064 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/2.019, allocations: 415.7 kB / 0.7068 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/2.019, allocations: 0 / 0.7068 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001215/2.02, allocations: 0.6734 MB / 0.7075 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/2.02, allocations: 12.31 kB / 0.7075 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/2.02, allocations: 8 kB / 0.7075 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/2.022, allocations: 0.7816 MB / 0.7083 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.181e-05/2.022, allocations: 7.938 kB / 0.7083 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1881/2.21, allocations: 2.127 MB / 0.7104 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/2.21, allocations: 50.94 kB / 0.7104 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/2.21, allocations: 18.88 kB / 0.7104 GB, free: 214.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,steamDryer.Csl.b,steamDryer.Csv.b,steamDryer.Cev.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000232/2.21, allocations: 172 kB / 0.7106 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/2.211, allocations: 39.98 kB / 0.7106 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/2.212, allocations: 1.173 MB / 0.7118 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/2.212, allocations: 3.906 kB / 0.7118 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/2.212, allocations: 4.984 kB / 0.7118 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/2.212, allocations: 169.4 kB / 0.7119 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/2.213, allocations: 9.5 kB / 0.7119 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/2.213, allocations: 4.625 kB / 0.712 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/2.213, allocations: 20.02 kB / 0.712 GB, free: 213.9 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(singularPressureLoss2.T, singularPressureLoss2.rho, singularPressureLoss2.pro.u, singularPressureLoss2.pro.s, singularPressureLoss2.pro.cp, singularPressureLoss2.pro.ddhp, singularPressureLoss2.pro.ddph, singularPressureLoss2.pro.duph, singularPressureLoss2.pro.duhp, singularPressureLoss2.pro.x) = $cse5 Variables: 1: singularPressureLoss2.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 2: singularPressureLoss2.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 3: singularPressureLoss2.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 4: singularPressureLoss2.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 5: singularPressureLoss2.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 6: singularPressureLoss2.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 7: singularPressureLoss2.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 8: singularPressureLoss2.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 9: $cse5.s:VARIABLE(protected = true ) type: Real unreplaceable 10: singularPressureLoss2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" 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 = if singularPressureLoss3.Q > 0.0 then singularPressureLoss3.h - steamDryer.Csl.h_vol else singularPressureLoss3.h - sink.h0 2/2 (1): 0.0 = sourceQ.Q0 * singularPressureLoss2.h + (-singularPressureLoss1.Q) * singularPressureLoss1.h - singularPressureLoss3.Q * singularPressureLoss3.h 3/3 (1): singularPressureLoss1.Q = if noEvent(steamDryer.xe > 0.0) then sourceQ.Q0 * (1.0 - steamDryer.eta * (1.0 - steamDryer.xe)) else 0.0 4/4 (1): steamDryer.Csl.h_vol = if noEvent(steamDryer.xe > 0.0) then steamDryer.lsat1.h else singularPressureLoss2.h 5/5 (14): (steamDryer.lsat1, steamDryer.vsat1) = ThermoSysPro.Properties.WaterSteam.IF97.Water_sat_P(steamDryer.P) 6/19 (10): $cse7 = ThermoSysPro.Properties.WaterSteam.IF97.Water_Ph(steamDryer.P, singularPressureLoss2.h, steamDryer.mode_e) 7/29 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(steamDryer.proe.T, steamDryer.proe.d, steamDryer.proe.u, steamDryer.proe.s, steamDryer.proe.cp, steamDryer.proe.ddhp, steamDryer.proe.ddph, steamDryer.proe.duph, steamDryer.proe.duhp, steamDryer.xe) = $cse7 8/39 (1): sourceQ.P0 - steamDryer.P = singularPressureLoss2.deltaP 9/40 (1): singularPressureLoss2.deltaP = singularPressureLoss2.K * $cse6 / singularPressureLoss2.rho 10/41 (10): $cse5 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLoss2.Pm, singularPressureLoss2.h, singularPressureLoss2.mode, singularPressureLoss2.fluid) 11/51 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLoss2.T, singularPressureLoss2.rho, singularPressureLoss2.pro.u, singularPressureLoss2.pro.s, singularPressureLoss2.pro.cp, singularPressureLoss2.pro.ddhp, singularPressureLoss2.pro.ddph, singularPressureLoss2.pro.duph, singularPressureLoss2.pro.duhp, singularPressureLoss2.pro.x) = $cse5 12/61 (1): 0.0 = if sourceQ.Q0 > 0.0 then singularPressureLoss2.h - sourceQ.h0 else singularPressureLoss2.h - steamDryer.h 13/62 (1): 0.0 = if singularPressureLoss1.Q > 0.0 then singularPressureLoss1.h - steamDryer.h else singularPressureLoss1.h - sinkP.h0 14/63 (1): singularPressureLoss2.Pm = 0.5 * (sourceQ.P0 + steamDryer.P) 15/64 (1): 0.0 = sourceQ.Q0 + (-singularPressureLoss1.Q) - singularPressureLoss3.Q Variables: 1: singularPressureLoss3.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 2: singularPressureLoss2.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 3: singularPressureLoss1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 4: steamDryer.h:VARIABLE(start = 1e6 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 5: singularPressureLoss2.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 6: singularPressureLoss2.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 7: singularPressureLoss2.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 8: singularPressureLoss2.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 9: singularPressureLoss2.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 10: singularPressureLoss2.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 11: singularPressureLoss2.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 12: singularPressureLoss2.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 13: $cse5.s:VARIABLE(protected = true ) type: Real unreplaceable 14: singularPressureLoss2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 15: $cse5.cp:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse5.u:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse5.ddph:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse5.d:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse5.x:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse5.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse5.duph:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse5.T:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse5.duhp:VARIABLE(protected = true ) type: Real unreplaceable 24: singularPressureLoss2.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 25: singularPressureLoss2.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 26: singularPressureLoss2.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 27: steamDryer.proe.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 28: steamDryer.proe.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 29: $cse7.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 30: steamDryer.lsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 31: steamDryer.lsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 32: steamDryer.lsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 33: steamDryer.lsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 34: steamDryer.vsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 35: steamDryer.lsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 36: steamDryer.vsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 37: steamDryer.vsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 38: steamDryer.vsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 39: steamDryer.vsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 40: steamDryer.vsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 41: steamDryer.vsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 42: steamDryer.lsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 43: steamDryer.lsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 44: steamDryer.P:VARIABLE(min = 0.0 start = 1e7 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 45: $cse7.duph:VARIABLE(protected = true ) type: Real unreplaceable 46: $cse7.s:VARIABLE(protected = true ) type: Real unreplaceable 47: $cse7.x:VARIABLE(protected = true ) type: Real unreplaceable 48: $cse7.u:VARIABLE(protected = true ) type: Real unreplaceable 49: $cse7.d:VARIABLE(protected = true ) type: Real unreplaceable 50: $cse7.cp:VARIABLE(protected = true ) type: Real unreplaceable 51: $cse7.duhp:VARIABLE(protected = true ) type: Real unreplaceable 52: $cse7.T:VARIABLE(protected = true ) type: Real unreplaceable 53: $cse7.ddph:VARIABLE(protected = true ) type: Real unreplaceable 54: steamDryer.proe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 55: steamDryer.proe.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 56: steamDryer.proe.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 57: steamDryer.proe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 58: steamDryer.proe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 59: steamDryer.proe.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 60: steamDryer.proe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 61: steamDryer.Csl.h_vol:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume" type: Real 62: steamDryer.xe:VARIABLE(min = 0.0 max = 1.0 start = 1.0 ) "Vapor mass fraction at the inlet" type: Real 63: singularPressureLoss1.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 64: 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.001451/2.214, allocations: 1.552 MB / 0.7135 GB, free: 212.4 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer could not be translated