Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8481/0.8481, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 18.95 kB / 237.8 MB, free: 1.762 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05569/0.05608, allocations: 31.35 MB / 269.1 MB, free: 7.059 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.SimpleExamples.TestSteamDryer2): time 1.659/1.715, allocations: 296.7 MB / 0.5526 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5295/2.245, allocations: 191.6 MB / 0.7396 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/2.245, allocations: 10.75 kB / 0.7397 GB, free: 15.49 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.000592/2.246, allocations: 206.6 kB / 0.7399 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006107/2.246, allocations: 301.6 kB / 0.7401 GB, free: 15.48 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.02995/2.276, allocations: 12.29 MB / 0.7521 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001444/2.278, allocations: 1.04 MB / 0.7532 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008142/2.279, allocations: 0.5824 MB / 0.7537 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008253/2.28, allocations: 449 kB / 0.7542 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/2.281, allocations: 480.6 kB / 0.7546 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002777/2.281, allocations: 107.2 kB / 0.7547 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03679/2.318, allocations: 17.98 MB / 0.7723 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003256/2.318, allocations: 228 kB / 0.7725 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008903/2.319, allocations: 0.5125 MB / 0.773 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02118/2.34, allocations: 9.828 MB / 0.7826 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/2.34, allocations: 1.203 kB / 0.7826 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/2.34, allocations: 0 / 0.7826 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.221e-05/2.34, allocations: 0 / 0.7826 GB, free: 8.672 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.005673/2.346, allocations: 2.209 MB / 0.7847 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/2.346, allocations: 7.688 kB / 0.7848 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/2.346, allocations: 118.4 kB / 0.7849 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/2.347, allocations: 493 kB / 0.7853 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/2.347, allocations: 76.11 kB / 0.7854 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/2.347, allocations: 94.41 kB / 0.7855 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/2.349, allocations: 1.046 MB / 0.7865 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/2.349, allocations: 9.156 kB / 0.7865 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/2.349, allocations: 40.66 kB / 0.7866 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/2.349, allocations: 28.66 kB / 0.7866 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/2.35, allocations: 0.6892 MB / 0.7873 GB, free: 6.441 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.07657/2.426, allocations: 37.65 MB / 0.824 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/2.428, allocations: 0.8552 MB / 0.8249 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/2.428, allocations: 202.2 kB / 0.8251 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9204/3.348, allocations: 338.2 MB / 1.155 GB, free: 122.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/3.348, allocations: 39.19 kB / 1.155 GB, free: 122.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=52): time 2.975e-06/3.348, allocations: 4 kB / 1.155 GB, free: 122.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=52): time 0.002923/3.351, allocations: 1.27 MB / 1.157 GB, free: 121.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/3.351, allocations: 81.11 kB / 1.157 GB, free: 121.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/3.352, allocations: 0.4892 MB / 1.157 GB, free: 121.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/3.352, allocations: 29.33 kB / 1.157 GB, free: 121.1 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/3.352, allocations: 465.3 kB / 1.158 GB, free: 120.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/3.352, allocations: 179.5 kB / 1.158 GB, free: 120.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/3.352, allocations: 153.9 kB / 1.158 GB, free: 120.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/3.352, allocations: 370.3 kB / 1.158 GB, free: 120.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/3.353, allocations: 187.4 kB / 1.158 GB, free: 120 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/3.353, allocations: 473.9 kB / 1.159 GB, free: 119.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/3.354, allocations: 0.6944 MB / 1.16 GB, free: 118.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/3.354, allocations: 7.984 kB / 1.16 GB, free: 118.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001527/3.355, allocations: 0.975 MB / 1.161 GB, free: 118.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/3.355, allocations: 8 kB / 1.161 GB, free: 118.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/3.355, allocations: 8 kB / 1.161 GB, free: 118.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/3.356, allocations: 0.6052 MB / 1.161 GB, free: 117.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/3.357, allocations: 88.02 kB / 1.161 GB, free: 117.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/3.358, allocations: 1.994 MB / 1.163 GB, free: 115.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/3.358, allocations: 86.77 kB / 1.163 GB, free: 115.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/3.358, allocations: 36.66 kB / 1.163 GB, free: 115.7 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.000256/3.359, allocations: 235.5 kB / 1.164 GB, free: 115.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/3.359, allocations: 51.34 kB / 1.164 GB, free: 115.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/3.36, allocations: 0.8356 MB / 1.164 GB, free: 114.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/3.36, allocations: 3.984 kB / 1.164 GB, free: 114.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/3.36, allocations: 2.625 kB / 1.164 GB, free: 114.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/3.36, allocations: 173.5 kB / 1.165 GB, free: 114.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/3.36, allocations: 7.562 kB / 1.165 GB, free: 114.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/3.36, allocations: 7.375 kB / 1.165 GB, free: 114.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/3.36, allocations: 32.52 kB / 1.165 GB, free: 114.7 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.001091/3.361, allocations: 1.055 MB / 1.166 GB, free: 113.6 MB / 0.8419 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2 could not be translated