Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.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.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8373/0.8373, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 16.97 kB / 237.8 MB, free: 1.742 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0557/0.05607, 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.TestSteamDryer2): time 1.688/1.744, allocations: 295.9 MB / 0.5517 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03944/1.783, allocations: 32.62 MB / 0.5836 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003536/1.784, allocations: 4 kB / 0.5836 GB, free: 11.27 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.0006806/1.784, allocations: 186.9 kB / 0.5838 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005745/1.785, allocations: 210.4 kB / 0.584 GB, free: 10.88 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.02298/1.808, allocations: 8.835 MB / 0.5926 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008846/1.809, allocations: 0.6221 MB / 0.5932 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/1.809, allocations: 281.9 kB / 0.5935 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/1.81, allocations: 255 kB / 0.5937 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/1.81, allocations: 234.9 kB / 0.594 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/1.81, allocations: 40 kB / 0.594 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02952/1.84, allocations: 15.86 MB / 0.6095 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/1.84, allocations: 99.58 kB / 0.6096 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/1.84, allocations: 274.6 kB / 0.6098 GB, free: 368 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01728/1.857, allocations: 8.15 MB / 0.6178 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.857, allocations: 4 kB / 0.6178 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.482e-06/1.857, allocations: 0 / 0.6178 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.881e-05/1.857, allocations: 0 / 0.6178 GB, free: 8.184 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.004082/1.862, allocations: 1.646 MB / 0.6194 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.862, allocations: 19.83 kB / 0.6194 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/1.862, allocations: 71.5 kB / 0.6195 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/1.862, allocations: 294.2 kB / 0.6198 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/1.862, allocations: 37 kB / 0.6198 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/1.862, allocations: 40 kB / 0.6198 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/1.863, allocations: 0.5962 MB / 0.6204 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/1.863, allocations: 3.938 kB / 0.6204 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/1.863, allocations: 16 kB / 0.6204 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/1.863, allocations: 27.98 kB / 0.6205 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/1.864, allocations: 355.9 kB / 0.6208 GB, free: 4.938 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.002649/1.866, allocations: 3.505 MB / 0.6242 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/1.867, allocations: 283.2 kB / 0.6245 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/1.867, allocations: 185.9 kB / 0.6247 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.163/2.03, allocations: 80.99 MB / 0.7038 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/2.03, allocations: 38.56 kB / 0.7038 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 3.066e-06/2.03, allocations: 3.938 kB / 0.7038 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.003071/2.033, allocations: 1.219 MB / 0.705 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/2.033, allocations: 89.11 kB / 0.7051 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/2.034, allocations: 286.9 kB / 0.7054 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/2.034, allocations: 29.7 kB / 0.7054 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/2.034, allocations: 213.3 kB / 0.7056 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/2.034, allocations: 245.8 kB / 0.7058 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/2.034, allocations: 89.62 kB / 0.7059 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001449/2.034, allocations: 350.8 kB / 0.7062 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/2.035, allocations: 132.6 kB / 0.7064 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/2.035, allocations: 235.8 kB / 0.7066 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/2.036, allocations: 419.7 kB / 0.707 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/2.036, allocations: 0 / 0.707 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001183/2.037, allocations: 0.6739 MB / 0.7077 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/2.037, allocations: 7.938 kB / 0.7077 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/2.037, allocations: 4 kB / 0.7077 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/2.038, allocations: 0.7834 MB / 0.7084 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/2.038, allocations: 7.938 kB / 0.7084 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1933/2.231, allocations: 2.128 MB / 0.7105 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/2.232, allocations: 54.61 kB / 0.7106 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/2.232, allocations: 10.66 kB / 0.7106 GB, free: 214.1 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.0002179/2.232, allocations: 171.9 kB / 0.7107 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/2.232, allocations: 42.52 kB / 0.7108 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/2.234, allocations: 1.173 MB / 0.7119 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/2.234, allocations: 2.688 kB / 0.7119 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/2.234, allocations: 1.688 kB / 0.7119 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/2.234, allocations: 168.9 kB / 0.7121 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/2.234, allocations: 5.625 kB / 0.7121 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/2.234, allocations: 8.016 kB / 0.7121 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/2.234, allocations: 21.05 kB / 0.7121 GB, free: 213.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(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.001438/2.236, allocations: 1.559 MB / 0.7137 GB, free: 212.3 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2 could not be translated