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.8348/0.8348, allocations: 150.9 MB / 167.2 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 16.58 kB / 237.8 MB, free: 1.758 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05983/0.06021, allocations: 31.34 MB / 269.1 MB, free: 7.047 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.637/1.697, allocations: 296.7 MB / 0.5526 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03951/1.737, allocations: 32.86 MB / 0.5847 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005754/1.737, allocations: 8 kB / 0.5847 GB, free: 10.23 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.000946/1.738, allocations: 220.8 kB / 0.5849 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009722/1.739, allocations: 269.7 kB / 0.5851 GB, free: 9.754 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.02326/1.762, allocations: 8.809 MB / 0.5937 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/1.764, allocations: 0.9565 MB / 0.5947 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006363/1.765, allocations: 399.5 kB / 0.5951 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006022/1.765, allocations: 378.5 kB / 0.5954 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/1.766, allocations: 350.3 kB / 0.5957 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/1.766, allocations: 64 kB / 0.5958 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02906/1.795, allocations: 15.89 MB / 0.6113 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002198/1.795, allocations: 155.4 kB / 0.6115 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004745/1.796, allocations: 413.9 kB / 0.6119 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01773/1.813, allocations: 8.417 MB / 0.6201 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.813, allocations: 0 / 0.6201 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/1.813, allocations: 0 / 0.6201 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.276e-05/1.814, allocations: 0 / 0.6201 GB, free: 5.883 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.004711/1.818, allocations: 1.825 MB / 0.6219 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.818, allocations: 11.97 kB / 0.6219 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/1.818, allocations: 102.8 kB / 0.622 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/1.819, allocations: 358.7 kB / 0.6223 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/1.819, allocations: 58 kB / 0.6224 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/1.819, allocations: 68 kB / 0.6224 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/1.82, allocations: 0.9276 MB / 0.6233 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.82, allocations: 3.938 kB / 0.6234 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/1.82, allocations: 32 kB / 0.6234 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/1.82, allocations: 27.98 kB / 0.6234 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/1.821, allocations: 0.5247 MB / 0.6239 GB, free: 1.773 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.004918/1.826, allocations: 6.045 MB / 0.6298 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/1.827, allocations: 291.5 kB / 0.6301 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/1.827, allocations: 190.1 kB / 0.6303 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1673/1.994, allocations: 80.97 MB / 0.7094 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.994, allocations: 30.56 kB / 0.7094 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.196e-06/1.994, allocations: 0 / 0.7094 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.1929/2.187, allocations: 1.197 MB / 0.7106 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/2.187, allocations: 57.19 kB / 0.7106 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/2.188, allocations: 438.4 kB / 0.711 GB, free: 215 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/2.188, allocations: 28.52 kB / 0.7111 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/2.188, allocations: 335.9 kB / 0.7114 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/2.188, allocations: 268.2 kB / 0.7116 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/2.188, allocations: 142.5 kB / 0.7118 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.536e-05/2.188, allocations: 365.8 kB / 0.7121 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/2.189, allocations: 151 kB / 0.7123 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/2.189, allocations: 408.5 kB / 0.7126 GB, free: 214 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/2.19, allocations: 0.6273 MB / 0.7133 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/2.19, allocations: 2.719 kB / 0.7133 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001375/2.191, allocations: 0.8191 MB / 0.7141 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/2.191, allocations: 11.08 kB / 0.7141 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/2.191, allocations: 8.5 kB / 0.7141 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/2.192, allocations: 0.6558 MB / 0.7147 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/2.193, allocations: 61.77 kB / 0.7148 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/2.195, allocations: 3.356 MB / 0.7181 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/2.195, allocations: 86.56 kB / 0.7181 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/2.195, allocations: 30.97 kB / 0.7182 GB, free: 210.6 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.0002654/2.196, allocations: 228 kB / 0.7184 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/2.196, allocations: 52.78 kB / 0.7184 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/2.197, allocations: 1.176 MB / 0.7196 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/2.197, allocations: 7.141 kB / 0.7196 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/2.197, allocations: 0 / 0.7196 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/2.198, allocations: 196.1 kB / 0.7198 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/2.198, allocations: 5.75 kB / 0.7198 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/2.198, allocations: 1.469 kB / 0.7198 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/2.198, allocations: 21.98 kB / 0.7198 GB, free: 210.1 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.001098/2.199, allocations: 0.8522 MB / 0.7206 GB, free: 209.5 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