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.8428/0.8428, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 15.5 kB / 237.8 MB, free: 1.742 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05897/0.05935, allocations: 31.34 MB / 269.1 MB, free: 7.027 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.616/1.675, allocations: 295.7 MB / 0.5516 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03756/1.713, allocations: 34.66 MB / 0.5855 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/1.713, allocations: 8 kB / 0.5855 GB, free: 9.172 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.0004343/1.714, allocations: 149.3 kB / 0.5856 GB, free: 9.027 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/1.714, allocations: 186.3 kB / 0.5858 GB, free: 8.844 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.02238/1.736, allocations: 9.63 MB / 0.5952 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007533/1.737, allocations: 0.6686 MB / 0.5959 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/1.737, allocations: 270 kB / 0.5961 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/1.738, allocations: 267 kB / 0.5964 GB, free: 14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/1.738, allocations: 238.8 kB / 0.5966 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/1.738, allocations: 44 kB / 0.5966 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02846/1.766, allocations: 17.91 MB / 0.6141 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/1.767, allocations: 91.64 kB / 0.6142 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/1.767, allocations: 286.5 kB / 0.6145 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02122/1.788, allocations: 8.717 MB / 0.623 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.788, allocations: 0 / 0.623 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/1.788, allocations: 0 / 0.623 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.524e-05/1.788, allocations: 4 kB / 0.623 GB, free: 2.68 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.004485/1.793, allocations: 1.673 MB / 0.6246 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.793, allocations: 15.89 kB / 0.6247 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/1.793, allocations: 71.17 kB / 0.6247 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/1.793, allocations: 290.9 kB / 0.625 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.904e-05/1.793, allocations: 66.69 kB / 0.6251 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/1.794, allocations: 48 kB / 0.6251 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000807/1.794, allocations: 0.5961 MB / 0.6257 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/1.794, allocations: 3.938 kB / 0.6257 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/1.794, allocations: 16 kB / 0.6257 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/1.794, allocations: 31.92 kB / 0.6257 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/1.795, allocations: 352 kB / 0.6261 GB, free: 15.38 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.02143/1.816, allocations: 11.98 MB / 0.6378 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/1.817, allocations: 239.1 kB / 0.638 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/1.817, allocations: 181.9 kB / 0.6382 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.434/2.251, allocations: 119.8 MB / 0.7551 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/2.251, allocations: 34.5 kB / 0.7552 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 3.487e-06/2.251, allocations: 0 / 0.7552 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002512/2.254, allocations: 1.117 MB / 0.7563 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/2.254, allocations: 58.75 kB / 0.7563 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/2.254, allocations: 291.8 kB / 0.7566 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/2.254, allocations: 35.8 kB / 0.7566 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/2.254, allocations: 220.7 kB / 0.7569 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/2.254, allocations: 219.9 kB / 0.7571 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/2.254, allocations: 88.53 kB / 0.7571 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/2.255, allocations: 353.5 kB / 0.7575 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/2.255, allocations: 120.9 kB / 0.7576 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/2.255, allocations: 226.7 kB / 0.7578 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/2.255, allocations: 400.6 kB / 0.7582 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/2.255, allocations: 1.438 kB / 0.7582 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001005/2.257, allocations: 0.6197 MB / 0.7588 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/2.257, allocations: 7.188 kB / 0.7588 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/2.257, allocations: 3.812 kB / 0.7588 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/2.258, allocations: 0.5805 MB / 0.7594 GB, free: 184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.584e-05/2.258, allocations: 4 kB / 0.7594 GB, free: 184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/2.259, allocations: 2.014 MB / 0.7614 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/2.26, allocations: 47.19 kB / 0.7614 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/2.26, allocations: 19.75 kB / 0.7614 GB, free: 182.1 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.0001649/2.26, allocations: 168.7 kB / 0.7616 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/2.26, allocations: 40.28 kB / 0.7616 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/2.261, allocations: 1.44 MB / 0.763 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/2.261, allocations: 3.984 kB / 0.763 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/2.261, allocations: 4 kB / 0.763 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/2.262, allocations: 159.8 kB / 0.7632 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/2.262, allocations: 8.688 kB / 0.7632 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/2.262, allocations: 13.11 kB / 0.7632 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/2.262, allocations: 15.92 kB / 0.7632 GB, free: 180.8 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.001139/2.263, allocations: 1.208 MB / 0.7644 GB, free: 179.4 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