Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.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.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8349/0.8349, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003622, allocations: 21.56 kB / 237.8 MB, free: 1.777 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05652/0.0569, allocations: 31.34 MB / 269.1 MB, free: 7.055 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.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1): time 1.665/1.722, allocations: 299.1 MB / 0.5549 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5384/2.26, allocations: 207.8 MB / 0.7578 GB, free: 396 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009959/2.261, allocations: 22.81 kB / 0.7579 GB, free: 396 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:65:3-66:54:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:67:3-68:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:72:3-76:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleDynamicCondenser.mo:119:3-120:52:writable] Warning: Connector Cv is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleDynamicCondenser.mo:121:3-122:53:writable] Warning: Connector Cl is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleDynamicCondenser.mo:129:3-130:55:writable] Warning: Connector Cee is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleDynamicCondenser.mo:131:3-132:53:writable] Warning: Connector Cse is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeATh.mo:104:3-105:67:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeATh.mo:106:3-108:57:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeATh.mo:109:3-110:73:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeATh.mo:111:3-112:75:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0008883/2.262, allocations: 341.9 kB / 0.7582 GB, free: 392 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/2.263, allocations: 0.524 MB / 0.7587 GB, free: 380 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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:1445:9-1445:35:writable] Warning: h 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_Ps.mo:71:3-71: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_Ps.mo:71:3-71: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. Notification: Performance of NFTyping.typeClassSections: time 0.04669/2.31, allocations: 17.33 MB / 0.7756 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00299/2.313, allocations: 2.048 MB / 0.7776 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/2.314, allocations: 0.8429 MB / 0.7785 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/2.315, allocations: 0.8104 MB / 0.7792 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008239/2.316, allocations: 0.7724 MB / 0.78 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/2.316, allocations: 146.2 kB / 0.7801 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05849/2.375, allocations: 29.02 MB / 0.8085 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006452/2.375, allocations: 364.6 kB / 0.8088 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/2.377, allocations: 0.8223 MB / 0.8096 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.04444/2.421, allocations: 15.33 MB / 0.8246 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/2.421, allocations: 0 / 0.8246 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.643e-06/2.421, allocations: 0 / 0.8246 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.496e-05/2.421, allocations: 0 / 0.8246 GB, free: 2.824 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.009825/2.431, allocations: 3.607 MB / 0.8281 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/2.431, allocations: 8.031 kB / 0.8281 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/2.432, allocations: 173.9 kB / 0.8283 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/2.433, allocations: 0.7006 MB / 0.829 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/2.433, allocations: 164.8 kB / 0.8291 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/2.433, allocations: 136 kB / 0.8293 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/2.436, allocations: 1.718 MB / 0.8309 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/2.436, allocations: 7.938 kB / 0.8309 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/2.436, allocations: 56 kB / 0.831 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/2.436, allocations: 55.97 kB / 0.8311 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/2.438, allocations: 1.332 MB / 0.8324 GB, free: 10.64 MB / 0.6387 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.0171/2.456, allocations: 13.25 MB / 0.8453 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/2.457, allocations: 0.808 MB / 0.8461 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009035/2.458, allocations: 0.5401 MB / 0.8466 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8775/3.335, allocations: 378.2 MB / 1.216 GB, free: 240.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/3.336, allocations: 42.81 kB / 1.216 GB, free: 240.6 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=146): time 4.098e-06/3.336, allocations: 0.5156 kB / 1.216 GB, free: 240.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=147): time 0.01217/3.348, allocations: 4.9 MB / 1.221 GB, free: 236.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/3.348, allocations: 59.95 kB / 1.221 GB, free: 236.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/3.348, allocations: 0.8246 MB / 1.222 GB, free: 236 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/3.349, allocations: 37.58 kB / 1.222 GB, free: 235.9 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Thermal/BoundaryConditions/HeatSource.mo:5:3-6:72:writable] Warning: The parameter heatSource.W0[1] has fixed = false and a binding equation heatSource.W0[1] = 2e6, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:24:3-25:69:writable] Warning: The parameter staticCentrifugalPump.a1 has fixed = false and a binding equation staticCentrifugalPump.a1 = -88.67, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. Notification: Performance of collectInitialEqns (initialization): time 0.0002859/3.349, allocations: 0.6592 MB / 1.222 GB, free: 235.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/3.349, allocations: 499.4 kB / 1.223 GB, free: 235 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/3.349, allocations: 308.4 kB / 1.223 GB, free: 234.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/3.349, allocations: 344.1 kB / 1.223 GB, free: 234.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/3.35, allocations: 481.3 kB / 1.224 GB, free: 234.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009241/3.351, allocations: 1.024 MB / 1.225 GB, free: 233.1 MB / 0.8262 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/3.362, allocations: 4.683 MB / 1.229 GB, free: 228.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/3.362, allocations: 8 kB / 1.229 GB, free: 228.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.003663/3.365, allocations: 2.126 MB / 1.231 GB, free: 226.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/3.365, allocations: 12 kB / 1.231 GB, free: 226.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/3.365, allocations: 21.31 kB / 1.232 GB, free: 226.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/3.368, allocations: 1.052 MB / 1.233 GB, free: 225.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/3.369, allocations: 215.6 kB / 1.233 GB, free: 225.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/3.373, allocations: 4.873 MB / 1.238 GB, free: 220 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/3.374, allocations: 59.97 kB / 1.238 GB, free: 219.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/3.374, allocations: 64.56 kB / 1.238 GB, free: 219.8 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volumeA.P = $START.volumeA.P stodolaTurbine.proe.x = $START.stodolaTurbine.proe.x. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 24 (volumeA.fluid1,sourcePCaloporteur.fluid1,volumeA.Cs2.ftype,volumeA.Cs1.ftype,volumeA.Ce1.ftype,Condenseur.Cl.ftype,volumeA.fluids[1],sourcePCaloporteur.C.ftype,staticCentrifugalPump.fluid,stodolaTurbine.fluid,Condenseur.fluid_p,puitsPCaloporteur.fluid,volumeA.Cs2.diff_on_1,Condenseur.Cv.diff_on_1,volumeA.Cs1.diff_on_1,volumeA.Ce2.diff_on_2,Condenseur.Cl.diff_on_2,volumeA.Ce1.diff_on_2,volumeA.Cs1.diff_on_2,volumeA.Ce1.diff_on_1,Condenseur.Cl.diff_on_1,staticCentrifugalPump.C2.diff_on_1,Condenseur.Cv.diff_on_2,volumeA.Cs2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,1,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,2), (1,2), (5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004762/3.375, allocations: 330.5 kB / 1.238 GB, free: 219.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/3.375, allocations: 114.5 kB / 1.238 GB, free: 219.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/3.378, allocations: 2.229 MB / 1.24 GB, free: 217.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/3.378, allocations: 7.922 kB / 1.24 GB, free: 217.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/3.378, allocations: 4.5 kB / 1.24 GB, free: 217.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/3.379, allocations: 283.1 kB / 1.241 GB, free: 216.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/3.379, allocations: 15.98 kB / 1.241 GB, free: 216.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/3.379, allocations: 29.48 kB / 1.241 GB, free: 216.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/3.379, allocations: 52.48 kB / 1.241 GB, free: 216.8 MB / 0.8262 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(stodolaTurbine.Te, stodolaTurbine.proe.d, stodolaTurbine.proe.u, stodolaTurbine.proe.s, stodolaTurbine.proe.cp, stodolaTurbine.proe.ddhp, stodolaTurbine.proe.ddph, stodolaTurbine.proe.duph, stodolaTurbine.proe.duhp, stodolaTurbine.proe.x) = $cse1 Variables: 1: volumeA.P:VARIABLE(min = 0.0 start = 7e5 unit = "Pa" fixed = true nominal = 1e5 ) "Fluid pressure" type: Real 2: $cse1.T:VARIABLE(protected = true ) type: Real unreplaceable 3: volumeA.Cs2.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 4: volumeA.h:VARIABLE(start = 2e6 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 5: Condenseur.Cl.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 6: Condenseur.prod.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 7: Condenseur.prod.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 8: Condenseur.prod.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 9: Condenseur.prod.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 10: Condenseur.prod.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" 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): staticCentrifugalPump.deltaP = volumeA.P - Condenseur.Pfond 2/2 (1): Condenseur.Cl.h = ThermoSysPro.Functions.SmoothCond(staticCentrifugalPump.Q / Condenseur.gamma0, Condenseur.hl, volumeA.h, 1.0) 3/3 (1): volumeA.Cs2.h = if staticCentrifugalPump.Q > 0.0 then volumeA.h else Condenseur.hv 4/4 (10): $cse1 = ThermoSysPro.Properties.Fluid.Ph(volumeA.P, volumeA.Cs2.h, stodolaTurbine.mode_e, stodolaTurbine.fluid) 5/14 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(stodolaTurbine.Te, stodolaTurbine.proe.d, stodolaTurbine.proe.u, stodolaTurbine.proe.s, stodolaTurbine.proe.cp, stodolaTurbine.proe.ddhp, stodolaTurbine.proe.ddph, stodolaTurbine.proe.duph, stodolaTurbine.proe.duhp, stodolaTurbine.proe.x) = $cse1 6/24 (1): staticCentrifugalPump.Q = if noEvent(volumeA.P > stodolaTurbine.pcrit) or noEvent(stodolaTurbine.Te > stodolaTurbine.Tcrit) then sqrt((volumeA.P ^ 2.0 - Condenseur.P ^ 2.0) / (stodolaTurbine.Cst * stodolaTurbine.Te)) else sqrt((volumeA.P ^ 2.0 - Condenseur.P ^ 2.0) / (stodolaTurbine.Cst * stodolaTurbine.Te * stodolaTurbine.proe.x)) 7/25 (1): staticCentrifugalPump.Pm = 0.5 * (Condenseur.Pfond + volumeA.P) 8/26 (1): staticCentrifugalPump.rho = ThermoSysPro.Properties.Fluid.Density_Ph(staticCentrifugalPump.Pm, staticCentrifugalPump.h, staticCentrifugalPump.fluid, staticCentrifugalPump.mode, 0.0, 1.0, 0.0, 0.0) 9/27 (1): staticCentrifugalPump.Q = staticCentrifugalPump.Qv * staticCentrifugalPump.rho 10/28 (1): staticCentrifugalPump.rh = max(if noEvent(abs(staticCentrifugalPump.R) > staticCentrifugalPump.eps) then staticCentrifugalPump.b1 * staticCentrifugalPump.Qv * abs(staticCentrifugalPump.Qv) / staticCentrifugalPump.R ^ 2.0 + staticCentrifugalPump.b2 * staticCentrifugalPump.Qv / staticCentrifugalPump.R + staticCentrifugalPump.b3 else staticCentrifugalPump.b3, staticCentrifugalPump.rhmin) 11/29 (1): staticCentrifugalPump.deltaH = 9.80665 * staticCentrifugalPump.hn / staticCentrifugalPump.rh 12/30 (1): staticCentrifugalPump.deltaH = staticCentrifugalPump.C2.h - Condenseur.Cl.h 13/31 (1): 0.0 = staticCentrifugalPump.Q * (-2.501569e6 + staticCentrifugalPump.C2.h) + heatSource.W0[1] - staticCentrifugalPump.Q * volumeA.Cs2.h 14/32 (1): staticCentrifugalPump.h = 0.5 * (Condenseur.Cl.h + staticCentrifugalPump.C2.h) 15/33 (1): staticCentrifugalPump.hn = (staticCentrifugalPump.a1 * abs(staticCentrifugalPump.Qv) + staticCentrifugalPump.a2 * staticCentrifugalPump.R) * staticCentrifugalPump.Qv + staticCentrifugalPump.a3 * staticCentrifugalPump.R ^ 2.0 16/34 (1): staticCentrifugalPump.deltaP = 9.80665 * staticCentrifugalPump.rho * staticCentrifugalPump.hn 17/35 (10): Condenseur.prod = ThermoSysPro.Properties.Fluid.Ph(Condenseur.Pfond, Condenseur.Cl.h, 0, Condenseur.fluid_c) 18/45 (1): Condenseur.Pfond = if Condenseur.gravity_pressure then Condenseur.P + Condenseur.prod.d * 9.80665 * Condenseur.Vl / Condenseur.A else Condenseur.P Variables: 1: Condenseur.prod.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 2: Condenseur.prod.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 3: staticCentrifugalPump.deltaP:VARIABLE(unit = "Pa" ) "Pressure variation between the outlet and the inlet" type: Real 4: staticCentrifugalPump.hn:VARIABLE(min = 0.0 start = 71.08245675235786 unit = "m" fixed = false ) "Pump head" type: Real 5: staticCentrifugalPump.h:VARIABLE(start = 193554.9971298399 unit = "J/kg" ) "Fluid average specific enthalpy" type: Real 6: staticCentrifugalPump.Q:VARIABLE(start = 500.0 unit = "kg/s" fixed = false ) "Mass flow rate" type: Real 7: staticCentrifugalPump.C2.h:VARIABLE(flow=false start = 195297.69906611618 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 8: staticCentrifugalPump.deltaH:VARIABLE(unit = "J/kg" ) "Specific enthalpy variation between the outlet and the inlet" type: Real 9: staticCentrifugalPump.rh:VARIABLE() "Hydraulic efficiency" type: Real 10: staticCentrifugalPump.Qv:VARIABLE(start = 0.009081311621074862 unit = "m3/s" ) "Volume flow rate" type: Real 11: staticCentrifugalPump.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 12: staticCentrifugalPump.Pm:VARIABLE(min = 0.0 start = 355000.00000015664 unit = "Pa" nominal = 1e5 ) "Fluid average pressure" type: Real 13: stodolaTurbine.Te:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature at the inlet" type: Real 14: $cse1.duph:VARIABLE(protected = true ) type: Real unreplaceable 15: stodolaTurbine.proe.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 16: stodolaTurbine.proe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 17: stodolaTurbine.proe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 18: stodolaTurbine.proe.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 19: stodolaTurbine.proe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 20: stodolaTurbine.proe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 21: stodolaTurbine.proe.x:VARIABLE(min = 0.0 max = 1.0 start = 1.0 unit = "1" fixed = true ) "Vapor mass fraction" type: Real 22: stodolaTurbine.proe.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 23: stodolaTurbine.proe.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 24: $cse1.cp:VARIABLE(protected = true ) type: Real unreplaceable 25: $cse1.ddph:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse1.u:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse1.duhp:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse1.s:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse1.d:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse1.x:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse1.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 32: volumeA.P:VARIABLE(min = 0.0 start = 7e5 unit = "Pa" fixed = true nominal = 1e5 ) "Fluid pressure" type: Real 33: $cse1.T:VARIABLE(protected = true ) type: Real unreplaceable 34: volumeA.Cs2.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 35: volumeA.h:VARIABLE(start = 2e6 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 36: Condenseur.Cl.h:VARIABLE(flow=false start = 1e5 unit = "J/kg" ) "Specific enthalpy of the fluid crossing the boundary of the control volume" type: Real 37: Condenseur.prod.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 38: Condenseur.prod.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 39: Condenseur.prod.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 40: Condenseur.prod.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 41: Condenseur.prod.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 42: Condenseur.prod.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 43: Condenseur.prod.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 44: Condenseur.prod.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 45: Condenseur.Pfond:VARIABLE(min = 0.0 start = 1e4 unit = "Pa" nominal = 1e5 ) "Fluid pressure at the bottom of the cavity" 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.002185/3.382, allocations: 1.543 MB / 1.242 GB, free: 215 MB / 0.8262 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1 could not be translated