Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0.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.TestNTUWaterHeater0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8258/0.8258, allocations: 150.9 MB / 167.2 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003801, allocations: 16.73 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05879/0.05918, allocations: 31.35 MB / 269.1 MB, free: 7.051 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.TestNTUWaterHeater0): time 1.601/1.66, allocations: 299.5 MB / 0.5553 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4561/2.116, allocations: 192.5 MB / 0.7433 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009143/2.117, allocations: 20.69 kB / 0.7433 GB, free: 1.809 MB / 0.5919 GB [/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/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/BoundaryConditions/SourceP.mo:58:3-59: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/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/HeatExchangers/NTUWaterHeater.mo:99:3-101:16:writable] Warning: Connector Ee 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/HeatExchangers/NTUWaterHeater.mo:102:3-103:65:writable] Warning: Connector Se 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/HeatExchangers/NTUWaterHeater.mo:104:3-105:83:writable] Warning: Connector Ep 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/HeatExchangers/NTUWaterHeater.mo:106:3-107:67:writable] Warning: Connector Sp 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/HeatExchangers/NTUWaterHeater.mo:108:3-110:55:writable] Warning: Connector Ev 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.0007175/2.118, allocations: 325.7 kB / 0.7436 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/2.119, allocations: 0.5996 MB / 0.7442 GB, free: 1.797 MB / 0.5919 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.02869/2.147, allocations: 12.54 MB / 0.7564 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002011/2.149, allocations: 2.144 MB / 0.7585 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007536/2.15, allocations: 0.88 MB / 0.7594 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008166/2.151, allocations: 0.8622 MB / 0.7602 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/2.152, allocations: 0.8245 MB / 0.761 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/2.152, allocations: 158 kB / 0.7612 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03049/2.182, allocations: 18.22 MB / 0.779 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/2.183, allocations: 366.5 kB / 0.7793 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/2.184, allocations: 0.8904 MB / 0.7802 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02186/2.206, allocations: 10.77 MB / 0.7907 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/2.206, allocations: 0 / 0.7907 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/2.206, allocations: 1 kB / 0.7907 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.233e-05/2.206, allocations: 0 / 0.7907 GB, free: 11.44 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: 499 * Number of variables: 499 Notification: Performance of Generate backend data structure: time 0.006614/2.213, allocations: 2.916 MB / 0.7936 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/2.213, allocations: 10.44 kB / 0.7936 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/2.213, allocations: 186 kB / 0.7938 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/2.214, allocations: 0.7147 MB / 0.7945 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/2.214, allocations: 226.7 kB / 0.7947 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/2.214, allocations: 139.9 kB / 0.7948 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/2.217, allocations: 1.812 MB / 0.7966 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/2.217, allocations: 3.094 kB / 0.7966 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/2.217, allocations: 58.81 kB / 0.7966 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/2.217, allocations: 77.47 kB / 0.7967 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/2.219, allocations: 1.288 MB / 0.798 GB, free: 6.805 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.15/2.369, allocations: 70.13 MB / 0.8664 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/2.37, allocations: 0.8696 MB / 0.8673 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007849/2.371, allocations: 0.6491 MB / 0.8679 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8892/3.26, allocations: 411.9 MB / 1.27 GB, free: 173.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/3.26, allocations: 47 kB / 1.27 GB, free: 173.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=200): time 3.937e-06/3.26, allocations: 0.5156 kB / 1.27 GB, free: 173.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=200): time 0.006382/3.267, allocations: 3.418 MB / 1.274 GB, free: 170.6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/3.267, allocations: 162.8 kB / 1.274 GB, free: 170.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/3.267, allocations: 0.6981 MB / 1.274 GB, free: 169.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/3.268, allocations: 40.39 kB / 1.274 GB, free: 169.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/3.268, allocations: 0.617 MB / 1.275 GB, free: 169.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/3.268, allocations: 0.6452 MB / 1.276 GB, free: 168.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/3.268, allocations: 289.3 kB / 1.276 GB, free: 168.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 5.551e-05/3.268, allocations: 346.8 kB / 1.276 GB, free: 168.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/3.269, allocations: 0.533 MB / 1.277 GB, free: 168 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/3.27, allocations: 0.9928 MB / 1.278 GB, free: 167 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/3.272, allocations: 1.686 MB / 1.279 GB, free: 165.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/3.272, allocations: 4 kB / 1.279 GB, free: 165.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.003359/3.275, allocations: 2.345 MB / 1.282 GB, free: 162.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/3.275, allocations: 12 kB / 1.282 GB, free: 162.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/3.275, allocations: 12.69 kB / 1.282 GB, free: 162.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004612/3.28, allocations: 2.107 MB / 1.284 GB, free: 160.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/3.28, allocations: 150.3 kB / 1.284 GB, free: 160.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/3.283, allocations: 3.715 MB / 1.288 GB, free: 156.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008057/3.284, allocations: 189.9 kB / 1.288 GB, free: 156.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/3.284, allocations: 56 kB / 1.288 GB, free: 156.6 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 26 (nTUWaterHeating.Sp.ftype,Source_condenseur.C.ftype,nTUWaterHeating.Ep.ftype,sourceP.C.ftype,nTUWaterHeating.fluids[1],Puit_condenseur.fluid,singularPressureLoss2.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,nTUWaterHeating.fluid_e,sourceP.fluid1,Source_condenseur.fluid1,nTUWaterHeating.Sp.diff_on_1,singularPressureLoss5.C2.diff_on_1,nTUWaterHeating.Ev.diff_on_2,sourceP.C.diff_on_2,nTUWaterHeating.Ep.diff_on_2,nTUWaterHeating.Ee.diff_on_2,Source_condenseur.C.diff_on_2,nTUWaterHeating.Se.diff_on_1,singularPressureLoss4.C2.diff_on_1,nTUWaterHeating.Ep.diff_on_1,singularPressureLoss5.C1.diff_on_2,singularPressureLoss3.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,3), (1,3), (8,21), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004382/3.284, allocations: 318.4 kB / 1.288 GB, free: 156.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/3.284, allocations: 110.5 kB / 1.288 GB, free: 156.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/3.287, allocations: 2.406 MB / 1.291 GB, free: 153.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/3.287, allocations: 3.984 kB / 1.291 GB, free: 153.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/3.287, allocations: 4 kB / 1.291 GB, free: 153.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/3.288, allocations: 294.9 kB / 1.291 GB, free: 153.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.173e-05/3.288, allocations: 17.81 kB / 1.291 GB, free: 153.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/3.288, allocations: 19.98 kB / 1.291 GB, free: 153.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/3.288, allocations: 68.27 kB / 1.291 GB, free: 153.3 MB / 0.8262 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): (ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(nTUWaterHeating.lsatC.P, nTUWaterHeating.TsatC, nTUWaterHeating.lsatC.rho, nTUWaterHeating.HsateC, nTUWaterHeating.lsatC.cp, nTUWaterHeating.lsatC.pt, nTUWaterHeating.lsatC.cv), ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(nTUWaterHeating.vsatC.P, nTUWaterHeating.vsatC.T, nTUWaterHeating.vsatC.rho, nTUWaterHeating.HsatvC, nTUWaterHeating.vsatC.cp, nTUWaterHeating.vsatC.pt, nTUWaterHeating.vsatC.cv)) = ThermoSysPro.Properties.Fluid.Water_sat_P(nTUWaterHeating.P, nTUWaterHeating.fluid) Variables: 1: nTUWaterHeating.lsatC.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 2: nTUWaterHeating.lsatC.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 3: nTUWaterHeating.vsatC.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 4: nTUWaterHeating.vsatC.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 5: nTUWaterHeating.vsatC.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 6: nTUWaterHeating.vsatC.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 7: nTUWaterHeating.lsatC.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 8: nTUWaterHeating.lsatC.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 9: nTUWaterHeating.vsatC.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 10: nTUWaterHeating.HsateC:VARIABLE(min = 0.0 start = 3e5 unit = "J/kg" ) "Saturation specific enthalpy of the water at the pressure of the vapor inlet" type: Real 11: nTUWaterHeating.Hep:VARIABLE(start = 981240.7187349163 unit = "J/kg" ) "Mixing specific enthalpy of the drain and the condensate" type: Real 12: nTUWaterHeating.flashepC.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 13: nTUWaterHeating.flashepC.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 14: nTUWaterHeating.flashepC.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" 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): singularPressureLoss3.h = if singularPressureLoss3.Q > 0.0 then 2.6e6 else nTUWaterHeating.h 2/2 (1): singularPressureLoss3.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss3.Pm, singularPressureLoss3.h, singularPressureLoss3.fluid, singularPressureLoss3.mode, 0.0, 0.0, 0.0, 0.0) 3/3 (1): singularPressureLoss3.deltaP = singularPressureLoss3.K * $cse2 / singularPressureLoss3.rho 4/4 (1): $cse2 = ThermoSysPro.Functions.ThermoSquare(singularPressureLoss3.Q, singularPressureLoss3.eps) 5/5 (1): $cse6 = ThermoSysPro.Correlations.Thermal.WBHeatExchangerEfficiency(singularPressureLoss3.Q, Source_condenseur.Q0, 1e20, nTUWaterHeating.promcF.cp, nTUWaterHeating.KCond, nTUWaterHeating.SCondDes - nTUWaterHeating.SDes, 0.5) 6/6 (1): 0.0 = if nTUWaterHeating.HsatvC < singularPressureLoss3.h then nTUWaterHeating.Wdes - min(singularPressureLoss3.Q * nTUWaterHeating.prodesmC.cp, Source_condenseur.Q0 * nTUWaterHeating.prodesmF.cp) * ThermoSysPro.Correlations.Thermal.WBHeatExchangerEfficiency(singularPressureLoss3.Q, Source_condenseur.Q0, nTUWaterHeating.prodesmC.cp, nTUWaterHeating.prodesmF.cp, 0.5 * nTUWaterHeating.KCond, nTUWaterHeating.SDes, 1.0) * (nTUWaterHeating.proevC.T - nTUWaterHeating.prodesF.T) else nTUWaterHeating.SDes - 1e-9 7/7 (1): 0.0 = if nTUWaterHeating.HsatvC < singularPressureLoss3.h then Source_condenseur.Q0 * (singularPressureLoss4.h - nTUWaterHeating.HDesF) - singularPressureLoss3.Q * (singularPressureLoss3.h - nTUWaterHeating.HsatvC) else nTUWaterHeating.Wdes - 1e-9 8/8 (10): $cse9 = ThermoSysPro.Properties.Fluid.Ph(0.5 * (singularPressureLoss2.C2.P + nTUWaterHeating.Se.P), 0.5 * (singularPressureLoss2.h + singularPressureLoss4.h), nTUWaterHeating.mode_eeF, nTUWaterHeating.fluid_e) 9/18 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(nTUWaterHeating.promeF.T, nTUWaterHeating.rho, nTUWaterHeating.promeF.u, nTUWaterHeating.promeF.s, nTUWaterHeating.promeF.cp, nTUWaterHeating.promeF.ddhp, nTUWaterHeating.promeF.ddph, nTUWaterHeating.promeF.duph, nTUWaterHeating.promeF.duhp, nTUWaterHeating.promeF.x) = $cse9 10/28 (10): nTUWaterHeating.prodesF = ThermoSysPro.Properties.Fluid.Ph(nTUWaterHeating.Se.P, nTUWaterHeating.HDesF, nTUWaterHeating.mode_seF, nTUWaterHeating.fluid_e) 11/38 (10): nTUWaterHeating.promcF = ThermoSysPro.Properties.Fluid.Ph(0.5 * (singularPressureLoss2.C2.P + nTUWaterHeating.Se.P), 0.5 * (nTUWaterHeating.HeiF + nTUWaterHeating.HDesF), nTUWaterHeating.mode_mF, nTUWaterHeating.fluid_e) 12/48 (1): nTUWaterHeating.Wcond = Source_condenseur.Q0 * nTUWaterHeating.promcF.cp * $cse6 * (nTUWaterHeating.TsatC - nTUWaterHeating.TeiF) 13/49 (10): nTUWaterHeating.prodesmF = ThermoSysPro.Properties.Fluid.Ph(nTUWaterHeating.Se.P, 0.5 * (nTUWaterHeating.HDesF + singularPressureLoss4.h), nTUWaterHeating.mode_seF, nTUWaterHeating.fluid_e) 14/59 (1): singularPressureLoss2.C2.P - nTUWaterHeating.Se.P = nTUWaterHeating.lambdaE * $cse5 / nTUWaterHeating.rho 15/60 (1): 0.0 = if nTUWaterHeating.HsatvC < singularPressureLoss3.h then nTUWaterHeating.Wdes - Source_condenseur.Q0 * (singularPressureLoss4.h - nTUWaterHeating.HDesF) else nTUWaterHeating.HDesF - singularPressureLoss4.h 16/61 (1): nTUWaterHeating.Wcond = Source_condenseur.Q0 * (nTUWaterHeating.HDesF - nTUWaterHeating.HeiF) 17/62 (1): 0.0 = if noEvent(singularPressureLoss3.h < nTUWaterHeating.HsatvC) then Source_condenseur.Q0 * (nTUWaterHeating.HDesF - nTUWaterHeating.HeiF) - singularPressureLoss3.Q * (singularPressureLoss3.h - nTUWaterHeating.HsateC) else Source_condenseur.Q0 * (nTUWaterHeating.HDesF - nTUWaterHeating.HeiF) - singularPressureLoss3.Q * (nTUWaterHeating.HsatvC - nTUWaterHeating.HsateC) 18/63 (10): nTUWaterHeating.prodesmC = ThermoSysPro.Properties.Fluid.Ph(nTUWaterHeating.P, 0.5 * (nTUWaterHeating.HsatvC + singularPressureLoss3.h), nTUWaterHeating.mode_evC, nTUWaterHeating.fluid) 19/73 (10): nTUWaterHeating.proevC = ThermoSysPro.Properties.Fluid.Ph(nTUWaterHeating.P, singularPressureLoss3.h, nTUWaterHeating.mode_evC, nTUWaterHeating.fluid) 20/83 (10): nTUWaterHeating.prosp = ThermoSysPro.Properties.Fluid.Ph(nTUWaterHeating.P, nTUWaterHeating.Hep, nTUWaterHeating.mode_spC, nTUWaterHeating.fluid) 21/93 (1): nTUWaterHeating.Wpurge = $cse7 * $cse8 * (nTUWaterHeating.prosp.T - nTUWaterHeating.proeeF.T) 22/94 (1): $cse8 = ThermoSysPro.Correlations.Thermal.WBHeatExchangerEfficiency(singularPressureLoss3.Q, Source_condenseur.Q0, nTUWaterHeating.prompC.cp, nTUWaterHeating.prompF.cp, nTUWaterHeating.KPurge, 656.0, 0.0) 23/95 (1): $cse7 = min(singularPressureLoss3.Q * nTUWaterHeating.prompC.cp, Source_condenseur.Q0 * nTUWaterHeating.prompF.cp) 24/96 (10): nTUWaterHeating.prompC = ThermoSysPro.Properties.Fluid.Ph(nTUWaterHeating.P, 0.5 * (nTUWaterHeating.Hep + singularPressureLoss5.h), nTUWaterHeating.mode_spC, nTUWaterHeating.fluid) 25/106 (1): singularPressureLoss5.h = ThermoSysPro.Functions.SmoothCond(singularPressureLoss3.Q / nTUWaterHeating.gamma0, nTUWaterHeating.h, 1e5, 1.0) 26/107 (1): 0.0 = singularPressureLoss3.Q * (nTUWaterHeating.Hep - singularPressureLoss5.h) + Source_condenseur.Q0 * (singularPressureLoss2.h - nTUWaterHeating.HeiF) 27/108 (10): nTUWaterHeating.prompF = ThermoSysPro.Properties.Fluid.Ph(singularPressureLoss2.C2.P, 0.5 * (singularPressureLoss2.h + nTUWaterHeating.HeiF), nTUWaterHeating.mode_eeF, nTUWaterHeating.fluid_e) 28/118 (10): $cse10 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLoss2.C2.P, nTUWaterHeating.HeiF, nTUWaterHeating.mode_eeF, nTUWaterHeating.fluid_e) 29/128 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(nTUWaterHeating.TeiF, nTUWaterHeating.proecF.d, nTUWaterHeating.proecF.u, nTUWaterHeating.proecF.s, nTUWaterHeating.proecF.cp, nTUWaterHeating.proecF.ddhp, nTUWaterHeating.proecF.ddph, nTUWaterHeating.proecF.duph, nTUWaterHeating.proecF.duhp, nTUWaterHeating.proecF.x) = $cse10 30/138 (1): nTUWaterHeating.Wpurge = Source_condenseur.Q0 * (nTUWaterHeating.HeiF - singularPressureLoss2.h) 31/139 (10): nTUWaterHeating.flashepC = ThermoSysPro.Properties.Fluid.Ph(nTUWaterHeating.P, 1e5, nTUWaterHeating.mode_flash, nTUWaterHeating.fluid) 32/149 (1): 0.0 = if nTUWaterHeating.flashepC.x > 0.0 then nTUWaterHeating.Hep - nTUWaterHeating.HsateC else singularPressureLoss3.Q * (nTUWaterHeating.Hep - nTUWaterHeating.HsateC) 33/150 (14): (ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(nTUWaterHeating.lsatC.P, nTUWaterHeating.TsatC, nTUWaterHeating.lsatC.rho, nTUWaterHeating.HsateC, nTUWaterHeating.lsatC.cp, nTUWaterHeating.lsatC.pt, nTUWaterHeating.lsatC.cv), ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(nTUWaterHeating.vsatC.P, nTUWaterHeating.vsatC.T, nTUWaterHeating.vsatC.rho, nTUWaterHeating.HsatvC, nTUWaterHeating.vsatC.cp, nTUWaterHeating.vsatC.pt, nTUWaterHeating.vsatC.cv)) = ThermoSysPro.Properties.Fluid.Water_sat_P(nTUWaterHeating.P, nTUWaterHeating.fluid) 34/164 (1): singularPressureLoss3.Pm = 0.5 * (sourceP.P0 + nTUWaterHeating.P) 35/165 (1): singularPressureLoss3.deltaP = sourceP.P0 - nTUWaterHeating.P Variables: 1: singularPressureLoss3.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 2: singularPressureLoss3.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 3: nTUWaterHeating.lsatC.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 4: nTUWaterHeating.lsatC.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 5: nTUWaterHeating.vsatC.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 6: nTUWaterHeating.vsatC.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 7: nTUWaterHeating.vsatC.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 8: nTUWaterHeating.vsatC.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 9: nTUWaterHeating.lsatC.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 10: nTUWaterHeating.lsatC.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 11: nTUWaterHeating.vsatC.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 12: nTUWaterHeating.HsateC:VARIABLE(min = 0.0 start = 3e5 unit = "J/kg" ) "Saturation specific enthalpy of the water at the pressure of the vapor inlet" type: Real 13: nTUWaterHeating.Hep:VARIABLE(start = 981240.7187349163 unit = "J/kg" ) "Mixing specific enthalpy of the drain and the condensate" type: Real 14: nTUWaterHeating.flashepC.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 15: nTUWaterHeating.flashepC.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 16: nTUWaterHeating.flashepC.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 17: nTUWaterHeating.flashepC.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 18: nTUWaterHeating.flashepC.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 19: nTUWaterHeating.flashepC.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 20: nTUWaterHeating.flashepC.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 21: nTUWaterHeating.flashepC.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 22: nTUWaterHeating.flashepC.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 23: nTUWaterHeating.flashepC.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 24: nTUWaterHeating.Wpurge:VARIABLE(start = 1.0 unit = "W" ) "Energy transfer during drain cooling" type: Real 25: nTUWaterHeating.proecF.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 26: nTUWaterHeating.proecF.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 27: nTUWaterHeating.proecF.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 28: nTUWaterHeating.proecF.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 29: nTUWaterHeating.proecF.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 30: nTUWaterHeating.proecF.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 31: nTUWaterHeating.TeiF:VARIABLE(min = 200.0 max = 6000.0 start = 400.0 unit = "K" nominal = 300.0 ) "Fluid temperature after drain cooling" type: Real 32: nTUWaterHeating.proecF.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 33: nTUWaterHeating.proecF.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 34: nTUWaterHeating.proecF.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 35: $cse10.d:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse10.u:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse10.duhp:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse10.duph:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse10.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse10.x:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse10.cp:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse10.ddph:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse10.T:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse10.s:VARIABLE(protected = true ) type: Real unreplaceable 45: nTUWaterHeating.prompF.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 46: nTUWaterHeating.prompF.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 47: nTUWaterHeating.prompF.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 48: nTUWaterHeating.prompF.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 49: nTUWaterHeating.prompF.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 50: nTUWaterHeating.prompF.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 51: nTUWaterHeating.prompF.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 52: nTUWaterHeating.prompF.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 53: nTUWaterHeating.prompF.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 54: nTUWaterHeating.prompF.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 55: nTUWaterHeating.HeiF:VARIABLE(start = 878162.3337936474 unit = "J/kg" ) "Fluid specific enthalpy after drain cooling" type: Real 56: nTUWaterHeating.h:VARIABLE(start = 1e6 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 57: singularPressureLoss5.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 58: nTUWaterHeating.prompC.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 59: nTUWaterHeating.prompC.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 60: nTUWaterHeating.prompC.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 61: nTUWaterHeating.prompC.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 62: nTUWaterHeating.prompC.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 63: nTUWaterHeating.prompC.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 64: nTUWaterHeating.prompC.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 65: nTUWaterHeating.prompC.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 66: nTUWaterHeating.prompC.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 67: $cse7:VARIABLE(protected = true ) type: Real unreplaceable 68: nTUWaterHeating.prompC.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 69: $cse8:VARIABLE(protected = true ) type: Real unreplaceable 70: nTUWaterHeating.prosp.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 71: nTUWaterHeating.prosp.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 72: nTUWaterHeating.prosp.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 73: nTUWaterHeating.prosp.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 74: nTUWaterHeating.prosp.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 75: nTUWaterHeating.prosp.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 76: nTUWaterHeating.prosp.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 77: nTUWaterHeating.prosp.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 78: nTUWaterHeating.prosp.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 79: nTUWaterHeating.prosp.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 80: nTUWaterHeating.proevC.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 81: nTUWaterHeating.proevC.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 82: nTUWaterHeating.proevC.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 83: nTUWaterHeating.proevC.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 84: nTUWaterHeating.proevC.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 85: nTUWaterHeating.proevC.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 86: nTUWaterHeating.proevC.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 87: nTUWaterHeating.proevC.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 88: nTUWaterHeating.proevC.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 89: nTUWaterHeating.proevC.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 90: nTUWaterHeating.P:VARIABLE(min = 0.0 start = 1e6 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 91: nTUWaterHeating.lsatC.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 92: nTUWaterHeating.vsatC.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 93: nTUWaterHeating.TsatC:VARIABLE(min = 0.0 start = 400.0 unit = "K" nominal = 300.0 ) "Saturation temperature" type: Real 94: nTUWaterHeating.prodesmC.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 95: nTUWaterHeating.prodesmC.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 96: nTUWaterHeating.prodesmC.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 97: nTUWaterHeating.prodesmC.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 98: nTUWaterHeating.prodesmC.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 99: nTUWaterHeating.prodesmC.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 100: nTUWaterHeating.prodesmC.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 101: nTUWaterHeating.prodesmC.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 102: nTUWaterHeating.prodesmC.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 103: nTUWaterHeating.prodesmC.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 104: nTUWaterHeating.HsatvC:VARIABLE(min = 0.0 start = 2.5e6 unit = "J/kg" ) "Saturation specific enthalpy of the vapor at the pressure of the vapor inlet" type: Real 105: nTUWaterHeating.Wcond:VARIABLE(start = 1.0 unit = "W" ) "Energy transfer during condensation" type: Real 106: nTUWaterHeating.HDesF:VARIABLE(start = 980281.0129225359 unit = "J/kg" ) "Fluid specific enthalpy after deheating" type: Real 107: nTUWaterHeating.rho:VARIABLE(min = 1e-9 max = 1e5 start = 1000.0 unit = "kg/m3" nominal = 998.0 ) "Average water density" type: Real 108: nTUWaterHeating.prodesmF.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 109: nTUWaterHeating.prodesmF.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 110: nTUWaterHeating.prodesmF.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 111: nTUWaterHeating.prodesmF.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 112: nTUWaterHeating.prodesmF.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 113: nTUWaterHeating.prodesmF.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 114: nTUWaterHeating.prodesmF.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 115: nTUWaterHeating.prodesmF.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 116: nTUWaterHeating.prodesmF.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 117: nTUWaterHeating.prodesmF.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 118: $cse6:VARIABLE(protected = true ) type: Real unreplaceable 119: nTUWaterHeating.promcF.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 120: nTUWaterHeating.promcF.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 121: nTUWaterHeating.promcF.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 122: nTUWaterHeating.promcF.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 123: nTUWaterHeating.promcF.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 124: nTUWaterHeating.promcF.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 125: nTUWaterHeating.promcF.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 126: nTUWaterHeating.promcF.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 127: nTUWaterHeating.promcF.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 128: nTUWaterHeating.promcF.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 129: nTUWaterHeating.prodesF.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 130: nTUWaterHeating.prodesF.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 131: nTUWaterHeating.prodesF.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 132: nTUWaterHeating.prodesF.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 133: nTUWaterHeating.prodesF.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 134: nTUWaterHeating.prodesF.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 135: nTUWaterHeating.prodesF.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 136: nTUWaterHeating.prodesF.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 137: nTUWaterHeating.prodesF.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 138: nTUWaterHeating.prodesF.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 139: $cse9.duph:VARIABLE(protected = true ) type: Real unreplaceable 140: nTUWaterHeating.promeF.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 141: nTUWaterHeating.promeF.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 142: nTUWaterHeating.promeF.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 143: nTUWaterHeating.promeF.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 144: nTUWaterHeating.promeF.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 145: nTUWaterHeating.promeF.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 146: nTUWaterHeating.promeF.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 147: nTUWaterHeating.promeF.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 148: nTUWaterHeating.promeF.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 149: $cse9.ddph:VARIABLE(protected = true ) type: Real unreplaceable 150: $cse9.d:VARIABLE(protected = true ) type: Real unreplaceable 151: $cse9.cp:VARIABLE(protected = true ) type: Real unreplaceable 152: $cse9.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 153: $cse9.u:VARIABLE(protected = true ) type: Real unreplaceable 154: $cse9.duhp:VARIABLE(protected = true ) type: Real unreplaceable 155: $cse9.s:VARIABLE(protected = true ) type: Real unreplaceable 156: nTUWaterHeating.Se.P:VARIABLE(flow=false start = 8e6 unit = "Pa" ) "Fluid pressure in the control volume" type: Real 157: $cse9.x:VARIABLE(protected = true ) type: Real unreplaceable 158: $cse9.T:VARIABLE(protected = true ) type: Real unreplaceable 159: singularPressureLoss4.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 160: nTUWaterHeating.Wdes:VARIABLE(start = 1.0 unit = "W" ) "Energy transfer during deheating" type: Real 161: nTUWaterHeating.SDes:VARIABLE(start = 1e-9 unit = "m2" ) "Heat exchange surface for deheating" type: Real 162: singularPressureLoss3.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 163: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 164: singularPressureLoss3.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 165: singularPressureLoss3.h:VARIABLE(start = 1e5 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.002993/3.291, allocations: 8.865 MB / 1.3 GB, free: 143.1 MB / 0.8262 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0 could not be translated