Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.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.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8903/0.8903, allocations: 150.9 MB / 167.2 MB, free: 14.67 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 18.56 kB / 237.8 MB, free: 1.668 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05951/0.05988, allocations: 31.35 MB / 269.1 MB, free: 7.051 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestVolumeATh): time 1.749/1.809, allocations: 296.5 MB / 0.5524 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5552/2.364, allocations: 187.2 MB / 0.7352 GB, free: 64 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/2.365, allocations: 6.312 kB / 0.7352 GB, free: 64 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeATh.mo:27:3-29:42:writable] Warning: Connector Ce1 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/Volumes/VolumeATh.mo:30:3-32:37:writable] Warning: Connector Ce2 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/Volumes/VolumeATh.mo:33:3-35:37:writable] Warning: Connector Cs1 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/Volumes/VolumeATh.mo:36:3-38:43:writable] Warning: Connector Cs2 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/PressureLosses/ControlValve.mo:45:3-47: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/PressureLosses/ControlValve.mo:48:3-50: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/PressureLosses/ControlValve.mo:45:3-47: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/PressureLosses/ControlValve.mo:48:3-50: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/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/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42: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/LumpedStraightPipe.mo:51:3-53:37: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.0008242/2.366, allocations: 238.7 kB / 0.7354 GB, free: 64 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008667/2.367, allocations: 331 kB / 0.7358 GB, free: 60 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03015/2.397, allocations: 11.74 MB / 0.7472 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001638/2.398, allocations: 0.9395 MB / 0.7482 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008432/2.399, allocations: 368.6 kB / 0.7485 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/2.401, allocations: 378.4 kB / 0.7489 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/2.402, allocations: 363.8 kB / 0.7492 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003062/2.402, allocations: 54.38 kB / 0.7493 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03764/2.44, allocations: 17.24 MB / 0.7661 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000503/2.44, allocations: 157.5 kB / 0.7663 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009696/2.441, allocations: 388.2 kB / 0.7666 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02649/2.468, allocations: 9.298 MB / 0.7757 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/2.468, allocations: 1.203 kB / 0.7757 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/2.468, allocations: 1.969 kB / 0.7757 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.322e-05/2.468, allocations: 0 / 0.7757 GB, free: 10.69 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006114/2.474, allocations: 2.031 MB / 0.7777 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/2.474, allocations: 7.531 kB / 0.7777 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/2.474, allocations: 85.94 kB / 0.7778 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/2.475, allocations: 418.2 kB / 0.7782 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/2.475, allocations: 44.09 kB / 0.7782 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/2.475, allocations: 58.84 kB / 0.7783 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/2.476, allocations: 0.7458 MB / 0.779 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/2.476, allocations: 2.156 kB / 0.779 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/2.476, allocations: 31.95 kB / 0.779 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/2.476, allocations: 32.45 kB / 0.7791 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008643/2.477, allocations: 484 kB / 0.7795 GB, free: 8.668 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003847/2.481, allocations: 4.527 MB / 0.784 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006772/2.482, allocations: 329.3 kB / 0.7843 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/2.482, allocations: 224.9 kB / 0.7845 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.335/2.817, allocations: 151.4 MB / 0.9323 GB, free: 5.082 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/2.817, allocations: 38.36 kB / 0.9323 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=81): time 2.995e-06/2.817, allocations: 0 / 0.9323 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.00362/2.821, allocations: 1.143 MB / 0.9335 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/2.821, allocations: 83.45 kB / 0.9335 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007707/2.822, allocations: 0.5015 MB / 0.934 GB, free: 3.348 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/2.822, allocations: 29.7 kB / 0.9341 GB, free: 3.312 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000263/2.822, allocations: 318.5 kB / 0.9344 GB, free: 2.996 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/2.822, allocations: 270.5 kB / 0.9346 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/2.822, allocations: 122 kB / 0.9347 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001664/2.823, allocations: 374.8 kB / 0.9351 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/2.823, allocations: 165.4 kB / 0.9353 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/2.823, allocations: 337.6 kB / 0.9356 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/2.824, allocations: 0.5539 MB / 0.9361 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/2.824, allocations: 0 / 0.9361 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001598/2.826, allocations: 0.789 MB / 0.9369 GB, free: 324 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/2.826, allocations: 12.06 kB / 0.9369 GB, free: 312 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/2.826, allocations: 4 kB / 0.9369 GB, free: 308 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/2.829, allocations: 0.7134 MB / 0.9376 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/2.829, allocations: 32.58 kB / 0.9376 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/2.83, allocations: 1.53 MB / 0.9391 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/2.831, allocations: 75.05 kB / 0.9392 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/2.831, allocations: 25.33 kB / 0.9392 GB, free: 13.88 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,sourceP2.C.b,sourceQ.C.b,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,sink.C.a,volumeATh.Cs2.b,volumeATh.Cs1.b,volumeATh.Ce2.a,volumeATh.Ce1.a,volumeATh.Cs2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000332/2.831, allocations: 206.5 kB / 0.9394 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/2.831, allocations: 63.19 kB / 0.9395 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/2.833, allocations: 1.199 MB / 0.9406 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/2.833, allocations: 5.203 kB / 0.9407 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/2.833, allocations: 2.688 kB / 0.9407 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/2.834, allocations: 199.8 kB / 0.9408 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/2.834, allocations: 18 kB / 0.9409 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/2.834, allocations: 11.98 kB / 0.9409 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/2.834, allocations: 31.84 kB / 0.9409 GB, free: 12.13 MB / 0.7794 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(controlValve2.T, controlValve2.rho, controlValve2.pro.u, controlValve2.pro.s, controlValve2.pro.cp, controlValve2.pro.ddhp, controlValve2.pro.ddph, controlValve2.pro.duph, controlValve2.pro.duhp, controlValve2.pro.x) = $cse4 Variables: 1: controlValve2.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 2: controlValve2.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 3: controlValve2.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 4: controlValve2.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 5: controlValve2.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 6: $cse4.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse4.ddph:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse4.s:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse4.T:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse4.x:VARIABLE(protected = true ) type: Real unreplaceable [/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): controlValve2.deltaP * controlValve2.Cv * abs(controlValve2.Cv) = 1.733e12 * $cse5 / controlValve2.rho ^ 2.0 2/2 (1): $cse5 = ThermoSysPro.Functions.ThermoSquare(controlValve2.Q, controlValve2.eps) 3/3 (1): 0.0 = lumpedStraightPipe1.Q + controlValve1.Q - controlValve2.Q 4/4 (1): $cse7 = ThermoSysPro.Functions.ThermoSquare(controlValve1.Q, controlValve1.eps) 5/5 (1): controlValve1.deltaP * controlValve1.Cv * abs(controlValve1.Cv) = 1.733e12 * $cse7 / controlValve1.rho ^ 2.0 6/6 (10): $cse6 = ThermoSysPro.Properties.Fluid.Ph(controlValve1.Pm, controlValve1.h, controlValve1.mode, controlValve1.fluid) 7/16 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(controlValve1.T, controlValve1.rho, controlValve1.pro.u, controlValve1.pro.s, controlValve1.pro.cp, controlValve1.pro.ddhp, controlValve1.pro.ddph, controlValve1.pro.duph, controlValve1.pro.duhp, controlValve1.pro.x) = $cse6 8/26 (1): controlValve1.Pm = 0.5 * (sourceP2.P0 + volumeATh.P) 9/27 (1): controlValve1.deltaP = sourceP2.P0 - volumeATh.P 10/28 (1): controlValve2.deltaP = volumeATh.P - sink.P0 11/29 (1): controlValve2.Pm = 0.5 * (volumeATh.P + sink.P0) 12/30 (10): $cse4 = ThermoSysPro.Properties.Fluid.Ph(controlValve2.Pm, controlValve2.h, controlValve2.mode, controlValve2.fluid) 13/40 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(controlValve2.T, controlValve2.rho, controlValve2.pro.u, controlValve2.pro.s, controlValve2.pro.cp, controlValve2.pro.ddhp, controlValve2.pro.ddph, controlValve2.pro.duph, controlValve2.pro.duhp, controlValve2.pro.x) = $cse4 14/50 (1): 0.0 = if controlValve1.Q > 0.0 then controlValve1.h - sourceP2.h0 else controlValve1.h - volumeATh.h 15/51 (1): 0.0 = if controlValve2.Q > 0.0 then controlValve2.h - volumeATh.h else controlValve2.h - sink.h0 Variables: 1: controlValve2.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 2: controlValve1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 3: controlValve2.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 4: controlValve2.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 5: controlValve2.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 6: controlValve2.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 7: controlValve2.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 8: $cse4.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse4.ddph:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse4.s:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse4.T:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse4.x:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse4.u:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse4.d:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse4.duph:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse4.duhp:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse4.cp:VARIABLE(protected = true ) type: Real unreplaceable 18: controlValve2.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Fluid average pressure" type: Real 19: controlValve2.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 20: controlValve1.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 21: volumeATh.P:VARIABLE(min = 0.0 start = 3e5 unit = "Pa" nominal = 1e5 ) "Fluid pressure" type: Real 22: controlValve1.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 23: controlValve1.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 24: controlValve1.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 25: $cse6.x:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse6.duhp:VARIABLE(protected = true ) type: Real unreplaceable 27: controlValve1.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Fluid average pressure" type: Real 28: $cse6.cp:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse6.s:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse6.duph:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse6.u:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse6.d:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse6.ddph:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse6.T:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse6.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 36: controlValve1.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 37: controlValve1.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 38: controlValve1.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 39: controlValve1.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 40: controlValve1.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 41: controlValve1.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 42: controlValve1.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 43: $cse7:VARIABLE(protected = true ) type: Real unreplaceable 44: controlValve1.Q:VARIABLE(start = 500.0 unit = "kg/s" ) "Mass flow rate" type: Real 45: controlValve2.Q:VARIABLE(start = 500.0 unit = "kg/s" ) "Mass flow rate" type: Real 46: $cse5:VARIABLE(protected = true ) type: Real unreplaceable 47: controlValve2.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 48: controlValve2.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 49: controlValve2.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 50: controlValve2.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 51: controlValve2.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" 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.001466/2.836, allocations: 1.128 MB / 0.942 GB, free: 10.83 MB / 0.7794 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestVolumeATh could not be translated