Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.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.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8297/0.8297, allocations: 150.9 MB / 167.2 MB, free: 14.27 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 16.44 kB / 237.8 MB, free: 1.84 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05736/0.05773, allocations: 31.35 MB / 269.1 MB, free: 7.027 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.TestSteamDryer1): time 1.653/1.711, allocations: 295.9 MB / 0.5518 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04565/1.757, allocations: 36.27 MB / 0.5872 GB, free: 7.477 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/1.757, allocations: 4 kB / 0.5872 GB, free: 7.473 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/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/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.0007195/1.758, allocations: 181.5 kB / 0.5874 GB, free: 7.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005809/1.758, allocations: 206.3 kB / 0.5876 GB, free: 7.094 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.02572/1.784, allocations: 10.03 MB / 0.5973 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/1.785, allocations: 0.6765 MB / 0.598 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/1.785, allocations: 274 kB / 0.5983 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/1.786, allocations: 282.8 kB / 0.5985 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/1.786, allocations: 246.8 kB / 0.5988 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-05/1.786, allocations: 48 kB / 0.5988 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03256/1.819, allocations: 18.78 MB / 0.6172 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/1.819, allocations: 107.5 kB / 0.6173 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003603/1.819, allocations: 294.5 kB / 0.6175 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02069/1.84, allocations: 9.076 MB / 0.6264 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.84, allocations: 3.938 kB / 0.6264 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/1.84, allocations: 0 / 0.6264 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.525e-05/1.84, allocations: 0 / 0.6264 GB, free: 15.23 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004598/1.845, allocations: 1.747 MB / 0.6281 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.845, allocations: 11.89 kB / 0.6281 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/1.845, allocations: 67.19 kB / 0.6282 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/1.845, allocations: 306.8 kB / 0.6285 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/1.845, allocations: 33 kB / 0.6285 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/1.845, allocations: 44 kB / 0.6286 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/1.846, allocations: 0.633 MB / 0.6292 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.846, allocations: 0 / 0.6292 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/1.846, allocations: 20 kB / 0.6292 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/1.846, allocations: 27.98 kB / 0.6292 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/1.847, allocations: 391.9 kB / 0.6296 GB, free: 11.83 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02143/1.868, allocations: 11.97 MB / 0.6413 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/1.869, allocations: 319.3 kB / 0.6416 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/1.869, allocations: 210.1 kB / 0.6418 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.336/2.205, allocations: 80.98 MB / 0.7209 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/2.205, allocations: 36.19 kB / 0.7209 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.966e-06/2.205, allocations: 4 kB / 0.7209 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.00277/2.208, allocations: 1.302 MB / 0.7222 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/2.208, allocations: 79.77 kB / 0.7223 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/2.208, allocations: 295.6 kB / 0.7225 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/2.208, allocations: 33.45 kB / 0.7226 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/2.208, allocations: 227.3 kB / 0.7228 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/2.209, allocations: 262.8 kB / 0.723 GB, free: 209 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/2.209, allocations: 92.67 kB / 0.7231 GB, free: 209 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/2.209, allocations: 355.8 kB / 0.7235 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/2.209, allocations: 156.3 kB / 0.7236 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/2.209, allocations: 262.5 kB / 0.7239 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/2.21, allocations: 471.6 kB / 0.7243 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/2.21, allocations: 0 / 0.7243 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0009991/2.211, allocations: 0.735 MB / 0.725 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/2.211, allocations: 5.75 kB / 0.725 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/2.211, allocations: 2.844 kB / 0.725 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/2.212, allocations: 0.8282 MB / 0.7258 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.29e-05/2.212, allocations: 12.31 kB / 0.7259 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/2.214, allocations: 2.126 MB / 0.7279 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/2.214, allocations: 66.8 kB / 0.728 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/2.214, allocations: 12.84 kB / 0.728 GB, free: 206.6 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 (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001628/2.214, allocations: 174.1 kB / 0.7282 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/2.214, allocations: 42.58 kB / 0.7282 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/2.216, allocations: 1.516 MB / 0.7297 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/2.216, allocations: 4.406 kB / 0.7297 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/2.216, allocations: 3.281 kB / 0.7297 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/2.216, allocations: 170.6 kB / 0.7299 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/2.216, allocations: 10.56 kB / 0.7299 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/2.216, allocations: 6.125 kB / 0.7299 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/2.216, allocations: 15.69 kB / 0.7299 GB, free: 206.1 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLoss1.T, singularPressureLoss1.rho, singularPressureLoss1.pro.u, singularPressureLoss1.pro.s, singularPressureLoss1.pro.cp, singularPressureLoss1.pro.ddhp, singularPressureLoss1.pro.ddph, singularPressureLoss1.pro.duph, singularPressureLoss1.pro.duhp, singularPressureLoss1.pro.x) = $cse3 Variables: 1: singularPressureLoss1.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 2: $cse3.cp:VARIABLE(protected = true ) type: Real unreplaceable 3: $cse3.d:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse3.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse3.u:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse3.ddph:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse3.duph:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse3.duhp:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse3.x:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse3.s:VARIABLE(protected = true ) type: Real unreplaceable [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): 0.0 = if 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 (14): (steamDryer.lsat1, steamDryer.vsat1) = ThermoSysPro.Properties.WaterSteam.IF97.Water_sat_P(steamDryer.P) 4/17 (1): steamDryer.Csl.h_vol = if noEvent(steamDryer.xe > 0.0) then steamDryer.lsat1.h else singularPressureLoss2.h 5/18 (10): $cse7 = ThermoSysPro.Properties.WaterSteam.IF97.Water_Ph(steamDryer.P, singularPressureLoss2.h, steamDryer.mode_e) 6/28 (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 7/38 (1): steamDryer.P - sinkP.P0 = singularPressureLoss1.deltaP 8/39 (1): singularPressureLoss1.deltaP = singularPressureLoss1.K * $cse4 / singularPressureLoss1.rho 9/40 (1): $cse4 = ThermoSysPro.Functions.ThermoSquare(singularPressureLoss1.Q, singularPressureLoss1.eps) 10/41 (1): singularPressureLoss1.Q = if noEvent(steamDryer.xe > 0.0) then sourceQ.Q0 * (1.0 - steamDryer.eta * (1.0 - steamDryer.xe)) else 0.0 11/42 (1): 0.0 = sourceQ.Q0 + (-singularPressureLoss1.Q) - singularPressureLoss3.Q 12/43 (1): 0.0 = if singularPressureLoss1.Q > 0.0 then singularPressureLoss1.h - steamDryer.h else singularPressureLoss1.h - sinkP.h 13/44 (10): $cse3 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLoss1.Pm, singularPressureLoss1.h, singularPressureLoss1.mode, singularPressureLoss1.fluid) 14/54 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLoss1.T, singularPressureLoss1.rho, singularPressureLoss1.pro.u, singularPressureLoss1.pro.s, singularPressureLoss1.pro.cp, singularPressureLoss1.pro.ddhp, singularPressureLoss1.pro.ddph, singularPressureLoss1.pro.duph, singularPressureLoss1.pro.duhp, singularPressureLoss1.pro.x) = $cse3 15/64 (1): singularPressureLoss1.Pm = 0.5 * (steamDryer.P + sinkP.P0) 16/65 (1): 0.0 = if sourceQ.Q0 > 0.0 then singularPressureLoss2.h - sourceQ.h0 else singularPressureLoss2.h - steamDryer.h Variables: 1: steamDryer.h:VARIABLE(start = 3e6 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 2: singularPressureLoss1.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 3: singularPressureLoss1.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 4: singularPressureLoss1.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 5: singularPressureLoss1.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 6: singularPressureLoss1.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 7: singularPressureLoss1.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 8: singularPressureLoss1.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 9: singularPressureLoss1.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 10: singularPressureLoss1.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 11: singularPressureLoss1.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 12: singularPressureLoss1.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 13: $cse3.cp:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse3.d:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse3.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse3.u:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse3.ddph:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse3.duph:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse3.duhp:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse3.x:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse3.s:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse3.T:VARIABLE(protected = true ) type: Real unreplaceable 23: singularPressureLoss1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 24: singularPressureLoss3.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 25: steamDryer.xe:VARIABLE(min = 0.0 max = 1.0 start = 1.0 ) "Vapor mass fraction at the inlet" type: Real 26: singularPressureLoss1.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 27: $cse4:VARIABLE(protected = true ) type: Real unreplaceable 28: singularPressureLoss1.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 29: steamDryer.proe.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 30: steamDryer.proe.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 31: $cse7.ddph:VARIABLE(protected = true ) type: Real unreplaceable 32: steamDryer.proe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 33: steamDryer.proe.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 34: steamDryer.proe.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 35: steamDryer.proe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 36: steamDryer.proe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 37: steamDryer.proe.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 38: steamDryer.proe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 39: $cse7.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 40: steamDryer.Csl.h_vol:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume" type: Real 41: steamDryer.lsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 42: steamDryer.lsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 43: steamDryer.lsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 44: steamDryer.lsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 45: steamDryer.vsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 46: steamDryer.lsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 47: steamDryer.vsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 48: steamDryer.vsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 49: steamDryer.vsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 50: steamDryer.vsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 51: steamDryer.vsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 52: steamDryer.vsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 53: steamDryer.lsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 54: steamDryer.lsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 55: steamDryer.P:VARIABLE(min = 0.0 start = 1e7 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 56: $cse7.duph:VARIABLE(protected = true ) type: Real unreplaceable 57: $cse7.s:VARIABLE(protected = true ) type: Real unreplaceable 58: $cse7.x:VARIABLE(protected = true ) type: Real unreplaceable 59: $cse7.u:VARIABLE(protected = true ) type: Real unreplaceable 60: $cse7.d:VARIABLE(protected = true ) type: Real unreplaceable 61: $cse7.cp:VARIABLE(protected = true ) type: Real unreplaceable 62: $cse7.duhp:VARIABLE(protected = true ) type: Real unreplaceable 63: $cse7.T:VARIABLE(protected = true ) type: Real unreplaceable 64: singularPressureLoss2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 65: 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.001385/2.217, allocations: 1.656 MB / 0.7315 GB, free: 204.5 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1 could not be translated