Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.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.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8073/0.8073, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 17.25 kB / 237.8 MB, free: 1.766 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05542/0.05578, 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.TestStaticDrum2): time 1.621/1.677, allocations: 296.9 MB / 0.5527 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03695/1.714, allocations: 32.86 MB / 0.5848 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004439/1.715, allocations: 11.94 kB / 0.5848 GB, free: 10.17 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/StaticDrum.mo:11:3-13:24:writable] Warning: Connector Ce_eva 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/StaticDrum.mo:14:3-16:24:writable] Warning: Connector Ce_eco 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/StaticDrum.mo:17:3-18:82:writable] Warning: Connector Cs_sup 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/StaticDrum.mo:19:3-21:17:writable] Warning: Connector Cs_eva 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/StaticDrum.mo:22:3-23:82:writable] Warning: Connector Cs_sur 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/StaticDrum.mo:24:3-26:17:writable] Warning: Connector Cs_purg 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/StaticDrum.mo:27:3-29:17:writable] Warning: Connector Ce_steam 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/StaticDrum.mo:30:3-32:17:writable] Warning: Connector Ce_sup 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/Sensors/SensorT.mo:28:3-30:43: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/Sensors/SensorT.mo:31:3-33:38: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/SourcePQ.mo:29:3-30: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/Thermal/BoundaryConditions/HeatSink.mo:11:3-13:67:writable] Warning: Connector C is not balanced: The number of potential variables (0) is not equal to the number of flow variables (1). [/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/Sink.mo:17:3-19: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/Sensors/SensorT.mo:28:3-30:43: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/Sensors/SensorT.mo:31:3-33:38:writable] Warning: Connector C2 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.0008263/1.715, allocations: 244.1 kB / 0.5851 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008596/1.716, allocations: 305.7 kB / 0.5853 GB, free: 9.629 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.02453/1.741, allocations: 8.922 MB / 0.5941 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/1.742, allocations: 0.9566 MB / 0.595 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006604/1.743, allocations: 407.5 kB / 0.5954 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006303/1.744, allocations: 382.5 kB / 0.5957 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/1.744, allocations: 350.3 kB / 0.5961 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/1.744, allocations: 64 kB / 0.5961 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03045/1.775, allocations: 15.88 MB / 0.6116 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/1.775, allocations: 155.4 kB / 0.6118 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009672/1.776, allocations: 413.9 kB / 0.6122 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01803/1.794, allocations: 8.438 MB / 0.6204 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.794, allocations: 0 / 0.6204 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/1.794, allocations: 0 / 0.6204 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.073e-05/1.794, allocations: 0 / 0.6204 GB, free: 5.617 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.004306/1.799, allocations: 1.888 MB / 0.6223 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.799, allocations: 11.97 kB / 0.6223 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/1.799, allocations: 95.38 kB / 0.6224 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/1.799, allocations: 358.8 kB / 0.6227 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.531e-05/1.799, allocations: 58 kB / 0.6228 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.208e-05/1.799, allocations: 72 kB / 0.6228 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/1.801, allocations: 0.9236 MB / 0.6237 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/1.801, allocations: 7.938 kB / 0.6238 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/1.801, allocations: 28 kB / 0.6238 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/1.801, allocations: 35.98 kB / 0.6238 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/1.802, allocations: 0.517 MB / 0.6243 GB, free: 1.445 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.004652/1.806, allocations: 6.066 MB / 0.6302 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/1.807, allocations: 287.5 kB / 0.6305 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/1.807, allocations: 186.1 kB / 0.6307 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1599/1.967, allocations: 80.98 MB / 0.7098 GB, free: 432 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/1.967, allocations: 30.56 kB / 0.7098 GB, free: 392 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.266e-06/1.967, allocations: 0 / 0.7098 GB, free: 392 kB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.2134/2.18, allocations: 1.199 MB / 0.711 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/2.181, allocations: 54.09 kB / 0.711 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/2.181, allocations: 438.5 kB / 0.7114 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/2.181, allocations: 29.61 kB / 0.7115 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/2.181, allocations: 347.1 kB / 0.7118 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/2.182, allocations: 280.4 kB / 0.7121 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/2.182, allocations: 143.1 kB / 0.7122 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/2.182, allocations: 368.5 kB / 0.7126 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/2.182, allocations: 151 kB / 0.7127 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/2.182, allocations: 413.3 kB / 0.7131 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007719/2.183, allocations: 0.6261 MB / 0.7137 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/2.183, allocations: 2.625 kB / 0.7137 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001462/2.185, allocations: 0.8155 MB / 0.7145 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/2.185, allocations: 9.031 kB / 0.7145 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/2.185, allocations: 8.844 kB / 0.7145 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/2.186, allocations: 0.664 MB / 0.7152 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/2.186, allocations: 61 kB / 0.7152 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/2.188, allocations: 3.357 MB / 0.7185 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/2.189, allocations: 84.88 kB / 0.7186 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/2.189, allocations: 32.86 kB / 0.7186 GB, free: 210.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 26 (sensorT1.C2.b,sensorT1.C1.a,sinkP2.C.a,singularPressureLossVALI3.C2.b,singularPressureLossVALI3.C1.a,sourcePQ.C.b,sensorT.C2.b,sensorT.C1.a,sinkP1.C.a,singularPressureLossVALI2.C2.b,singularPressureLossVALI2.C1.a,singularPressureLossVALI1.C2.b,singularPressureLossVALI1.C1.a,StaticDrumTh1.Ce_sup.a,StaticDrumTh1.Ce_steam.a,StaticDrumTh1.Cs_purg.b,StaticDrumTh1.Cs_sur.b,StaticDrumTh1.Cs_eva.b,StaticDrumTh1.Cs_sup.b,StaticDrumTh1.Ce_eco.a,StaticDrumTh1.Ce_eva.a,StaticDrumTh1.Cs_sup.a,StaticDrumTh1.Cs_eva.a,StaticDrumTh1.Ce_eva.b,StaticDrumTh1.Ce_sup.b,StaticDrumTh1.Ce_steam.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002556/2.189, allocations: 218.5 kB / 0.7188 GB, free: 210 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/2.189, allocations: 61.98 kB / 0.7189 GB, free: 210 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/2.191, allocations: 1.185 MB / 0.7201 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/2.191, allocations: 2.109 kB / 0.7201 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/2.191, allocations: 1.25 kB / 0.7201 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/2.191, allocations: 192 kB / 0.7202 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/2.191, allocations: 10.77 kB / 0.7202 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/2.191, allocations: 9.344 kB / 0.7203 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/2.191, allocations: 20.86 kB / 0.7203 GB, free: 209.7 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 (14): (ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.lsat.P, heatSource.T[1], StaticDrumTh1.lsat.rho, StaticDrumTh1.hl, StaticDrumTh1.lsat.cp, StaticDrumTh1.lsat.pt, StaticDrumTh1.lsat.cv), ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.vsat.P, StaticDrumTh1.vsat.T, StaticDrumTh1.vsat.rho, StaticDrumTh1.hv, StaticDrumTh1.vsat.cp, StaticDrumTh1.vsat.pt, StaticDrumTh1.vsat.cv)) = ThermoSysPro.Properties.WaterSteam.IF97.Water_sat_P(StaticDrumTh1.P) Variables: 1: StaticDrumTh1.hv:VARIABLE(start = 2.8e6 unit = "J/kg" ) "Gas phase specific enthalpy" type: Real 2: StaticDrumTh1.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 3: StaticDrumTh1.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 4: StaticDrumTh1.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 5: StaticDrumTh1.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 6: StaticDrumTh1.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 7: StaticDrumTh1.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 8: StaticDrumTh1.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 9: StaticDrumTh1.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 10: StaticDrumTh1.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 11: StaticDrumTh1.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 12: heatSource.T[1]:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Sink temperature" type: Real [1] 13: StaticDrumTh1.P:VARIABLE(min = 0.0 start = 1e6 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 14: StaticDrumTh1.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): sourcePQ.P0 - StaticDrumTh1.P = singularPressureLossVALI2.deltaP 2/2 (1): singularPressureLossVALI2.deltaP = singularPressureLossVALI2.K * $cse3 / singularPressureLossVALI2.rho 3/3 (10): $cse4 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLossVALI2.Pm, sensorT.h, singularPressureLossVALI2.mode, singularPressureLossVALI2.fluid) 4/13 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLossVALI2.T, singularPressureLossVALI2.rho, singularPressureLossVALI2.pro.u, singularPressureLossVALI2.pro.s, singularPressureLossVALI2.pro.cp, singularPressureLossVALI2.pro.ddhp, singularPressureLossVALI2.pro.ddph, singularPressureLossVALI2.pro.duph, singularPressureLossVALI2.pro.duhp, singularPressureLossVALI2.pro.x) = $cse4 5/23 (1): 0.0 = if sourcePQ.Q0 > 0.0 then sensorT.h - sourcePQ.h0 else sensorT.h - sensorT.C2.h_vol 6/24 (1): 0.0 = if sourcePQ.Q0 > 0.0 then sensorT.h - sensorT.C2.h_vol else sensorT.h - StaticDrumTh1.hl 7/25 (14): (ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.lsat.P, heatSource.T[1], StaticDrumTh1.lsat.rho, StaticDrumTh1.hl, StaticDrumTh1.lsat.cp, StaticDrumTh1.lsat.pt, StaticDrumTh1.lsat.cv), ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(StaticDrumTh1.vsat.P, StaticDrumTh1.vsat.T, StaticDrumTh1.vsat.rho, StaticDrumTh1.hv, StaticDrumTh1.vsat.cp, StaticDrumTh1.vsat.pt, StaticDrumTh1.vsat.cv)) = ThermoSysPro.Properties.WaterSteam.IF97.Water_sat_P(StaticDrumTh1.P) 8/39 (1): singularPressureLossVALI2.Pm = 0.5 * (sourcePQ.P0 + StaticDrumTh1.P) Variables: 1: singularPressureLossVALI2.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 2: StaticDrumTh1.hv:VARIABLE(start = 2.8e6 unit = "J/kg" ) "Gas phase specific enthalpy" type: Real 3: StaticDrumTh1.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 4: StaticDrumTh1.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 5: StaticDrumTh1.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 6: StaticDrumTh1.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 7: StaticDrumTh1.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 8: StaticDrumTh1.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 9: StaticDrumTh1.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 10: StaticDrumTh1.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 11: StaticDrumTh1.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 12: StaticDrumTh1.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 13: heatSource.T[1]:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Sink temperature" type: Real [1] 14: StaticDrumTh1.P:VARIABLE(min = 0.0 start = 1e6 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 15: StaticDrumTh1.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 16: StaticDrumTh1.hl:VARIABLE(start = 1e5 unit = "J/kg" ) "Liquid phase specific enthalpy" type: Real 17: sensorT.C2.h_vol:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy in the control volume" type: Real 18: singularPressureLossVALI2.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 19: singularPressureLossVALI2.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 20: singularPressureLossVALI2.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 21: singularPressureLossVALI2.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 22: singularPressureLossVALI2.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 23: singularPressureLossVALI2.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 24: singularPressureLossVALI2.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 25: $cse4.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse4.u:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse4.duph:VARIABLE(protected = true ) type: Real unreplaceable 28: sensorT.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 29: $cse4.cp:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse4.d:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse4.s:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse4.duhp:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse4.ddph:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse4.T:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse4.x:VARIABLE(protected = true ) type: Real unreplaceable 36: singularPressureLossVALI2.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 37: singularPressureLossVALI2.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 38: singularPressureLossVALI2.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 39: singularPressureLossVALI2.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" 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.001144/2.193, allocations: 0.8559 MB / 0.7211 GB, free: 209.1 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2 could not be translated