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.8219/0.8219, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 18.09 kB / 237.8 MB, free: 1.781 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05389/0.05425, allocations: 31.35 MB / 269.1 MB, free: 7.043 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.668/1.722, allocations: 295.7 MB / 0.5516 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03721/1.759, allocations: 32.62 MB / 0.5834 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/1.76, allocations: 4 kB / 0.5835 GB, free: 11.29 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.0004835/1.76, allocations: 166.8 kB / 0.5836 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/1.761, allocations: 186.4 kB / 0.5838 GB, free: 10.94 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.02222/1.783, allocations: 8.724 MB / 0.5923 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009683/1.784, allocations: 0.6143 MB / 0.5929 GB, free: 1.578 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004545/1.784, allocations: 278 kB / 0.5932 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/1.785, allocations: 251 kB / 0.5934 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/1.785, allocations: 234.9 kB / 0.5936 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.072e-05/1.785, allocations: 44 kB / 0.5937 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02759/1.813, allocations: 15.86 MB / 0.6092 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/1.813, allocations: 95.58 kB / 0.6093 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/1.813, allocations: 282.6 kB / 0.6095 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01748/1.831, allocations: 8.125 MB / 0.6175 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.831, allocations: 8 kB / 0.6175 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/1.831, allocations: 0 / 0.6175 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.037e-05/1.831, allocations: 0 / 0.6175 GB, free: 8.387 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.004285/1.835, allocations: 1.595 MB / 0.619 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.835, allocations: 15.88 kB / 0.619 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/1.835, allocations: 59.28 kB / 0.6191 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/1.836, allocations: 306 kB / 0.6194 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/1.836, allocations: 40.98 kB / 0.6194 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/1.836, allocations: 40 kB / 0.6195 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008391/1.837, allocations: 0.5884 MB / 0.62 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/1.837, allocations: 3.938 kB / 0.62 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/1.837, allocations: 16 kB / 0.6201 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/1.837, allocations: 27.98 kB / 0.6201 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/1.837, allocations: 355.9 kB / 0.6204 GB, free: 5.207 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.002812/1.84, allocations: 3.485 MB / 0.6238 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/1.841, allocations: 291.2 kB / 0.6241 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/1.841, allocations: 185.9 kB / 0.6243 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1663/2.007, allocations: 80.98 MB / 0.7034 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/2.007, allocations: 34.56 kB / 0.7034 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 4.118e-06/2.007, allocations: 4 kB / 0.7034 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002855/2.01, allocations: 1.222 MB / 0.7046 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/2.01, allocations: 85.11 kB / 0.7047 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/2.011, allocations: 290.8 kB / 0.705 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/2.011, allocations: 29.7 kB / 0.705 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/2.011, allocations: 212.9 kB / 0.7052 GB, free: 5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/2.011, allocations: 224.5 kB / 0.7054 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/2.011, allocations: 93.58 kB / 0.7055 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001214/2.011, allocations: 350.8 kB / 0.7058 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/2.011, allocations: 128.6 kB / 0.7059 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/2.012, allocations: 239.8 kB / 0.7062 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/2.012, allocations: 419.7 kB / 0.7066 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/2.012, allocations: 0 / 0.7066 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001136/2.013, allocations: 0.6737 MB / 0.7072 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/2.013, allocations: 10.12 kB / 0.7072 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/2.013, allocations: 4 kB / 0.7072 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/2.015, allocations: 0.7834 MB / 0.708 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.932e-05/2.015, allocations: 7.938 kB / 0.708 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1805/2.195, allocations: 2.131 MB / 0.7101 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/2.196, allocations: 48.11 kB / 0.7101 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/2.196, allocations: 15.62 kB / 0.7102 GB, free: 214.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 (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.0002051/2.196, allocations: 168.4 kB / 0.7103 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/2.196, allocations: 41.31 kB / 0.7104 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/2.198, allocations: 1.178 MB / 0.7115 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/2.198, allocations: 0 / 0.7115 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/2.198, allocations: 5.031 kB / 0.7115 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/2.198, allocations: 166.1 kB / 0.7117 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/2.198, allocations: 5.062 kB / 0.7117 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/2.198, allocations: 9.625 kB / 0.7117 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/2.198, allocations: 14.42 kB / 0.7117 GB, free: 214.2 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.001348/2.199, allocations: 1.555 MB / 0.7132 GB, free: 212.7 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