Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.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.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8299/0.8299, allocations: 150.9 MB / 167.2 MB, free: 14.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 19 kB / 237.7 MB, free: 1.832 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04893/0.04928, allocations: 31.34 MB / 269.1 MB, free: 7.105 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.Book.SimpleExamples.HeatExchanger.TestStaticCondenser): time 1.679/1.729, allocations: 300 MB / 0.5558 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.588/2.317, allocations: 192.6 MB / 0.7439 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/2.318, allocations: 31.94 kB / 0.7439 GB, free: 1.719 MB / 0.5919 GB [/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/SourceP.mo:58:3-59: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/PressureLosses/SingularPressureLoss.mo:27:3-28: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/PressureLosses/SingularPressureLoss.mo:29:3-30: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/PressureLosses/SingularPressureLoss.mo:27:3-28: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/PressureLosses/SingularPressureLoss.mo:29:3-30: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/PressureLosses/SingularPressureLoss.mo:27:3-28: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/PressureLosses/SingularPressureLoss.mo:29:3-30: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/BoundaryConditions/Sink.mo:39:3-40: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/PressureLosses/SingularPressureLoss.mo:27:3-28: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/PressureLosses/SingularPressureLoss.mo:29:3-30: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/PressureLosses/SingularPressureLoss.mo:27:3-28: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/PressureLosses/SingularPressureLoss.mo:29:3-30: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/HeatExchangers/StaticCondenser.mo:100:3-102:24: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/StaticCondenser.mo:103:3-105:38: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/HeatExchangers/StaticCondenser.mo:106:3-108:66:writable] Warning: Connector Cex 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/StaticCondenser.mo:109:3-110:83:writable] Warning: Connector Cvt 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/StaticCondenser.mo:130:3-131:83:writable] Warning: Connector Cep 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/StaticCondenser.mo:133:3-135:17:writable] Warning: Connector Cev 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/PressureLosses/SingularPressureLoss.mo:27:3-28: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/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 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.0009204/2.319, allocations: 329.1 kB / 0.7442 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/2.321, allocations: 0.6314 MB / 0.7449 GB, free: 1.711 MB / 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. Notification: Performance of NFTyping.typeClassSections: time 0.03585/2.356, allocations: 12.62 MB / 0.7572 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003136/2.36, allocations: 2.183 MB / 0.7593 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/2.361, allocations: 1.174 MB / 0.7605 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/2.362, allocations: 0.8951 MB / 0.7613 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008159/2.363, allocations: 0.9418 MB / 0.7623 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002047/2.363, allocations: 189.9 kB / 0.7624 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0452/2.408, allocations: 21.6 MB / 0.7835 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009241/2.409, allocations: 431.7 kB / 0.7839 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001643/2.411, allocations: 1.016 MB / 0.7849 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03881/2.45, allocations: 12.24 MB / 0.7969 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/2.45, allocations: 0 / 0.7969 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.774e-06/2.45, allocations: 0.875 kB / 0.7969 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001148/2.45, allocations: 2.344 kB / 0.7969 GB, free: 8.188 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.009318/2.459, allocations: 3.27 MB / 0.8001 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/2.459, allocations: 16.83 kB / 0.8001 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006982/2.46, allocations: 225.4 kB / 0.8003 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/2.462, allocations: 0.8456 MB / 0.8011 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/2.462, allocations: 143.8 kB / 0.8013 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/2.462, allocations: 185 kB / 0.8014 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/2.465, allocations: 1.931 MB / 0.8033 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.979e-05/2.465, allocations: 12 kB / 0.8033 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/2.466, allocations: 76 kB / 0.8034 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/2.466, allocations: 59.98 kB / 0.8035 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/2.468, allocations: 1.305 MB / 0.8047 GB, free: 1.074 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.2159/2.684, allocations: 103.2 MB / 0.9055 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/2.685, allocations: 0.6634 MB / 0.9062 GB, free: 476 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/2.685, allocations: 322.6 kB / 0.9065 GB, free: 136 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8298/3.515, allocations: 241.3 MB / 1.142 GB, free: 116.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/3.515, allocations: 53.89 kB / 1.142 GB, free: 116.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=97): time 3.106e-06/3.515, allocations: 0 / 1.142 GB, free: 116.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=97): time 0.008918/3.524, allocations: 2.696 MB / 1.145 GB, free: 114 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/3.524, allocations: 166.5 kB / 1.145 GB, free: 113.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/3.526, allocations: 0.9548 MB / 1.146 GB, free: 113.1 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/3.526, allocations: 36.08 kB / 1.146 GB, free: 113.1 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:8:3-8:64:writable] Warning: The parameter Puit_condenseur.P0 has fixed = false and a binding equation Puit_condenseur.P0 = 1e5, 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.0004982/3.526, allocations: 0.8431 MB / 1.147 GB, free: 112.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/3.527, allocations: 342.4 kB / 1.147 GB, free: 112.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/3.527, allocations: 329.1 kB / 1.147 GB, free: 112 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/3.527, allocations: 357.7 kB / 1.148 GB, free: 111.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/3.528, allocations: 348.1 kB / 1.148 GB, free: 111.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/3.528, allocations: 0.8816 MB / 1.149 GB, free: 110.5 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.007413/3.536, allocations: 2.873 MB / 1.152 GB, free: 108.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/3.536, allocations: 4 kB / 1.152 GB, free: 108.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003933/3.54, allocations: 1.953 MB / 1.154 GB, free: 106.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/3.54, allocations: 13 kB / 1.154 GB, free: 106.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.384e-05/3.54, allocations: 23.61 kB / 1.154 GB, free: 106.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/3.543, allocations: 1.025 MB / 1.155 GB, free: 105.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/3.543, allocations: 215.3 kB / 1.155 GB, free: 105.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/3.545, allocations: 4.379 MB / 1.159 GB, free: 101.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/3.546, allocations: 182.5 kB / 1.159 GB, free: 101.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.92e-05/3.547, allocations: 74.98 kB / 1.159 GB, free: 101.1 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Source_condenseur.P = $START.Source_condenseur.P. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 35 (Source_condenseur.C.ftype,condenseur.Cex.ftype,sourceP2.C.ftype,sourceP1.C.ftype,sourceP.C.ftype,condenseur.fluids[1],Puit_condenseur.fluid,singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,condenseur.fluid_p,singularPressureLoss2.fluid,Source_condenseur.fluid1,sourceP2.fluid1,sourceP1.fluid1,sourceP.fluid1,condenseur.Cee.diff_on_2,Source_condenseur.C.diff_on_2,condenseur.Cse.diff_on_1,singularPressureLoss4.C2.diff_on_1,condenseur.Cex.diff_on_1,singularPressureLoss5.C2.diff_on_1,condenseur.Cep.diff_on_2,sourceP2.C.diff_on_2,condenseur.Cev.diff_on_2,sourceP1.C.diff_on_2,condenseur.Cvt.diff_on_2,sourceP.C.diff_on_2,condenseur.Cex.diff_on_2,singularPressureLoss3.C2.diff_on_1,singularPressureLoss1.C2.diff_on_1,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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): 7 systems {(1,3), (1,3), (1,3), (1,3), (1,1), (1,3), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.000535/3.547, allocations: 354.2 kB / 1.16 GB, free: 100.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/3.547, allocations: 110.6 kB / 1.16 GB, free: 100.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/3.55, allocations: 1.517 MB / 1.161 GB, free: 99.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/3.55, allocations: 17 kB / 1.161 GB, free: 99.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/3.55, allocations: 6.5 kB / 1.161 GB, free: 99.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/3.55, allocations: 266.9 kB / 1.162 GB, free: 99.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/3.55, allocations: 10.94 kB / 1.162 GB, free: 99.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/3.551, allocations: 14.86 kB / 1.162 GB, free: 99.49 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/3.551, allocations: 51.48 kB / 1.162 GB, free: 99.45 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(condenseur.Tee, condenseur.rho_ee, condenseur.proee.u, condenseur.proee.s, condenseur.proee.cp, condenseur.proee.ddhp, condenseur.proee.ddph, condenseur.proee.duph, condenseur.proee.duhp, condenseur.proee.x) = $cse8 Variables: 1: condenseur.proee.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 2: condenseur.proee.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 3: condenseur.proee.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 4: condenseur.Tee:VARIABLE(min = 200.0 max = 6000.0 start = 300.0 unit = "K" nominal = 300.0 ) "Cooling water temperature at the inlet" type: Real 5: condenseur.proee.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 6: condenseur.proee.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 7: condenseur.proee.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 8: condenseur.proee.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 9: $cse8.u:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse8.cp: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): condenseur.Hvt = if condenseur.Qvt > 0.0 then 2.2751e6 else condenseur.Hsate 2/2 (1): singularPressureLoss3.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss3.Pm, condenseur.Hvt, singularPressureLoss3.fluid, singularPressureLoss3.mode, 0.0, 0.0, 0.0, 0.0) 3/3 (1): singularPressureLoss3.deltaP = singularPressureLoss3.K * $cse3 / singularPressureLoss3.rho 4/4 (1): $cse3 = ThermoSysPro.Functions.ThermoSquare(condenseur.Qvt, singularPressureLoss3.eps) 5/5 (1): 0.0 = condenseur.Qvt * condenseur.Hvt + condenseur.Qev * condenseur.Hev + condenseur.Qep * condenseur.Hep + (-condenseur.W) - condenseur.Qex * condenseur.Hex 6/6 (1): $cse7 = exp(condenseur.XKCO * condenseur.SCO * (condenseur.Tee - condenseur.Tse) / condenseur.W) 7/7 (1): 0.0 = condenseur.Tsat + (condenseur.Tee - condenseur.Tsat) * $cse7 - condenseur.Tse 8/8 (1): condenseur.Pcond = ThermoSysPro.Properties.Fluid.P_sat(condenseur.Tsat, condenseur.fluid) 9/9 (14): (ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(condenseur.lsat1.P, condenseur.lsat1.T, condenseur.lsat1.rho, condenseur.Hsate, condenseur.lsat1.cp, condenseur.lsat1.pt, condenseur.lsat1.cv), condenseur.vsat1) = ThermoSysPro.Properties.Fluid.Water_sat_P(condenseur.Pcond, condenseur.fluid) 10/23 (1): condenseur.Hex = if condenseur.Qex > 0.0 then condenseur.Hsate else 1e5 11/24 (1): condenseur.Hep = if condenseur.Qep > 0.0 then 2.5055e6 else condenseur.Hsate 12/25 (1): singularPressureLoss1.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss1.Pm, condenseur.Hep, singularPressureLoss1.fluid, singularPressureLoss1.mode, 0.0, 0.0, 0.0, 0.0) 13/26 (1): singularPressureLoss1.deltaP = singularPressureLoss1.K * $cse2 / singularPressureLoss1.rho 14/27 (1): $cse2 = ThermoSysPro.Functions.ThermoSquare(condenseur.Qep, singularPressureLoss1.eps) 15/28 (1): 0.0 = condenseur.Qvt + condenseur.Qev + condenseur.Qep - condenseur.Qex 16/29 (1): condenseur.Hev = if condenseur.Qev > 0.0 then 2.5481e6 else condenseur.Hsate 17/30 (1): singularPressureLoss.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss.Pm, condenseur.Hev, singularPressureLoss.fluid, singularPressureLoss.mode, 0.0, 0.0, 0.0, 0.0) 18/31 (1): singularPressureLoss.deltaP = singularPressureLoss.K * $cse1 / singularPressureLoss.rho 19/32 (1): $cse1 = ThermoSysPro.Functions.ThermoSquare(condenseur.Qev, singularPressureLoss.eps) 20/33 (1): singularPressureLoss3.Pm = 0.5 * (sourceP.P0 + condenseur.Pcond) 21/34 (1): singularPressureLoss3.deltaP = sourceP.P0 - condenseur.Pcond 22/35 (1): singularPressureLoss1.Pm = 0.5 * (sourceP2.P0 + condenseur.Pcond) 23/36 (1): singularPressureLoss1.deltaP = sourceP2.P0 - condenseur.Pcond 24/37 (1): singularPressureLoss.Pm = 0.5 * (sourceP1.P0 + condenseur.Pcond) 25/38 (1): singularPressureLoss.deltaP = sourceP1.P0 - condenseur.Pcond 26/39 (1): condenseur.W = Source_condenseur.Q0 * (condenseur.Hse - singularPressureLoss2.h) 27/40 (1): singularPressureLoss4.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss4.Pm, condenseur.Hse, singularPressureLoss4.fluid, singularPressureLoss4.mode, 0.0, 0.0, 0.0, 0.0) 28/41 (1): singularPressureLoss4.deltaP = singularPressureLoss4.K * $cse4 / singularPressureLoss4.rho 29/42 (1): singularPressureLoss4.deltaP = condenseur.Pse - Puit_condenseur.P0 30/43 (10): $cse10 = ThermoSysPro.Properties.Fluid.Ph(condenseur.Pse, condenseur.Hse, condenseur.mode_se, condenseur.fluid_p) 31/53 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(condenseur.Tse, condenseur.prose.d, condenseur.prose.u, condenseur.prose.s, condenseur.prose.cp, condenseur.prose.ddhp, condenseur.prose.ddph, condenseur.prose.duph, condenseur.prose.duhp, condenseur.prose.x) = $cse10 32/63 (1): condenseur.Pse = if noEvent(condenseur.rho_ee > 0.0) then condenseur.Pee - condenseur.CPCE * ThermoSysPro.Functions.ThermoSquare(Source_condenseur.Q0, condenseur.eps) / condenseur.rho_ee else condenseur.Pee 33/64 (10): $cse8 = ThermoSysPro.Properties.Fluid.Ph(condenseur.Pee, singularPressureLoss2.h, condenseur.mode_ee, condenseur.fluid_p) 34/74 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(condenseur.Tee, condenseur.rho_ee, condenseur.proee.u, condenseur.proee.s, condenseur.proee.cp, condenseur.proee.ddhp, condenseur.proee.ddph, condenseur.proee.duph, condenseur.proee.duhp, condenseur.proee.x) = $cse8 35/84 (1): condenseur.KT2 = 52.0 + 3.3 * (-273.16 + condenseur.Tee) + (-0.05) * (-273.16 + condenseur.Tee) ^ 2.0 36/85 (1): condenseur.XKCO = condenseur.KCO * condenseur.COP * condenseur.KT2 * $cse6 / (condenseur.COPR * condenseur.KT1) 37/86 (1): singularPressureLoss4.Pm = 0.5 * (condenseur.Pse + Puit_condenseur.P0) Variables: 1: singularPressureLoss4.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 2: condenseur.XKCO:VARIABLE(start = 200.0 unit = "W/(m2.K)" ) "Heat transfer coefficient" type: Real 3: condenseur.KT2:VARIABLE(start = 50.0 unit = "W/(m2.K)" ) "Second reference value for the exchange coefficient" type: Real 4: condenseur.proee.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 5: condenseur.proee.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 6: condenseur.proee.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 7: condenseur.Tee:VARIABLE(min = 200.0 max = 6000.0 start = 300.0 unit = "K" nominal = 300.0 ) "Cooling water temperature at the inlet" type: Real 8: condenseur.proee.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 9: condenseur.proee.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 10: condenseur.proee.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 11: condenseur.proee.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 12: $cse8.u:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse8.cp:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse8.duhp:VARIABLE(protected = true ) type: Real unreplaceable 15: condenseur.Pee:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Cooling water pressure at the inlet" type: Real 16: $cse8.duph:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse8.d:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse8.ddph:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse8.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse8.s:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse8.T:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse8.x:VARIABLE(protected = true ) type: Real unreplaceable 23: condenseur.proee.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 24: condenseur.rho_ee:VARIABLE(min = 1e-9 max = 1e5 start = 900.0 unit = "kg/m3" nominal = 998.0 ) "Cooling water density at the inlet" type: Real 25: condenseur.prose.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 26: condenseur.prose.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 27: condenseur.prose.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 28: condenseur.prose.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 29: condenseur.prose.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 30: condenseur.prose.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 31: condenseur.prose.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 32: condenseur.prose.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 33: condenseur.Tse:VARIABLE(min = 200.0 max = 6000.0 start = 400.0 unit = "K" nominal = 300.0 ) "Cooling water temperature at the outlet" type: Real 34: condenseur.prose.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 35: $cse10.d:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse10.cp:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse10.ddph:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse10.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse10.s:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse10.T:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse10.duph:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse10.x:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse10.u:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse10.duhp:VARIABLE(protected = true ) type: Real unreplaceable 45: condenseur.Pse:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Cooling water pressure at the outlet" type: Real 46: singularPressureLoss4.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 47: singularPressureLoss4.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 48: condenseur.Hse:VARIABLE(start = 5e5 unit = "J/kg" ) "Cooling water specific enthalpy at the outlet" type: Real 49: singularPressureLoss.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 50: singularPressureLoss.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 51: singularPressureLoss1.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 52: singularPressureLoss1.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 53: singularPressureLoss3.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 54: singularPressureLoss3.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 55: condenseur.Qev:VARIABLE(start = 1e-5 unit = "kg/s" fixed = true ) "Vapor mass flow rate at the inlet" type: Real 56: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 57: singularPressureLoss.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 58: condenseur.Hev:VARIABLE(start = 2.5e6 unit = "J/kg" ) "Vapor specific enthalpy at the inlet" type: Real 59: condenseur.Qex:VARIABLE(start = 10.0 unit = "kg/s" ) "Drain mass flow rate at the outlet" type: Real 60: condenseur.Qep:VARIABLE(start = 1e-5 unit = "kg/s" fixed = true ) "Drain mass flow rate at the inlet" type: Real 61: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 62: singularPressureLoss1.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 63: condenseur.Hep:VARIABLE(start = 1e6 unit = "J/kg" ) "Drain specific enthalpy at the inlet" type: Real 64: condenseur.Hex:VARIABLE(start = 5e5 unit = "J/kg" ) "Drain specific enthalpy at the outlet" type: Real 65: condenseur.lsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 66: condenseur.lsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 67: condenseur.lsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 68: condenseur.vsat1.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 69: condenseur.lsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 70: condenseur.vsat1.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 71: condenseur.lsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 72: condenseur.vsat1.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 73: condenseur.lsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 74: condenseur.vsat1.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 75: condenseur.vsat1.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 76: condenseur.Hsate:VARIABLE(start = 2e5 unit = "J/kg" ) "Water specific enthalpy at the saturation point" type: Real 77: condenseur.vsat1.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 78: condenseur.vsat1.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 79: condenseur.Pcond:VARIABLE(min = 0.0 start = 17000.0 unit = "Pa" nominal = 1e5 ) "Vapor pressure inside the condenser" type: Real 80: condenseur.Tsat:VARIABLE(min = 0.0 start = 500.0 unit = "K" nominal = 300.0 ) "Water temperature at the saturation point" type: Real 81: $cse7:VARIABLE(protected = true ) type: Real unreplaceable 82: condenseur.W:VARIABLE(unit = "W" ) "Heat power released to the cold source" type: Real 83: condenseur.Qvt:VARIABLE(start = 832.66 unit = "kg/s" fixed = true ) "Vapor mass flow rate leaving the turbine" type: Real 84: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 85: singularPressureLoss3.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 86: condenseur.Hvt:VARIABLE(start = 2.5e6 unit = "J/kg" ) "Vapor specific enthalpy leaving the turbine" 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.001894/3.553, allocations: 3.031 MB / 1.165 GB, free: 95.83 MB / 0.8262 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser could not be translated