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.9097/0.9097, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 23.02 kB / 237.8 MB, free: 1.781 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05665/0.05703, allocations: 31.35 MB / 269.1 MB, free: 7.02 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.804/1.861, allocations: 295.9 MB / 0.5518 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04841/1.91, allocations: 36.27 MB / 0.5872 GB, free: 7.617 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/1.91, allocations: 4 kB / 0.5872 GB, free: 7.613 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.0007287/1.911, allocations: 209.5 kB / 0.5874 GB, free: 7.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004999/1.911, allocations: 230.3 kB / 0.5877 GB, free: 7.184 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.03253/1.944, allocations: 10.2 MB / 0.5976 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/1.945, allocations: 0.6843 MB / 0.5983 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/1.946, allocations: 274 kB / 0.5985 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005611/1.946, allocations: 278.9 kB / 0.5988 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/1.947, allocations: 254.8 kB / 0.5991 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/1.947, allocations: 40 kB / 0.5991 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03585/1.983, allocations: 18.79 MB / 0.6174 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002049/1.983, allocations: 107.6 kB / 0.6175 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/1.983, allocations: 294.5 kB / 0.6178 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02981/2.013, allocations: 9.072 MB / 0.6267 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.126e-05/2.013, allocations: 3.984 kB / 0.6267 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/2.013, allocations: 0 / 0.6267 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.111e-05/2.013, allocations: 0 / 0.6267 GB, free: 15.14 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.006121/2.019, allocations: 1.751 MB / 0.6284 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/2.02, allocations: 15.83 kB / 0.6284 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/2.02, allocations: 63.19 kB / 0.6285 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/2.02, allocations: 302.9 kB / 0.6288 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/2.02, allocations: 33 kB / 0.6288 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/2.02, allocations: 44 kB / 0.6288 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/2.021, allocations: 0.6291 MB / 0.6295 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/2.021, allocations: 7.938 kB / 0.6295 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/2.022, allocations: 16 kB / 0.6295 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/2.022, allocations: 27.97 kB / 0.6295 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/2.022, allocations: 383.9 kB / 0.6299 GB, free: 11.75 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.02516/2.047, allocations: 11.98 MB / 0.6416 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008249/2.048, allocations: 315.4 kB / 0.6419 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/2.049, allocations: 210.1 kB / 0.6421 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4128/2.461, allocations: 80.98 MB / 0.7211 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/2.462, allocations: 33.69 kB / 0.7212 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.476e-06/2.462, allocations: 0.9844 kB / 0.7212 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.002969/2.465, allocations: 1.307 MB / 0.7225 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/2.465, allocations: 84.03 kB / 0.7225 GB, free: 210 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/2.465, allocations: 292.4 kB / 0.7228 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/2.465, allocations: 29.52 kB / 0.7228 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/2.465, allocations: 223.8 kB / 0.7231 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/2.465, allocations: 260.4 kB / 0.7233 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/2.465, allocations: 91.88 kB / 0.7234 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.994e-05/2.465, allocations: 363.3 kB / 0.7237 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/2.466, allocations: 155.5 kB / 0.7239 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/2.466, allocations: 261.1 kB / 0.7241 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/2.466, allocations: 473.2 kB / 0.7246 GB, free: 209 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/2.466, allocations: 0 / 0.7246 GB, free: 209 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001109/2.467, allocations: 0.7282 MB / 0.7253 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/2.468, allocations: 8.625 kB / 0.7253 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/2.468, allocations: 6.781 kB / 0.7253 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/2.469, allocations: 0.8323 MB / 0.7261 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/2.469, allocations: 12.19 kB / 0.7261 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/2.471, allocations: 2.123 MB / 0.7282 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/2.471, allocations: 62.48 kB / 0.7283 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/2.471, allocations: 17.5 kB / 0.7283 GB, free: 207.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 (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.0002012/2.471, allocations: 182.3 kB / 0.7285 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/2.471, allocations: 40.75 kB / 0.7285 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/2.473, allocations: 1.513 MB / 0.73 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/2.473, allocations: 0.5625 kB / 0.73 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/2.473, allocations: 2.5 kB / 0.73 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/2.473, allocations: 170.6 kB / 0.7301 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/2.473, allocations: 16.69 kB / 0.7302 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/2.473, allocations: 10.12 kB / 0.7302 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/2.473, allocations: 14.44 kB / 0.7302 GB, free: 206.7 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.001546/2.475, allocations: 1.656 MB / 0.7318 GB, free: 205.1 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