Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8121/0.8121, allocations: 150.9 MB / 167.2 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 15.83 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05889/0.05926, allocations: 31.35 MB / 269.1 MB, free: 7.023 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.TestStaticWaterWaterExchangerDTorWorEff): time 1.648/1.707, allocations: 296 MB / 0.5519 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02921/1.736, allocations: 23.76 MB / 0.5751 GB, free: 3.941 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/1.737, allocations: 4 kB / 0.5751 GB, free: 3.938 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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/SinkP.mo:33:3-34:47: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/SourceQ.mo:24:3-25:52: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/SinkP.mo:33:3-34:47: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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:69:3-71:37:writable] Warning: Connector Ec 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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:72:3-74:42:writable] Warning: Connector Ef 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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:75:3-77:37:writable] Warning: Connector Sf 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/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:78:3-80:36:writable] Warning: Connector Sc 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.0006609/1.737, allocations: 231.6 kB / 0.5753 GB, free: 3.711 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/1.738, allocations: 230.1 kB / 0.5755 GB, free: 3.484 MB / 462.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. Notification: Performance of NFTyping.typeClassSections: time 0.01931/1.757, allocations: 7.618 MB / 0.583 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/1.758, allocations: 0.8061 MB / 0.5837 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/1.759, allocations: 244.8 kB / 0.584 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/1.759, allocations: 318.7 kB / 0.5843 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/1.759, allocations: 254.7 kB / 0.5845 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/1.759, allocations: 44 kB / 0.5846 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02983/1.789, allocations: 17.15 MB / 0.6013 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/1.789, allocations: 99.56 kB / 0.6014 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003978/1.79, allocations: 294.5 kB / 0.6017 GB, free: 8.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/1.806, allocations: 7.2 MB / 0.6087 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.806, allocations: 0 / 0.6087 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.244e-06/1.806, allocations: 0 / 0.6087 GB, free: 1.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/1.806, allocations: 0 / 0.6087 GB, free: 1.426 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004551/1.81, allocations: 1.443 MB / 0.6101 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 9.014e-05/1.81, allocations: 15.83 kB / 0.6102 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/1.811, allocations: 60.19 kB / 0.6102 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/1.811, allocations: 308.6 kB / 0.6105 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/1.811, allocations: 63.25 kB / 0.6106 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/1.811, allocations: 40.12 kB / 0.6106 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009197/1.812, allocations: 0.6367 MB / 0.6112 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/1.812, allocations: 3.938 kB / 0.6112 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/1.812, allocations: 16 kB / 0.6112 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/1.812, allocations: 35.97 kB / 0.6113 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/1.813, allocations: 439 kB / 0.6117 GB, free: 14.25 MB / 0.4981 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.03923/1.852, allocations: 19.53 MB / 0.6308 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/1.853, allocations: 347.8 kB / 0.6311 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/1.853, allocations: 274.7 kB / 0.6314 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09011/1.943, allocations: 41.55 MB / 0.6719 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/1.943, allocations: 30.56 kB / 0.672 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 3.597e-06/1.943, allocations: 0 / 0.672 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.00466/1.948, allocations: 1.455 MB / 0.6734 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/1.948, allocations: 51.41 kB / 0.6734 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/1.948, allocations: 345.5 kB / 0.6738 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/1.948, allocations: 29.7 kB / 0.6738 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/1.949, allocations: 197.3 kB / 0.674 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/1.949, allocations: 334.8 kB / 0.6743 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/1.949, allocations: 97.66 kB / 0.6744 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.949, allocations: 370.8 kB / 0.6747 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/1.95, allocations: 188.9 kB / 0.6749 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/1.95, allocations: 294.4 kB / 0.6752 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000802/1.951, allocations: 0.5511 MB / 0.6757 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.951, allocations: 0 / 0.6757 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001303/1.952, allocations: 0.7658 MB / 0.6765 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.952, allocations: 7.938 kB / 0.6765 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.952, allocations: 4 kB / 0.6765 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/1.954, allocations: 0.7224 MB / 0.6772 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/1.954, allocations: 7.938 kB / 0.6772 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/1.956, allocations: 1.054 MB / 0.6782 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/1.956, allocations: 71.08 kB / 0.6783 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/1.956, allocations: 16 kB / 0.6783 GB, free: 3.809 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002083/1.956, allocations: 170.8 kB / 0.6785 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/1.957, allocations: 47.34 kB / 0.6785 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/1.959, allocations: 2.059 MB / 0.6805 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.959, allocations: 4 kB / 0.6806 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.959, allocations: 4 kB / 0.6806 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/1.959, allocations: 199.8 kB / 0.6807 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/1.959, allocations: 11.94 kB / 0.6808 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/1.959, allocations: 8 kB / 0.6808 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/1.96, allocations: 27.95 kB / 0.6808 GB, free: 1.176 MB / 0.5606 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(exchangerWaterSteamDTorWorEFF.Tef, exchangerWaterSteamDTorWorEFF.profe.d, exchangerWaterSteamDTorWorEFF.profe.u, exchangerWaterSteamDTorWorEFF.profe.s, exchangerWaterSteamDTorWorEFF.profe.cp, exchangerWaterSteamDTorWorEFF.profe.ddhp, exchangerWaterSteamDTorWorEFF.profe.ddph, exchangerWaterSteamDTorWorEFF.profe.duph, exchangerWaterSteamDTorWorEFF.profe.duhp, exchangerWaterSteamDTorWorEFF.profe.x) = $cse3 Variables: 1: exchangerWaterSteamDTorWorEFF.Tef:VARIABLE(min = 200.0 max = 6000.0 start = 350.0 unit = "K" nominal = 300.0 ) "Fluid temperature at the inlet of the cold side" type: Real 2: exchangerWaterSteamDTorWorEFF.profe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 3: exchangerWaterSteamDTorWorEFF.profe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 4: exchangerWaterSteamDTorWorEFF.profe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 5: exchangerWaterSteamDTorWorEFF.profe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 6: exchangerWaterSteamDTorWorEFF.profe.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 7: exchangerWaterSteamDTorWorEFF.profe.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 8: exchangerWaterSteamDTorWorEFF.Sf.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 9: sourceWaterSteam_FF.C.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 10: exchangerWaterSteamDTorWorEFF.W:VARIABLE(start = 1e6 unit = "W" ) "Power exchanged from the hot fluid to the cold fluid" 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): exchangerWaterSteamDTorWorEFF.DPff = exchangerWaterSteamDTorWorEFF.Kf * $cse7 / exchangerWaterSteamDTorWorEFF.rhof 2/2 (1): exchangerWaterSteamDTorWorEFF.DPf = exchangerWaterSteamDTorWorEFF.DPff + exchangerWaterSteamDTorWorEFF.DPgf 3/3 (1): sourceWaterSteam_FF.P - sinkWaterSteam_FF.P0 = exchangerWaterSteamDTorWorEFF.DPf 4/4 (10): $cse1 = ThermoSysPro.Properties.WaterSteam.IF97.Water_Ph(0.5 * (sourceWaterSteam_FF.P + sinkWaterSteam_FF.P0), 0.5 * (sourceWaterSteam_FF.C.h + exchangerWaterSteamDTorWorEFF.Sf.h), exchangerWaterSteamDTorWorEFF.modef) 5/14 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(exchangerWaterSteamDTorWorEFF.promf.T, exchangerWaterSteamDTorWorEFF.rhof, exchangerWaterSteamDTorWorEFF.promf.u, exchangerWaterSteamDTorWorEFF.promf.s, exchangerWaterSteamDTorWorEFF.promf.cp, exchangerWaterSteamDTorWorEFF.promf.ddhp, exchangerWaterSteamDTorWorEFF.promf.ddph, exchangerWaterSteamDTorWorEFF.promf.duph, exchangerWaterSteamDTorWorEFF.promf.duhp, exchangerWaterSteamDTorWorEFF.promf.x) = $cse1 6/24 (10): $cse3 = ThermoSysPro.Properties.WaterSteam.IF97.Water_Ph(sourceWaterSteam_FF.P, sourceWaterSteam_FF.C.h, exchangerWaterSteamDTorWorEFF.modef) 7/34 (1): exchangerWaterSteamDTorWorEFF.W = if exchangerWaterSteamDTorWorEFF.proce.x > 0.0 and exchangerWaterSteamDTorWorEFF.proce.x < 1.0 and (exchangerWaterSteamDTorWorEFF.profe.x < 1e-5 or exchangerWaterSteamDTorWorEFF.profe.x > 0.999999) then sourceWaterSteam_FF.Q0 * exchangerWaterSteamDTorWorEFF.profe.cp * exchangerWaterSteamDTorWorEFF.EffEch * (exchangerWaterSteamDTorWorEFF.Tec - exchangerWaterSteamDTorWorEFF.Tef) else if exchangerWaterSteamDTorWorEFF.profe.x > 0.0 and exchangerWaterSteamDTorWorEFF.profe.x < 1.0 then sourceWaterSteam_FC.Q0 * exchangerWaterSteamDTorWorEFF.proce.cp * exchangerWaterSteamDTorWorEFF.EffEch * (exchangerWaterSteamDTorWorEFF.Tec - exchangerWaterSteamDTorWorEFF.Tef) else min(sourceWaterSteam_FC.Q0 * exchangerWaterSteamDTorWorEFF.proce.cp, sourceWaterSteam_FF.Q0 * exchangerWaterSteamDTorWorEFF.profe.cp) * exchangerWaterSteamDTorWorEFF.EffEch * (exchangerWaterSteamDTorWorEFF.Tec - exchangerWaterSteamDTorWorEFF.Tef) 8/35 (10): $cse4 = ThermoSysPro.Properties.WaterSteam.IF97.Water_Ph(0.5 * (sourceWaterSteam_FC.P + sinkWaterSteam_FC.P0), 0.5 * (sourceWaterSteam_FC.C.h + exchangerWaterSteamDTorWorEFF.Sc.h), exchangerWaterSteamDTorWorEFF.modec) 9/45 (10): $cse6 = ThermoSysPro.Properties.WaterSteam.IF97.Water_Ph(sourceWaterSteam_FC.P, sourceWaterSteam_FC.C.h, exchangerWaterSteamDTorWorEFF.modec) 10/55 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(exchangerWaterSteamDTorWorEFF.Tec, exchangerWaterSteamDTorWorEFF.proce.d, exchangerWaterSteamDTorWorEFF.proce.u, exchangerWaterSteamDTorWorEFF.proce.s, exchangerWaterSteamDTorWorEFF.proce.cp, exchangerWaterSteamDTorWorEFF.proce.ddhp, exchangerWaterSteamDTorWorEFF.proce.ddph, exchangerWaterSteamDTorWorEFF.proce.duph, exchangerWaterSteamDTorWorEFF.proce.duhp, exchangerWaterSteamDTorWorEFF.proce.x) = $cse6 11/65 (1): sourceWaterSteam_FC.P - sinkWaterSteam_FC.P0 = exchangerWaterSteamDTorWorEFF.DPc 12/66 (1): exchangerWaterSteamDTorWorEFF.DPc = exchangerWaterSteamDTorWorEFF.DPfc + exchangerWaterSteamDTorWorEFF.DPgc 13/67 (1): exchangerWaterSteamDTorWorEFF.DPfc = exchangerWaterSteamDTorWorEFF.Kc * $cse8 / exchangerWaterSteamDTorWorEFF.rhoc 14/68 (1): exchangerWaterSteamDTorWorEFF.DPgc = 9.80665 * exchangerWaterSteamDTorWorEFF.rhoc * (exchangerWaterSteamDTorWorEFF.z2c - exchangerWaterSteamDTorWorEFF.z1c) 15/69 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(exchangerWaterSteamDTorWorEFF.promc.T, exchangerWaterSteamDTorWorEFF.rhoc, exchangerWaterSteamDTorWorEFF.promc.u, exchangerWaterSteamDTorWorEFF.promc.s, exchangerWaterSteamDTorWorEFF.promc.cp, exchangerWaterSteamDTorWorEFF.promc.ddhp, exchangerWaterSteamDTorWorEFF.promc.ddph, exchangerWaterSteamDTorWorEFF.promc.duph, exchangerWaterSteamDTorWorEFF.promc.duhp, exchangerWaterSteamDTorWorEFF.promc.x) = $cse4 16/79 (1): 0.0 = if sourceWaterSteam_FC.Q0 > 0.0 then sourceWaterSteam_FC.C.h - sourceWaterSteam_FC.h0 else exchangerWaterSteamDTorWorEFF.Sc.h - sinkWaterSteam_FC.h 17/80 (1): exchangerWaterSteamDTorWorEFF.Sc.h = sourceWaterSteam_FC.C.h - exchangerWaterSteamDTorWorEFF.W / sourceWaterSteam_FC.Q0 18/81 (1): exchangerWaterSteamDTorWorEFF.Sf.h = sourceWaterSteam_FF.C.h + exchangerWaterSteamDTorWorEFF.W / sourceWaterSteam_FF.Q0 19/82 (1): 0.0 = if sourceWaterSteam_FF.Q0 > 0.0 then sourceWaterSteam_FF.C.h - sourceWaterSteam_FF.h0 else exchangerWaterSteamDTorWorEFF.Sf.h - sinkWaterSteam_FF.h 20/83 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(exchangerWaterSteamDTorWorEFF.Tef, exchangerWaterSteamDTorWorEFF.profe.d, exchangerWaterSteamDTorWorEFF.profe.u, exchangerWaterSteamDTorWorEFF.profe.s, exchangerWaterSteamDTorWorEFF.profe.cp, exchangerWaterSteamDTorWorEFF.profe.ddhp, exchangerWaterSteamDTorWorEFF.profe.ddph, exchangerWaterSteamDTorWorEFF.profe.duph, exchangerWaterSteamDTorWorEFF.profe.duhp, exchangerWaterSteamDTorWorEFF.profe.x) = $cse3 21/93 (1): exchangerWaterSteamDTorWorEFF.DPgf = 9.80665 * exchangerWaterSteamDTorWorEFF.rhof * (exchangerWaterSteamDTorWorEFF.z2f - exchangerWaterSteamDTorWorEFF.z1f) Variables: 1: exchangerWaterSteamDTorWorEFF.DPgf:VARIABLE(start = 100.0 unit = "Pa" ) "Gravity pressure loss for the cold fluid" type: Real 2: exchangerWaterSteamDTorWorEFF.Tef:VARIABLE(min = 200.0 max = 6000.0 start = 350.0 unit = "K" nominal = 300.0 ) "Fluid temperature at the inlet of the cold side" type: Real 3: exchangerWaterSteamDTorWorEFF.profe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 4: exchangerWaterSteamDTorWorEFF.profe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 5: exchangerWaterSteamDTorWorEFF.profe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 6: exchangerWaterSteamDTorWorEFF.profe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 7: exchangerWaterSteamDTorWorEFF.profe.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 8: exchangerWaterSteamDTorWorEFF.profe.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 9: exchangerWaterSteamDTorWorEFF.Sf.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 10: sourceWaterSteam_FF.C.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 11: exchangerWaterSteamDTorWorEFF.W:VARIABLE(start = 1e6 unit = "W" ) "Power exchanged from the hot fluid to the cold fluid" type: Real 12: exchangerWaterSteamDTorWorEFF.Sc.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 13: exchangerWaterSteamDTorWorEFF.promc.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 14: exchangerWaterSteamDTorWorEFF.promc.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 15: $cse4.x:VARIABLE(protected = true ) type: Real unreplaceable 16: exchangerWaterSteamDTorWorEFF.promc.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 17: exchangerWaterSteamDTorWorEFF.promc.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 18: exchangerWaterSteamDTorWorEFF.promc.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 19: exchangerWaterSteamDTorWorEFF.promc.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 20: exchangerWaterSteamDTorWorEFF.promc.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 21: exchangerWaterSteamDTorWorEFF.promc.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 22: exchangerWaterSteamDTorWorEFF.promc.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 23: exchangerWaterSteamDTorWorEFF.DPgc:VARIABLE(start = 100.0 unit = "Pa" ) "Gravity pressure loss for the hot fluid" type: Real 24: exchangerWaterSteamDTorWorEFF.rhoc:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Hot fluid density" type: Real 25: exchangerWaterSteamDTorWorEFF.DPfc:VARIABLE(start = 1000.0 unit = "Pa" ) "Friction pressure loss for the hot fluid" type: Real 26: exchangerWaterSteamDTorWorEFF.DPc:VARIABLE(start = 1000.0 unit = "Pa" ) "Total pressure loss for the hot fluid" type: Real 27: exchangerWaterSteamDTorWorEFF.proce.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 28: $cse6.ddph:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse6.u:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse6.s:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse6.duhp:VARIABLE(protected = true ) type: Real unreplaceable 32: sourceWaterSteam_FC.P:VARIABLE(min = 0.0 start = 2.3e6 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 33: $cse4.duhp:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse4.duph:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse4.cp:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse4.u:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse4.ddph:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse4.d:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse4.T:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse4.s:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse4.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 42: sourceWaterSteam_FC.C.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 43: $cse6.d:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse6.cp:VARIABLE(protected = true ) type: Real unreplaceable 45: $cse6.T:VARIABLE(protected = true ) type: Real unreplaceable 46: $cse6.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 47: $cse6.duph:VARIABLE(protected = true ) type: Real unreplaceable 48: $cse6.x:VARIABLE(protected = true ) type: Real unreplaceable 49: exchangerWaterSteamDTorWorEFF.Tec:VARIABLE(min = 200.0 max = 6000.0 start = 500.0 unit = "K" nominal = 300.0 ) "Fluid temperature at the inlet of the hot side" type: Real 50: exchangerWaterSteamDTorWorEFF.proce.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 51: exchangerWaterSteamDTorWorEFF.proce.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 52: exchangerWaterSteamDTorWorEFF.proce.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 53: exchangerWaterSteamDTorWorEFF.proce.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 54: exchangerWaterSteamDTorWorEFF.proce.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 55: exchangerWaterSteamDTorWorEFF.proce.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 56: exchangerWaterSteamDTorWorEFF.proce.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 57: exchangerWaterSteamDTorWorEFF.proce.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 58: exchangerWaterSteamDTorWorEFF.profe.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 59: exchangerWaterSteamDTorWorEFF.profe.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 60: exchangerWaterSteamDTorWorEFF.profe.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 61: $cse3.d:VARIABLE(protected = true ) type: Real unreplaceable 62: $cse3.x:VARIABLE(protected = true ) type: Real unreplaceable 63: $cse3.duph:VARIABLE(protected = true ) type: Real unreplaceable 64: $cse3.u:VARIABLE(protected = true ) type: Real unreplaceable 65: $cse3.T:VARIABLE(protected = true ) type: Real unreplaceable 66: $cse3.s:VARIABLE(protected = true ) type: Real unreplaceable 67: $cse3.cp:VARIABLE(protected = true ) type: Real unreplaceable 68: $cse3.ddph:VARIABLE(protected = true ) type: Real unreplaceable 69: $cse3.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 70: $cse3.duhp:VARIABLE(protected = true ) type: Real unreplaceable 71: exchangerWaterSteamDTorWorEFF.promf.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 72: exchangerWaterSteamDTorWorEFF.promf.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 73: exchangerWaterSteamDTorWorEFF.promf.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 74: exchangerWaterSteamDTorWorEFF.promf.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 75: exchangerWaterSteamDTorWorEFF.promf.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 76: exchangerWaterSteamDTorWorEFF.promf.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 77: exchangerWaterSteamDTorWorEFF.promf.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 78: exchangerWaterSteamDTorWorEFF.promf.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 79: exchangerWaterSteamDTorWorEFF.promf.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 80: $cse1.duph:VARIABLE(protected = true ) type: Real unreplaceable 81: $cse1.d:VARIABLE(protected = true ) type: Real unreplaceable 82: $cse1.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 83: $cse1.s:VARIABLE(protected = true ) type: Real unreplaceable 84: $cse1.u:VARIABLE(protected = true ) type: Real unreplaceable 85: $cse1.x:VARIABLE(protected = true ) type: Real unreplaceable 86: $cse1.cp:VARIABLE(protected = true ) type: Real unreplaceable 87: $cse1.T:VARIABLE(protected = true ) type: Real unreplaceable 88: $cse1.ddph:VARIABLE(protected = true ) type: Real unreplaceable 89: $cse1.duhp:VARIABLE(protected = true ) type: Real unreplaceable 90: sourceWaterSteam_FF.P:VARIABLE(min = 0.0 start = 2.19e7 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 91: exchangerWaterSteamDTorWorEFF.DPf:VARIABLE(start = 1000.0 unit = "Pa" ) "Total pressure loss for the cold fluid" type: Real 92: exchangerWaterSteamDTorWorEFF.DPff:VARIABLE(start = 1000.0 unit = "Pa" ) "Friction pressure loss for the cold fluid" type: Real 93: exchangerWaterSteamDTorWorEFF.rhof:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Cold fluid density" 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.002665/1.962, allocations: 3.34 MB / 0.6841 GB, free: 13.02 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff could not be translated