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.8384/0.8384, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 17.83 kB / 237.7 MB, free: 1.793 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05925/0.05963, allocations: 31.33 MB / 269.1 MB, free: 7.102 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.705/1.765, allocations: 300.2 MB / 0.5559 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5507/2.316, allocations: 192.6 MB / 0.744 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/2.317, allocations: 29.38 kB / 0.7441 GB, free: 1.738 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.0008542/2.318, allocations: 350.4 kB / 0.7444 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001241/2.319, allocations: 0.6511 MB / 0.745 GB, free: 1.73 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.0362/2.355, allocations: 12.82 MB / 0.7576 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003665/2.359, allocations: 2.187 MB / 0.7597 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/2.361, allocations: 1.173 MB / 0.7608 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/2.364, allocations: 0.8986 MB / 0.7617 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/2.367, allocations: 0.9384 MB / 0.7626 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003477/2.367, allocations: 192.2 kB / 0.7628 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04387/2.411, allocations: 21.67 MB / 0.784 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007264/2.412, allocations: 428 kB / 0.7844 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001618/2.414, allocations: 1.018 MB / 0.7854 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03778/2.451, allocations: 12.27 MB / 0.7974 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/2.451, allocations: 3.938 kB / 0.7974 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/2.451, allocations: 0.875 kB / 0.7974 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.795e-05/2.451, allocations: 2.844 kB / 0.7974 GB, free: 7.812 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.008768/2.46, allocations: 3.384 MB / 0.8007 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/2.46, allocations: 11.89 kB / 0.8007 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/2.461, allocations: 239.6 kB / 0.8009 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/2.462, allocations: 0.8553 MB / 0.8017 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/2.462, allocations: 144.7 kB / 0.8019 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/2.462, allocations: 184 kB / 0.8021 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/2.466, allocations: 1.93 MB / 0.8039 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/2.466, allocations: 4.656 kB / 0.804 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/2.466, allocations: 84.89 kB / 0.804 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.909e-05/2.466, allocations: 59.98 kB / 0.8041 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/2.468, allocations: 1.305 MB / 0.8054 GB, free: 388 kB / 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.221/2.689, allocations: 103.2 MB / 0.9062 GB, free: 436 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/2.691, allocations: 0.6497 MB / 0.9068 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/2.691, allocations: 338.4 kB / 0.9071 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7758/3.467, allocations: 241.3 MB / 1.143 GB, free: 115.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/3.467, allocations: 48.91 kB / 1.143 GB, free: 115.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=97): time 3.958e-06/3.467, allocations: 0 / 1.143 GB, free: 115.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=97): time 0.008739/3.476, allocations: 2.698 MB / 1.145 GB, free: 112.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/3.476, allocations: 158.7 kB / 1.146 GB, free: 112.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009923/3.477, allocations: 0.9602 MB / 1.147 GB, free: 111.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/3.477, allocations: 37.23 kB / 1.147 GB, free: 111.9 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.000353/3.478, allocations: 0.8674 MB / 1.147 GB, free: 111.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/3.478, allocations: 364.6 kB / 1.148 GB, free: 111.1 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/3.478, allocations: 331.8 kB / 1.148 GB, free: 110.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/3.478, allocations: 354.9 kB / 1.148 GB, free: 110.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/3.479, allocations: 341.6 kB / 1.149 GB, free: 110.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007627/3.479, allocations: 0.8804 MB / 1.15 GB, free: 109.4 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.007274/3.487, allocations: 2.888 MB / 1.152 GB, free: 106.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/3.487, allocations: 7.656 kB / 1.152 GB, free: 106.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003733/3.49, allocations: 1.949 MB / 1.154 GB, free: 105.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/3.49, allocations: 12 kB / 1.154 GB, free: 105.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/3.491, allocations: 16.84 kB / 1.154 GB, free: 105.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002714/3.493, allocations: 1.028 MB / 1.155 GB, free: 104.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/3.494, allocations: 215.5 kB / 1.156 GB, free: 104.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/3.496, allocations: 4.383 MB / 1.16 GB, free: 100.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/3.497, allocations: 185.5 kB / 1.16 GB, free: 100.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/3.497, allocations: 81.78 kB / 1.16 GB, free: 100 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.000461/3.497, allocations: 349.8 kB / 1.16 GB, free: 99.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/3.497, allocations: 123.2 kB / 1.161 GB, free: 99.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/3.5, allocations: 1.514 MB / 1.162 GB, free: 98.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/3.5, allocations: 11.92 kB / 1.162 GB, free: 98.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/3.5, allocations: 8 kB / 1.162 GB, free: 98.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/3.5, allocations: 269.7 kB / 1.162 GB, free: 98.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/3.5, allocations: 18.38 kB / 1.162 GB, free: 98.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/3.5, allocations: 14.98 kB / 1.162 GB, free: 98.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/3.501, allocations: 51.48 kB / 1.162 GB, free: 98.38 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.00179/3.502, allocations: 3.041 MB / 1.165 GB, free: 94.76 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