Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.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.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8403/0.8403, allocations: 150.9 MB / 167.2 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003736, allocations: 16.16 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05622/0.05661, 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.TestJunctions4): time 1.659/1.716, allocations: 295.9 MB / 0.5518 GB, free: 12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04194/1.758, allocations: 34.65 MB / 0.5856 GB, free: 9.199 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004715/1.758, allocations: 4 kB / 0.5856 GB, free: 9.195 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/DeheaterMixer2.mo:14:3-16:17:writable] Warning: Connector Ce_mix 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/DeheaterMixer2.mo:17:3-18:44:writable] Warning: Connector Cs 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/DeheaterMixer2.mo:20:3-22:17:writable] Warning: Connector Ce 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/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/SinkQ.mo:24:3-26: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/BoundaryConditions/SourceP.mo:30:3-31:45: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/BoundaryConditions/Source.mo:17:3-18:52: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.0006786/1.759, allocations: 169.6 kB / 0.5858 GB, free: 9.031 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007746/1.76, allocations: 230.4 kB / 0.586 GB, free: 8.805 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.02872/1.789, allocations: 9.802 MB / 0.5956 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009863/1.79, allocations: 0.6532 MB / 0.5962 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/1.79, allocations: 274 kB / 0.5965 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/1.79, allocations: 278.9 kB / 0.5968 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/1.791, allocations: 234.9 kB / 0.597 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/1.791, allocations: 40 kB / 0.597 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03778/1.829, allocations: 17.91 MB / 0.6145 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/1.829, allocations: 95.62 kB / 0.6146 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004015/1.829, allocations: 282.6 kB / 0.6149 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02289/1.852, allocations: 8.734 MB / 0.6234 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/1.852, allocations: 7.938 kB / 0.6234 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.852, allocations: 0 / 0.6234 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.402e-05/1.852, allocations: 0 / 0.6234 GB, free: 2.445 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005583/1.858, allocations: 1.728 MB / 0.6251 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.858, allocations: 15.89 kB / 0.6251 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/1.858, allocations: 67.52 kB / 0.6252 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/1.858, allocations: 299 kB / 0.6255 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/1.858, allocations: 66.7 kB / 0.6255 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.149e-05/1.859, allocations: 48 kB / 0.6256 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/1.86, allocations: 0.5845 MB / 0.6261 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/1.86, allocations: 3.938 kB / 0.6261 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/1.86, allocations: 16 kB / 0.6262 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/1.86, allocations: 35.86 kB / 0.6262 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/1.86, allocations: 348 kB / 0.6265 GB, free: 15.09 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02184/1.882, allocations: 11.99 MB / 0.6382 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/1.883, allocations: 243 kB / 0.6385 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/1.883, allocations: 177.9 kB / 0.6386 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4203/2.303, allocations: 119.8 MB / 0.7556 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/2.303, allocations: 34.38 kB / 0.7556 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 4.278e-06/2.303, allocations: 5.406 kB / 0.7557 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002449/2.306, allocations: 1.12 MB / 0.7567 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/2.306, allocations: 55.41 kB / 0.7568 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/2.306, allocations: 294.4 kB / 0.7571 GB, free: 185 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/2.306, allocations: 28.89 kB / 0.7571 GB, free: 185 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/2.306, allocations: 222.5 kB / 0.7573 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/2.306, allocations: 230.4 kB / 0.7575 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/2.306, allocations: 87.41 kB / 0.7576 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/2.306, allocations: 354 kB / 0.758 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/2.307, allocations: 122.5 kB / 0.7581 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/2.307, allocations: 229 kB / 0.7583 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/2.307, allocations: 404.3 kB / 0.7587 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/2.307, allocations: 2.75 kB / 0.7587 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009825/2.308, allocations: 0.6198 MB / 0.7593 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/2.308, allocations: 5.25 kB / 0.7593 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/2.308, allocations: 2.625 kB / 0.7593 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/2.31, allocations: 0.5836 MB / 0.7599 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/2.31, allocations: 11.09 kB / 0.7599 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/2.311, allocations: 2.01 MB / 0.7618 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/2.311, allocations: 58.31 kB / 0.7619 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/2.311, allocations: 12.55 kB / 0.7619 GB, free: 181.9 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 (source.C.b,sourceP.C.b,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,deheaterMixer2_1.Ce.a,deheaterMixer2_1.Cs.b,deheaterMixer2_1.Ce_mix.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001549/2.312, allocations: 170.1 kB / 0.7621 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/2.312, allocations: 35.77 kB / 0.7621 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/2.313, allocations: 1.45 MB / 0.7635 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/2.313, allocations: 0 / 0.7635 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/2.313, allocations: 0 / 0.7635 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/2.313, allocations: 161.1 kB / 0.7637 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/2.313, allocations: 14 kB / 0.7637 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/2.313, allocations: 12.83 kB / 0.7637 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/2.313, allocations: 23.84 kB / 0.7637 GB, free: 180.6 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(deheaterMixer2_1.T, deheaterMixer2_1.pro.d, deheaterMixer2_1.pro.u, deheaterMixer2_1.pro.s, deheaterMixer2_1.pro.cp, deheaterMixer2_1.pro.ddhp, deheaterMixer2_1.pro.ddph, deheaterMixer2_1.pro.duph, deheaterMixer2_1.pro.duhp, deheaterMixer2_1.pro.x) = $cse7 Variables: 1: deheaterMixer2_1.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 2: deheaterMixer2_1.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 3: singularPressureLoss.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 4: singularPressureLoss2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 5: singularPressureLoss.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 6: singularPressureLoss.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 7: singularPressureLoss.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 8: singularPressureLoss.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 9: singularPressureLoss.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 10: singularPressureLoss.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" 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 singularPressureLoss2.Q > 0.0 then singularPressureLoss2.h - source.h0 else singularPressureLoss2.h - deheaterMixer2_1.h 2/2 (10): $cse7 = ThermoSysPro.Properties.Fluid.Ph(deheaterMixer2_1.P, deheaterMixer2_1.h, deheaterMixer2_1.mode, 1) 3/12 (1): 0.0 = if deheaterMixer2_1.T <= deheaterMixer2_1.Tmax then singularPressureLoss2.Q else deheaterMixer2_1.h - deheaterMixer2_1.hmax 4/13 (1): 0.0 = singularPressureLoss.Q + singularPressureLoss2.Q - sinkP.Q0 5/14 (1): $cse6 = ThermoSysPro.Functions.ThermoSquare(singularPressureLoss.Q, singularPressureLoss.eps) 6/15 (1): singularPressureLoss.deltaP = singularPressureLoss.K * $cse6 / singularPressureLoss.rho 7/16 (10): $cse5 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLoss.Pm, singularPressureLoss.h, singularPressureLoss.mode, singularPressureLoss.fluid) 8/26 (1): singularPressureLoss.Pm = 0.5 * (sourceP.P0 + deheaterMixer2_1.P) 9/27 (1): deheaterMixer2_1.hmax = ThermoSysPro.Properties.WaterSteam.IF97.SpecificEnthalpy_PT(deheaterMixer2_1.P, deheaterMixer2_1.Tmax, deheaterMixer2_1.mode) 10/28 (1): sourceP.P0 - deheaterMixer2_1.P = singularPressureLoss.deltaP 11/29 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLoss.T, singularPressureLoss.rho, singularPressureLoss.pro.u, singularPressureLoss.pro.s, singularPressureLoss.pro.cp, singularPressureLoss.pro.ddhp, singularPressureLoss.pro.ddph, singularPressureLoss.pro.duph, singularPressureLoss.pro.duhp, singularPressureLoss.pro.x) = $cse5 12/39 (1): 0.0 = singularPressureLoss.Q * singularPressureLoss.h + singularPressureLoss2.Q * singularPressureLoss2.h - sinkP.Q0 * singularPressureLoss1.h 13/40 (1): 0.0 = if singularPressureLoss.Q > 0.0 then singularPressureLoss.h - sourceP.h else singularPressureLoss.h - deheaterMixer2_1.h 14/41 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(deheaterMixer2_1.T, deheaterMixer2_1.pro.d, deheaterMixer2_1.pro.u, deheaterMixer2_1.pro.s, deheaterMixer2_1.pro.cp, deheaterMixer2_1.pro.ddhp, deheaterMixer2_1.pro.ddph, deheaterMixer2_1.pro.duph, deheaterMixer2_1.pro.duhp, deheaterMixer2_1.pro.x) = $cse7 15/51 (1): 0.0 = if sinkP.Q0 > 0.0 then singularPressureLoss1.h - deheaterMixer2_1.h else singularPressureLoss1.h - sinkP.h0 Variables: 1: singularPressureLoss1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 2: deheaterMixer2_1.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 3: deheaterMixer2_1.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 4: singularPressureLoss.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 5: singularPressureLoss2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 6: singularPressureLoss.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 7: singularPressureLoss.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 8: singularPressureLoss.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 9: singularPressureLoss.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 10: singularPressureLoss.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 11: singularPressureLoss.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 12: deheaterMixer2_1.hmax:VARIABLE(start = 1e6 unit = "J/kg" ) "Maximum fluid specific enthalpy" type: Real 13: deheaterMixer2_1.P:VARIABLE(min = 0.0 start = 5e6 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 14: singularPressureLoss.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 15: $cse5.cp:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse5.duph:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse5.s:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse5.d:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse5.duhp:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse5.u:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse5.ddph:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse5.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse5.T:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse5.x:VARIABLE(protected = true ) type: Real unreplaceable 25: singularPressureLoss.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 26: singularPressureLoss.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 27: singularPressureLoss.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 28: singularPressureLoss.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 29: singularPressureLoss.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 30: $cse6:VARIABLE(protected = true ) type: Real unreplaceable 31: singularPressureLoss.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 32: singularPressureLoss2.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 33: deheaterMixer2_1.T:VARIABLE(min = 200.0 max = 6000.0 start = 600.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 34: deheaterMixer2_1.pro.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 35: deheaterMixer2_1.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 36: deheaterMixer2_1.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 37: deheaterMixer2_1.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 38: deheaterMixer2_1.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 39: deheaterMixer2_1.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 40: deheaterMixer2_1.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 41: $cse7.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse7.ddph:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse7.duhp:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse7.cp:VARIABLE(protected = true ) type: Real unreplaceable 45: $cse7.u:VARIABLE(protected = true ) type: Real unreplaceable 46: $cse7.duph:VARIABLE(protected = true ) type: Real unreplaceable 47: $cse7.x:VARIABLE(protected = true ) type: Real unreplaceable 48: $cse7.d:VARIABLE(protected = true ) type: Real unreplaceable 49: $cse7.T:VARIABLE(protected = true ) type: Real unreplaceable 50: $cse7.s:VARIABLE(protected = true ) type: Real unreplaceable 51: deheaterMixer2_1.h:VARIABLE(start = 1e6 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.00115/2.315, allocations: 1.202 MB / 0.7649 GB, free: 179.2 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestJunctions4 could not be translated