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.8171/0.8171, allocations: 150.9 MB / 167.2 MB, free: 14.29 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 19.25 kB / 237.8 MB, free: 1.82 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04997/0.05034, allocations: 31.35 MB / 269.1 MB, free: 7.02 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.645/1.695, allocations: 296.5 MB / 0.5523 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4999/2.195, allocations: 187.2 MB / 0.7352 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/2.196, allocations: 10.38 kB / 0.7352 GB, free: 120 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.0006055/2.196, allocations: 212.6 kB / 0.7354 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004545/2.197, allocations: 289.5 kB / 0.7356 GB, free: 116 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.029/2.226, allocations: 11.55 MB / 0.7469 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001215/2.227, allocations: 0.9412 MB / 0.7478 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/2.227, allocations: 368 kB / 0.7482 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/2.228, allocations: 369.9 kB / 0.7486 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/2.228, allocations: 367.7 kB / 0.7489 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/2.228, allocations: 61.28 kB / 0.749 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03156/2.26, allocations: 17.23 MB / 0.7658 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004188/2.26, allocations: 153.4 kB / 0.7659 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007289/2.261, allocations: 390.7 kB / 0.7663 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0242/2.285, allocations: 9.295 MB / 0.7754 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/2.285, allocations: 1.203 kB / 0.7754 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/2.285, allocations: 0 / 0.7754 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.329e-05/2.285, allocations: 0 / 0.7754 GB, free: 10.78 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.005852/2.291, allocations: 2.032 MB / 0.7774 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/2.291, allocations: 7.75 kB / 0.7774 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/2.291, allocations: 89.78 kB / 0.7775 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/2.292, allocations: 406.3 kB / 0.7779 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/2.292, allocations: 49.44 kB / 0.7779 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/2.292, allocations: 60.06 kB / 0.778 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009877/2.293, allocations: 0.7482 MB / 0.7787 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/2.293, allocations: 4.531 kB / 0.7787 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/2.293, allocations: 24.62 kB / 0.7787 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/2.293, allocations: 30.88 kB / 0.7787 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/2.294, allocations: 489.3 kB / 0.7792 GB, free: 8.762 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.003358/2.297, allocations: 4.535 MB / 0.7836 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/2.298, allocations: 330.5 kB / 0.784 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/2.298, allocations: 217.5 kB / 0.7842 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3049/2.603, allocations: 151.4 MB / 0.932 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/2.603, allocations: 40.58 kB / 0.932 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=81): time 6.432e-06/2.603, allocations: 3.938 kB / 0.932 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.003156/2.606, allocations: 1.141 MB / 0.9332 GB, free: 4.305 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/2.606, allocations: 81.11 kB / 0.9332 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/2.607, allocations: 0.5002 MB / 0.9337 GB, free: 3.75 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/2.607, allocations: 33.7 kB / 0.9337 GB, free: 3.711 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/2.607, allocations: 316.8 kB / 0.9341 GB, free: 3.398 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/2.608, allocations: 269.4 kB / 0.9343 GB, free: 3.137 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/2.608, allocations: 114 kB / 0.9344 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001695/2.608, allocations: 380 kB / 0.9348 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/2.608, allocations: 165.4 kB / 0.9349 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/2.609, allocations: 338.5 kB / 0.9353 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008151/2.61, allocations: 0.5553 MB / 0.9358 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/2.61, allocations: 4 kB / 0.9358 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001505/2.611, allocations: 0.7845 MB / 0.9366 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/2.611, allocations: 6.062 kB / 0.9366 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/2.611, allocations: 8 kB / 0.9366 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/2.613, allocations: 0.7159 MB / 0.9373 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/2.614, allocations: 41.86 kB / 0.9373 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/2.615, allocations: 1.526 MB / 0.9388 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/2.616, allocations: 71.12 kB / 0.9389 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/2.616, allocations: 28.53 kB / 0.9389 GB, free: 14.29 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.000267/2.616, allocations: 212.8 kB / 0.9391 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/2.616, allocations: 59.19 kB / 0.9392 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/2.618, allocations: 1.194 MB / 0.9403 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/2.618, allocations: 5.078 kB / 0.9403 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/2.618, allocations: 4 kB / 0.9403 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/2.618, allocations: 203.7 kB / 0.9405 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.009e-05/2.618, allocations: 15.84 kB / 0.9406 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/2.619, allocations: 8 kB / 0.9406 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/2.619, allocations: 31.89 kB / 0.9406 GB, free: 12.53 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.001878/2.621, allocations: 1.138 MB / 0.9417 GB, free: 11.23 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