Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestRefP.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.TestRefP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestRefP") translateModel(ThermoSysPro.Examples.SimpleExamples.TestRefP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestRefP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8251/0.8251, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 20.16 kB / 237.8 MB, free: 1.75 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05835/0.05876, allocations: 31.35 MB / 269.1 MB, free: 7.043 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.TestRefP): time 1.627/1.686, allocations: 295.4 MB / 0.5513 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5538/2.24, allocations: 186.6 MB / 0.7336 GB, free: 404 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/2.24, allocations: 5.25 kB / 0.7336 GB, free: 404 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/RefP.mo:15:3-17: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/BoundaryConditions/RefP.mo:18:3-19:83: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/Machines/StaticCentrifugalPump.mo:60:3-62: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/Machines/StaticCentrifugalPump.mo:63:3-65:37: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/LoopBreakers/LoopBreakerQ.mo:6:3-8: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/LoopBreakers/LoopBreakerQ.mo:9:3-10:83: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/LoopBreakers/LoopBreakerH.mo:7:3-9: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/LoopBreakers/LoopBreakerH.mo:10:3-11:83: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/RefT.mo:18:3-20: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/BoundaryConditions/RefT.mo:21:3-22:83: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/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.0003757/2.24, allocations: 130.1 kB / 0.7337 GB, free: 404 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/2.24, allocations: 151.3 kB / 0.7338 GB, free: 400 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.02554/2.266, allocations: 11.32 MB / 0.7449 GB, free: 168 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006757/2.267, allocations: 0.5555 MB / 0.7454 GB, free: 164 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/2.267, allocations: 283.6 kB / 0.7457 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/2.267, allocations: 234.9 kB / 0.7459 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/2.268, allocations: 237.9 kB / 0.7462 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/2.268, allocations: 44.19 kB / 0.7462 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03234/2.3, allocations: 20.11 MB / 0.7658 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/2.3, allocations: 98.23 kB / 0.7659 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003455/2.3, allocations: 255.2 kB / 0.7662 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02044/2.321, allocations: 9.894 MB / 0.7758 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/2.321, allocations: 1.094 kB / 0.7758 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.572e-06/2.321, allocations: 0 / 0.7758 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.978e-05/2.321, allocations: 0 / 0.7758 GB, free: 10.5 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005159/2.326, allocations: 1.871 MB / 0.7777 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/2.326, allocations: 9.75 kB / 0.7777 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/2.326, allocations: 55.19 kB / 0.7777 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/2.327, allocations: 312.1 kB / 0.778 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/2.327, allocations: 38.75 kB / 0.7781 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/2.327, allocations: 42.69 kB / 0.7781 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000772/2.328, allocations: 0.5263 MB / 0.7786 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/2.328, allocations: 2.875 kB / 0.7786 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/2.328, allocations: 17.41 kB / 0.7786 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/2.328, allocations: 19.95 kB / 0.7787 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/2.328, allocations: 330.9 kB / 0.779 GB, free: 8.734 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.02006/2.348, allocations: 11.96 MB / 0.7907 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/2.349, allocations: 326.7 kB / 0.791 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/2.35, allocations: 138 kB / 0.7911 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2621/2.612, allocations: 118 MB / 0.9063 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/2.612, allocations: 34.31 kB / 0.9064 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 3.165e-06/2.612, allocations: 0 / 0.9064 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.007316/2.619, allocations: 1.496 MB / 0.9078 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/2.619, allocations: 55.41 kB / 0.9079 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/2.62, allocations: 318.8 kB / 0.9082 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/2.62, allocations: 29.39 kB / 0.9082 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/2.62, allocations: 231.9 kB / 0.9084 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/2.62, allocations: 141.9 kB / 0.9086 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/2.62, allocations: 88.89 kB / 0.9086 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001608/2.62, allocations: 352.1 kB / 0.909 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/2.621, allocations: 115.2 kB / 0.9091 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/2.621, allocations: 222.8 kB / 0.9093 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006192/2.622, allocations: 368.9 kB / 0.9097 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/2.622, allocations: 6.156 kB / 0.9097 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00218/2.624, allocations: 0.6746 MB / 0.9103 GB, free: 13 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/2.624, allocations: 8.031 kB / 0.9103 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/2.624, allocations: 4 kB / 0.9103 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/2.626, allocations: 455.9 kB / 0.9108 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/2.626, allocations: 22.23 kB / 0.9108 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/2.627, allocations: 0.8478 MB / 0.9116 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/2.627, allocations: 43.53 kB / 0.9117 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/2.627, allocations: 12 kB / 0.9117 GB, free: 11.61 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,refT.C2.b,refT.C1.a,loopBreakerH.C2.b,loopBreakerH.C1.a,loopBreakerQ.C2.b,loopBreakerQ.C1.a,pump.C2.b,pump.C1.a,refP.C2.b,refP.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(6,33.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.000246/2.627, allocations: 177.2 kB / 0.9118 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/2.627, allocations: 39.47 kB / 0.9119 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/2.629, allocations: 0.7511 MB / 0.9126 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/2.629, allocations: 4 kB / 0.9126 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/2.629, allocations: 0 / 0.9126 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/2.629, allocations: 152.3 kB / 0.9128 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/2.629, allocations: 5.094 kB / 0.9128 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/2.629, allocations: 8 kB / 0.9128 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/2.629, allocations: 31.94 kB / 0.9128 GB, free: 10.42 MB / 0.7481 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(pump.pro.T, pump.rho, pump.pro.u, pump.pro.s, pump.pro.cp, pump.pro.ddhp, pump.pro.ddph, pump.pro.duph, pump.pro.duhp, pump.pro.x) = $cse3 Variables: 1: pump.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 2: pump.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 3: pump.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 4: pump.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 5: pump.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 6: pump.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 7: pump.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 8: pump.pro.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 9: pump.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 10: pump.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" 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 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(lumpedStraightPipe.T, lumpedStraightPipe.rho, lumpedStraightPipe.pro.u, lumpedStraightPipe.pro.s, lumpedStraightPipe.pro.cp, lumpedStraightPipe.pro.ddhp, lumpedStraightPipe.pro.ddph, lumpedStraightPipe.pro.duph, lumpedStraightPipe.pro.duhp, lumpedStraightPipe.pro.x) = $cse1 2/11 (10): $cse1 = ThermoSysPro.Properties.Fluid.Ph(lumpedStraightPipe.Pm, lumpedStraightPipe.h, lumpedStraightPipe.mode, lumpedStraightPipe.fluid) 3/21 (1): lumpedStraightPipe.Pm = 0.5 * (loopBreakerH.C1.P + constante.k) 4/22 (1): pump.deltaP = loopBreakerH.C1.P - constante.k 5/23 (1): pump.deltaP = 9.80665 * pump.rho * pump.hn 6/24 (1): pump.deltaH = 9.80665 * pump.hn / pump.rh 7/25 (1): pump.deltaH = loopBreakerQ.C1.h - lumpedStraightPipe.h 8/26 (1): pump.h = 0.5 * (lumpedStraightPipe.h + loopBreakerQ.C1.h) 9/27 (10): $cse3 = ThermoSysPro.Properties.Fluid.Ph(pump.Pm, pump.h, pump.mode, pump.fluid) 10/37 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(pump.pro.T, pump.rho, pump.pro.u, pump.pro.s, pump.pro.cp, pump.pro.ddhp, pump.pro.ddph, pump.pro.duph, pump.pro.duhp, pump.pro.x) = $cse3 11/47 (1): lumpedStraightPipe.Q = pump.Qv * pump.rho 12/48 (1): $cse2 = ThermoSysPro.Functions.ThermoSquare(lumpedStraightPipe.Q, lumpedStraightPipe.eps) 13/49 (1): lumpedStraightPipe.deltaPf = 0.5 * lumpedStraightPipe.khi * $cse2 / (lumpedStraightPipe.A ^ 2.0 * lumpedStraightPipe.rho) 14/50 (1): lumpedStraightPipe.deltaP = lumpedStraightPipe.deltaPf + 9.80665 * lumpedStraightPipe.rho * (lumpedStraightPipe.z2 - lumpedStraightPipe.z1) 15/51 (1): pump.hn = (pump.a1 * abs(pump.Qv) + pump.a2 * pump.R) * pump.Qv + pump.a3 * pump.R ^ 2.0 16/52 (1): pump.rh = max(if noEvent(abs(pump.R) > pump.eps) then pump.b1 * pump.Qv * abs(pump.Qv) / pump.R ^ 2.0 + pump.b2 * pump.Qv / pump.R + pump.b3 else pump.b3, pump.rhmin) 17/53 (1): pump.Pm = 0.5 * (constante.k + loopBreakerH.C1.P) 18/54 (1): loopBreakerH.C1.P - constante.k = lumpedStraightPipe.deltaP Variables: 1: lumpedStraightPipe.deltaP:VARIABLE(unit = "Pa" ) "Total pressure loss" type: Real 2: pump.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Fluid average pressure" type: Real 3: pump.rh:VARIABLE() "Hydraulic efficiency" type: Real 4: pump.Qv:VARIABLE(start = 0.5 unit = "m3/s" ) "Volume flow rate" type: Real 5: lumpedStraightPipe.rho:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 6: lumpedStraightPipe.deltaPf:VARIABLE(unit = "Pa" ) "Friction pressure loss" type: Real 7: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 8: lumpedStraightPipe.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 9: pump.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 10: pump.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 11: pump.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 12: pump.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 13: pump.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 14: pump.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 15: pump.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 16: pump.pro.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 17: pump.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 18: pump.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 19: $cse3.s:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse3.ddph:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse3.duhp:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse3.cp:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse3.d:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse3.duph:VARIABLE(protected = true ) type: Real unreplaceable 25: $cse3.u:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse3.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse3.x:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse3.T:VARIABLE(protected = true ) type: Real unreplaceable 29: pump.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid average specific enthalpy" type: Real 30: loopBreakerQ.C1.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 31: pump.deltaH:VARIABLE(unit = "J/kg" ) "Specific enthalpy variation between the outlet and the inlet" type: Real 32: pump.hn:VARIABLE(min = 0.0 start = 10.0 unit = "m" ) "Pump head" type: Real 33: pump.deltaP:VARIABLE(unit = "Pa" ) "Pressure variation between the outlet and the inlet" type: Real 34: loopBreakerH.C1.P:VARIABLE(flow=false min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Fluid pressure in the control volume" type: Real 35: $cse1.duph:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse1.x:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse1.cp:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse1.d:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse1.s:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse1.T:VARIABLE(protected = true ) type: Real unreplaceable 41: lumpedStraightPipe.Pm:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Fluid average pressure" type: Real 42: $cse1.duhp:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse1.u:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse1.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 45: $cse1.ddph:VARIABLE(protected = true ) type: Real unreplaceable 46: lumpedStraightPipe.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 47: lumpedStraightPipe.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 48: lumpedStraightPipe.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 49: lumpedStraightPipe.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 50: lumpedStraightPipe.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 51: lumpedStraightPipe.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 52: lumpedStraightPipe.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 53: lumpedStraightPipe.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 54: lumpedStraightPipe.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" 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.002064/2.631, allocations: 1.369 MB / 0.9141 GB, free: 8.879 MB / 0.7481 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestRefP could not be translated