Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8194/0.8194, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 18.64 kB / 237.8 MB, free: 1.785 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0578/0.05818, allocations: 31.35 MB / 269.1 MB, free: 7.039 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.TestSteamDryer1): time 1.642/1.701, allocations: 296.8 MB / 0.5526 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5239/2.224, allocations: 191.6 MB / 0.7397 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/2.225, allocations: 14.12 kB / 0.7397 GB, free: 15.5 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/SourceQ.mo:62:3-63: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/SinkP.mo:46:3-47: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.0006549/2.226, allocations: 205.8 kB / 0.7399 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007337/2.226, allocations: 306.3 kB / 0.7402 GB, free: 15.49 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.03239/2.259, allocations: 12.29 MB / 0.7522 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00155/2.26, allocations: 1.05 MB / 0.7532 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006875/2.261, allocations: 0.5863 MB / 0.7538 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006432/2.262, allocations: 452.5 kB / 0.7542 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004164/2.262, allocations: 487 kB / 0.7547 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/2.262, allocations: 99.5 kB / 0.7548 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03989/2.302, allocations: 21.34 MB / 0.7756 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003722/2.303, allocations: 223.4 kB / 0.7758 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008205/2.303, allocations: 0.5051 MB / 0.7763 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02868/2.332, allocations: 11.08 MB / 0.7871 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/2.332, allocations: 2.719 kB / 0.7872 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/2.332, allocations: 4 kB / 0.7872 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.574e-05/2.332, allocations: 0 / 0.7872 GB, free: 7.277 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.006342/2.339, allocations: 2.394 MB / 0.7895 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/2.339, allocations: 8.797 kB / 0.7895 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/2.339, allocations: 117.7 kB / 0.7896 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/2.339, allocations: 485.2 kB / 0.7901 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/2.34, allocations: 80.59 kB / 0.7902 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/2.34, allocations: 92.19 kB / 0.7902 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/2.341, allocations: 1.047 MB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/2.341, allocations: 3.094 kB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/2.341, allocations: 42.33 kB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/2.341, allocations: 29.03 kB / 0.7913 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/2.342, allocations: 0.6944 MB / 0.792 GB, free: 4.941 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.005246/2.347, allocations: 6.597 MB / 0.7985 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/2.349, allocations: 0.8502 MB / 0.7993 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/2.349, allocations: 208.2 kB / 0.7995 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013/3.362, allocations: 373.7 MB / 1.164 GB, free: 113.1 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/3.362, allocations: 47.47 kB / 1.164 GB, free: 113 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=53): time 3.156e-06/3.362, allocations: 0 / 1.164 GB, free: 113 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53): time 0.003367/3.365, allocations: 1.445 MB / 1.166 GB, free: 111.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/3.365, allocations: 83.62 kB / 1.166 GB, free: 111.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/3.366, allocations: 490.2 kB / 1.166 GB, free: 111.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/3.366, allocations: 33.5 kB / 1.166 GB, free: 111.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/3.366, allocations: 460.2 kB / 1.167 GB, free: 111 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/3.366, allocations: 179.8 kB / 1.167 GB, free: 110.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/3.366, allocations: 150.8 kB / 1.167 GB, free: 110.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.857e-05/3.367, allocations: 371.8 kB / 1.168 GB, free: 110.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/3.367, allocations: 183.3 kB / 1.168 GB, free: 110.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/3.367, allocations: 474.1 kB / 1.168 GB, free: 109.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/3.368, allocations: 0.6891 MB / 1.169 GB, free: 109.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/3.368, allocations: 6 kB / 1.169 GB, free: 109.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001652/3.369, allocations: 1.019 MB / 1.17 GB, free: 108.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/3.37, allocations: 10.03 kB / 1.17 GB, free: 108.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/3.37, allocations: 12 kB / 1.17 GB, free: 108.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/3.372, allocations: 0.8001 MB / 1.171 GB, free: 107.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/3.372, allocations: 78.47 kB / 1.171 GB, free: 107.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/3.373, allocations: 2.07 MB / 1.173 GB, free: 105.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/3.373, allocations: 90.45 kB / 1.173 GB, free: 105.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/3.373, allocations: 32.44 kB / 1.173 GB, free: 105.7 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (53): * Single equations (assignments): 50 * 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), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002789/3.374, allocations: 234.8 kB / 1.173 GB, free: 105.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/3.374, allocations: 52.09 kB / 1.173 GB, free: 105.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/3.375, allocations: 0.8569 MB / 1.174 GB, free: 104.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/3.375, allocations: 1.031 kB / 1.174 GB, free: 104.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/3.375, allocations: 0 / 1.174 GB, free: 104.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/3.375, allocations: 171.6 kB / 1.174 GB, free: 104.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/3.375, allocations: 13.5 kB / 1.174 GB, free: 104.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/3.375, allocations: 11.69 kB / 1.174 GB, free: 104.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/3.376, allocations: 27.95 kB / 1.174 GB, free: 104.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.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 2: steamDryer.lsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 3: steamDryer.vsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 4: steamDryer.vsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 5: steamDryer.lsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 6: steamDryer.lsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 7: steamDryer.lsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" 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.vsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 12: steamDryer.vsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 13: steamDryer.vsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 14: steamDryer.vsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "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): $cse3 = ThermoSysPro.Functions.ThermoSquare(singularPressureLoss1.Q, singularPressureLoss1.eps) 3/3 (1): singularPressureLoss1.deltaP = singularPressureLoss1.K * $cse3 / singularPressureLoss1.rho 4/4 (1): singularPressureLoss1.deltaP = steamDryer.P - sinkP.P0 5/5 (10): $cse1 = ThermoSysPro.Properties.Fluid.Ph(steamDryer.P, singularPressureLoss2.h, steamDryer.mode_e, steamDryer.fluid) 6/15 (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 7/25 (1): singularPressureLoss3.C1.h_vol_1 = if noEvent(steamDryer.xe > 0.0) then steamDryer.lsat1.h else singularPressureLoss2.h 8/26 (1): singularPressureLoss3.h = if sink.Q > 0.0 then singularPressureLoss3.C1.h_vol_1 else 1e5 9/27 (1): 0.0 = sourceQ.Q0 * singularPressureLoss2.h + (-sink.Q) * singularPressureLoss3.h - singularPressureLoss1.Q * singularPressureLoss1.h 10/28 (1): singularPressureLoss2.h = if sourceQ.Q0 > 0.0 then 3e6 else steamDryer.h 11/29 (1): singularPressureLoss1.h = if singularPressureLoss1.Q > 0.0 then steamDryer.h else sinkP.h 12/30 (1): singularPressureLoss1.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss1.Pm, singularPressureLoss1.h, singularPressureLoss1.fluid, singularPressureLoss1.mode, sink.Xco2, sink.Xh2o, sink.Xo2, sink.Xso2) 13/31 (14): (steamDryer.lsat1, steamDryer.vsat1) = ThermoSysPro.Properties.Fluid.Water_sat_P(steamDryer.P, steamDryer.fluid) 14/45 (1): singularPressureLoss1.Pm = 0.5 * (steamDryer.P + sinkP.P0) 15/46 (1): 0.0 = (-sink.Xso2) * (singularPressureLoss1.Q + sink.Q) 16/47 (1): sinkP.h = ThermoSysPro.Properties.Fluid.SpecificEnthalpy_PT(sinkP.P0, 290.0, sinkP.fluid, sinkP.mode, sink.Xco2, sink.Xh2o, sink.Xo2, sink.Xso2) 17/48 (1): sink.Xso2 = sink.Xo2 18/49 (1): sink.Xso2 = sink.Xh2o 19/50 (1): sink.Xso2 = sink.Xco2 20/51 (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: sink.Xco2:VARIABLE(min = 0.0 max = 1.0 start = 0.01 ) "CO2 mass fraction of the fluid crossing the boundary of the control volume" type: Real 3: sink.Xh2o:VARIABLE(min = 0.0 max = 1.0 start = 0.05 ) "H2O mass fraction of the fluid crossing the boundary of the control volume" type: Real 4: sink.Xo2:VARIABLE(min = 0.0 max = 1.0 start = 0.2 ) "O2 mass fraction of the fluid crossing the boundary of the control volume" type: Real 5: sinkP.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 6: sink.Xso2:VARIABLE(min = 0.0 max = 1.0 start = 0.0 ) "SO2 mass fraction of the fluid crossing the boundary of the control volume" type: Real 7: singularPressureLoss1.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 8: steamDryer.vsat1.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.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 11: steamDryer.vsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 12: steamDryer.lsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 13: steamDryer.lsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 14: steamDryer.lsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 15: steamDryer.lsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 16: steamDryer.lsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 17: steamDryer.lsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 18: steamDryer.vsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 19: steamDryer.vsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 20: steamDryer.vsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 21: steamDryer.vsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 22: singularPressureLoss1.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 23: singularPressureLoss1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 24: steamDryer.h:VARIABLE(start = 3e6 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 25: singularPressureLoss2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 26: singularPressureLoss3.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 27: singularPressureLoss3.C1.h_vol_1:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume 1" type: Real 28: steamDryer.proe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 29: steamDryer.proe.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 30: steamDryer.proe.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 31: steamDryer.proe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 32: steamDryer.xe:VARIABLE(min = 0.0 max = 1.0 start = 1.0 ) "Vapor mass fraction at the inlet" type: Real 33: steamDryer.proe.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 34: steamDryer.proe.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 35: steamDryer.proe.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 36: steamDryer.proe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 37: steamDryer.proe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 38: $cse1.duph:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse1.cp:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse1.d:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse1.duhp:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse1.ddph:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse1.x:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse1.T:VARIABLE(protected = true ) type: Real unreplaceable 45: $cse1.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 46: $cse1.s:VARIABLE(protected = true ) type: Real unreplaceable 47: $cse1.u:VARIABLE(protected = true ) type: Real unreplaceable 48: steamDryer.P:VARIABLE(min = 0.0 start = 1e7 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 49: singularPressureLoss1.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 50: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 51: 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.001165/3.377, allocations: 1.348 MB / 1.176 GB, free: 103.2 MB / 0.8419 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1 could not be translated