Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8092/0.8092, allocations: 150.9 MB / 167.2 MB, free: 14.58 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003218, allocations: 12.83 kB / 237.7 MB, free: 1.746 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05235/0.05269, allocations: 31.35 MB / 269.1 MB, free: 7.121 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.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer): time 1.591/1.643, allocations: 296.6 MB / 0.5525 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4948/2.138, allocations: 191.6 MB / 0.7395 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004262/2.139, allocations: 14.41 kB / 0.7395 GB, free: 15.52 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/SteamDryer.mo:46:3-47:66:writable] Warning: Connector Cev is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/SteamDryer.mo:48:3-49:72:writable] Warning: Connector Csv is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/SteamDryer.mo:56:3-57:74:writable] Warning: Connector Csl is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005626/2.139, allocations: 206.7 kB / 0.7397 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005793/2.14, allocations: 297.3 kB / 0.74 GB, free: 15.51 MB / 0.6075 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.02719/2.167, allocations: 12.29 MB / 0.752 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001082/2.168, allocations: 1.04 MB / 0.753 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/2.169, allocations: 0.5858 MB / 0.7536 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/2.169, allocations: 448.9 kB / 0.754 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/2.17, allocations: 485.1 kB / 0.7545 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/2.17, allocations: 101.8 kB / 0.7546 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02882/2.199, allocations: 17.98 MB / 0.7722 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/2.199, allocations: 220.3 kB / 0.7724 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007146/2.2, allocations: 0.5096 MB / 0.7729 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02082/2.22, allocations: 9.832 MB / 0.7825 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/2.22, allocations: 0 / 0.7825 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/2.22, allocations: 0 / 0.7825 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.421e-05/2.22, allocations: 4 kB / 0.7825 GB, free: 8.695 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.005445/2.226, allocations: 2.207 MB / 0.7846 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/2.226, allocations: 10.41 kB / 0.7846 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/2.226, allocations: 116.6 kB / 0.7847 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/2.227, allocations: 494.8 kB / 0.7852 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/2.227, allocations: 72.66 kB / 0.7853 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.671e-05/2.227, allocations: 91.56 kB / 0.7854 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/2.228, allocations: 1.042 MB / 0.7864 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/2.228, allocations: 9.188 kB / 0.7864 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/2.228, allocations: 40.41 kB / 0.7864 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/2.228, allocations: 26.66 kB / 0.7865 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/2.23, allocations: 0.699 MB / 0.7871 GB, free: 6.465 MB / 0.6075 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.07835/2.308, allocations: 37.64 MB / 0.8239 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/2.309, allocations: 0.854 MB / 0.8247 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/2.309, allocations: 205 kB / 0.8249 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9222/3.232, allocations: 338.2 MB / 1.155 GB, free: 123.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/3.232, allocations: 36.5 kB / 1.155 GB, free: 123.1 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=52): time 4.508e-06/3.232, allocations: 0.9375 kB / 1.155 GB, free: 123.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=52): time 0.002873/3.234, allocations: 1.271 MB / 1.156 GB, free: 122.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/3.235, allocations: 85.11 kB / 1.157 GB, free: 122 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/3.235, allocations: 499.5 kB / 1.157 GB, free: 121.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/3.235, allocations: 29.2 kB / 1.157 GB, free: 121.6 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/3.235, allocations: 463.9 kB / 1.157 GB, free: 121.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/3.236, allocations: 182 kB / 1.158 GB, free: 121.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/3.236, allocations: 157.9 kB / 1.158 GB, free: 121 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/3.236, allocations: 358.6 kB / 1.158 GB, free: 120.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/3.236, allocations: 189.1 kB / 1.158 GB, free: 120.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/3.237, allocations: 482.5 kB / 1.159 GB, free: 120.1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/3.237, allocations: 0.6969 MB / 1.159 GB, free: 119.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/3.237, allocations: 4 kB / 1.159 GB, free: 119.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001615/3.239, allocations: 0.9645 MB / 1.16 GB, free: 118.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/3.239, allocations: 14.58 kB / 1.16 GB, free: 118.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/3.239, allocations: 8.75 kB / 1.16 GB, free: 118.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/3.24, allocations: 0.6049 MB / 1.161 GB, free: 118.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/3.24, allocations: 91.62 kB / 1.161 GB, free: 118.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/3.241, allocations: 1.997 MB / 1.163 GB, free: 116.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/3.242, allocations: 90.7 kB / 1.163 GB, free: 116.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/3.242, allocations: 35.75 kB / 1.163 GB, free: 116.2 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 19 (steamDryer.Csl.ftype,steamDryer.Csv.ftype,sourceQ.C.ftype,steamDryer.fluids[1],singularPressureLoss2.fluid,sinkP.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,sink.fluid,sourceQ.fluid1,steamDryer.Csl.diff_on_2,steamDryer.Csl.diff_on_1,singularPressureLoss3.C2.diff_on_1,steamDryer.Csv.diff_on_2,steamDryer.Csv.diff_on_1,singularPressureLoss1.C2.diff_on_1,steamDryer.Cev.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * 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.0003171/3.242, allocations: 231.7 kB / 1.163 GB, free: 116 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/3.242, allocations: 51.34 kB / 1.163 GB, free: 116 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/3.244, allocations: 0.8374 MB / 1.164 GB, free: 115.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/3.244, allocations: 4 kB / 1.164 GB, free: 115.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/3.244, allocations: 2.156 kB / 1.164 GB, free: 115.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/3.244, allocations: 171.5 kB / 1.164 GB, free: 115.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/3.244, allocations: 7.75 kB / 1.164 GB, free: 115.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/3.244, allocations: 15.73 kB / 1.164 GB, free: 115.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/3.244, allocations: 23.95 kB / 1.164 GB, free: 115.2 MB / 0.8419 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 (14): (steamDryer.lsat1, steamDryer.vsat1) = ThermoSysPro.Properties.Fluid.Water_sat_P(steamDryer.P, steamDryer.fluid) Variables: 1: steamDryer.vsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 2: steamDryer.vsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 3: steamDryer.vsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 4: steamDryer.vsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 5: steamDryer.lsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 6: steamDryer.lsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 7: steamDryer.vsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 8: steamDryer.lsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 9: steamDryer.lsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 10: steamDryer.lsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 11: steamDryer.lsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 12: steamDryer.vsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 13: steamDryer.vsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 14: steamDryer.lsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" 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): singularPressureLoss1.Q = if noEvent(steamDryer.xe > 0.0) then sourceQ.Q0 * (1.0 - steamDryer.eta * (1.0 - steamDryer.xe)) else 0.0 2/2 (1): singularPressureLoss1.h = if singularPressureLoss1.Q > 0.0 then steamDryer.h else 1e5 3/3 (1): 0.0 = sourceQ.Q0 * singularPressureLoss2.h + (-sink.Q) * singularPressureLoss3.h - singularPressureLoss1.Q * singularPressureLoss1.h 4/4 (10): $cse1 = ThermoSysPro.Properties.Fluid.Ph(steamDryer.P, singularPressureLoss2.h, steamDryer.mode_e, steamDryer.fluid) 5/14 (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) = $cse1 6/24 (1): singularPressureLoss3.C1.h_vol_1 = if noEvent(steamDryer.xe > 0.0) then steamDryer.lsat1.h else singularPressureLoss2.h 7/25 (1): singularPressureLoss3.h = if sink.Q > 0.0 then singularPressureLoss3.C1.h_vol_1 else 1e5 8/26 (1): singularPressureLoss2.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss2.Pm, singularPressureLoss2.h, singularPressureLoss2.fluid, singularPressureLoss2.mode, 0.0, 0.0, 0.0, 0.0) 9/27 (1): singularPressureLoss2.deltaP = singularPressureLoss2.K * $cse2 / singularPressureLoss2.rho 10/28 (1): singularPressureLoss2.deltaP = sourceQ.P0 - steamDryer.P 11/29 (14): (steamDryer.lsat1, steamDryer.vsat1) = ThermoSysPro.Properties.Fluid.Water_sat_P(steamDryer.P, steamDryer.fluid) 12/43 (1): singularPressureLoss2.Pm = 0.5 * (sourceQ.P0 + steamDryer.P) 13/44 (1): singularPressureLoss2.h = if sourceQ.Q0 > 0.0 then 2.4e6 else steamDryer.h 14/45 (1): 0.0 = sourceQ.Q0 + (-singularPressureLoss1.Q) - sink.Q Variables: 1: sink.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Fluid mass flow rate" type: Real 2: steamDryer.h:VARIABLE(start = 1e6 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 3: singularPressureLoss2.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 4: steamDryer.vsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 5: steamDryer.vsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 6: steamDryer.vsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 7: steamDryer.vsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 8: steamDryer.lsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 9: steamDryer.lsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 10: steamDryer.vsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 11: steamDryer.lsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 12: steamDryer.lsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 13: steamDryer.lsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 14: steamDryer.lsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 15: steamDryer.vsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 16: steamDryer.vsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 17: steamDryer.lsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 18: steamDryer.P:VARIABLE(min = 0.0 start = 1e7 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 19: singularPressureLoss2.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 20: singularPressureLoss2.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 21: singularPressureLoss3.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 22: singularPressureLoss3.C1.h_vol_1:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume 1" type: Real 23: steamDryer.xe:VARIABLE(min = 0.0 max = 1.0 start = 1.0 ) "Vapor mass fraction at the inlet" type: Real 24: steamDryer.proe.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 25: steamDryer.proe.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 26: steamDryer.proe.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 27: steamDryer.proe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 28: steamDryer.proe.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 29: steamDryer.proe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 30: steamDryer.proe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 31: steamDryer.proe.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 32: steamDryer.proe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 33: $cse1.x:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse1.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse1.s:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse1.u:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse1.cp:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse1.d:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse1.T:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse1.ddph:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse1.duhp:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse1.duph:VARIABLE(protected = true ) type: Real unreplaceable 43: singularPressureLoss2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 44: singularPressureLoss1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 45: singularPressureLoss1.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" 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.001062/3.245, allocations: 1.054 MB / 1.166 GB, free: 114.1 MB / 0.8419 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer could not be translated