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.8182/0.8182, allocations: 150.9 MB / 167.2 MB, free: 14.29 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 13.44 kB / 237.7 MB, free: 1.875 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05281/0.05317, allocations: 31.35 MB / 269.1 MB, free: 7.086 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.668/1.721, allocations: 295.6 MB / 0.5514 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03668/1.757, allocations: 32.61 MB / 0.5833 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/1.758, allocations: 4 kB / 0.5833 GB, free: 11.5 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.0005206/1.758, allocations: 174.8 kB / 0.5835 GB, free: 11.33 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/1.759, allocations: 186.4 kB / 0.5836 GB, free: 11.15 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.02026/1.779, allocations: 8.719 MB / 0.5921 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007752/1.78, allocations: 0.6182 MB / 0.5928 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/1.78, allocations: 270 kB / 0.593 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/1.78, allocations: 255 kB / 0.5933 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/1.781, allocations: 234.9 kB / 0.5935 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/1.781, allocations: 40 kB / 0.5935 GB, free: 1.004 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02603/1.807, allocations: 15.86 MB / 0.609 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/1.807, allocations: 95.58 kB / 0.6091 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003281/1.807, allocations: 282.6 kB / 0.6094 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01695/1.824, allocations: 8.121 MB / 0.6173 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.824, allocations: 4 kB / 0.6173 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.824, allocations: 0 / 0.6173 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.245e-05/1.824, allocations: 0 / 0.6173 GB, free: 8.605 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.003817/1.828, allocations: 1.6 MB / 0.6189 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/1.828, allocations: 15.88 kB / 0.6189 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/1.828, allocations: 67.28 kB / 0.6189 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/1.828, allocations: 302 kB / 0.6192 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/1.828, allocations: 37 kB / 0.6193 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/1.829, allocations: 43.98 kB / 0.6193 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/1.829, allocations: 0.5923 MB / 0.6199 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/1.829, allocations: 0 / 0.6199 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/1.829, allocations: 16 kB / 0.6199 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/1.829, allocations: 23.98 kB / 0.6199 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/1.83, allocations: 359.9 kB / 0.6203 GB, free: 5.422 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.002507/1.832, allocations: 3.493 MB / 0.6237 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/1.833, allocations: 279.3 kB / 0.6239 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/1.833, allocations: 185.9 kB / 0.6241 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1618/1.995, allocations: 80.98 MB / 0.7032 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.995, allocations: 34.56 kB / 0.7032 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/1.995, allocations: 4 kB / 0.7032 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002854/1.998, allocations: 1.219 MB / 0.7044 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/1.998, allocations: 89.05 kB / 0.7045 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/1.998, allocations: 290.8 kB / 0.7048 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/1.998, allocations: 25.7 kB / 0.7048 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/1.999, allocations: 216.9 kB / 0.705 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/1.999, allocations: 224.5 kB / 0.7052 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.999, allocations: 93.58 kB / 0.7053 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.999, allocations: 346.8 kB / 0.7057 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/1.999, allocations: 124.6 kB / 0.7058 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/1.999, allocations: 243.9 kB / 0.706 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/2, allocations: 419.7 kB / 0.7064 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/2, allocations: 0 / 0.7064 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00118/2.001, allocations: 0.6692 MB / 0.7071 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/2.001, allocations: 11.94 kB / 0.7071 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/2.001, allocations: 7.984 kB / 0.7071 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/2.003, allocations: 0.7834 MB / 0.7079 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.939e-05/2.003, allocations: 7.938 kB / 0.7079 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1749/2.177, allocations: 2.128 MB / 0.7099 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/2.178, allocations: 59.45 kB / 0.71 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/2.178, allocations: 10.38 kB / 0.71 GB, free: 214.8 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.0001893/2.178, allocations: 170.5 kB / 0.7102 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/2.178, allocations: 38.78 kB / 0.7102 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/2.18, allocations: 1.17 MB / 0.7113 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/2.18, allocations: 1.688 kB / 0.7113 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/2.18, allocations: 5.891 kB / 0.7114 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/2.18, allocations: 172.5 kB / 0.7115 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/2.18, allocations: 4.906 kB / 0.7115 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/2.18, allocations: 6.125 kB / 0.7115 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/2.18, allocations: 14.95 kB / 0.7115 GB, free: 214.5 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.001245/2.181, allocations: 1.564 MB / 0.7131 GB, free: 213 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