Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.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.TestStaticCondenserHEI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8264/0.8264, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 16 kB / 237.8 MB, free: 1.766 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05331/0.05368, allocations: 31.35 MB / 269.1 MB, free: 7.027 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.TestStaticCondenserHEI): time 1.654/1.708, allocations: 300.8 MB / 0.5566 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5386/2.247, allocations: 193 MB / 0.7451 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/2.248, allocations: 31.75 kB / 0.7451 GB, free: 1.75 MB / 0.5919 GB [/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/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/HeatExchangers/StaticCondenserHEI.mo:171:3-173: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/StaticCondenserHEI.mo:174:3-176: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/StaticCondenserHEI.mo:177:3-179: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/StaticCondenserHEI.mo:180:3-182:57: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/StaticCondenserHEI.mo:202:3-203: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/StaticCondenserHEI.mo:205:3-207: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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.0009058/2.249, allocations: 355.1 kB / 0.7455 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/2.25, allocations: 0.6942 MB / 0.7462 GB, free: 1.746 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.03268/2.283, allocations: 12.73 MB / 0.7586 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002854/2.286, allocations: 2.533 MB / 0.7611 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/2.287, allocations: 1.275 MB / 0.7623 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/2.288, allocations: 1.032 MB / 0.7633 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009418/2.289, allocations: 1.083 MB / 0.7644 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002291/2.29, allocations: 215.6 kB / 0.7646 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04081/2.33, allocations: 21.52 MB / 0.7856 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009769/2.331, allocations: 476.5 kB / 0.786 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002198/2.334, allocations: 1.143 MB / 0.7872 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.04481/2.378, allocations: 12.6 MB / 0.7995 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/2.379, allocations: 0 / 0.7995 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.314e-06/2.379, allocations: 1.031 kB / 0.7995 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001333/2.379, allocations: 0 / 0.7995 GB, free: 6.84 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: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.01542/2.394, allocations: 3.568 MB / 0.803 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/2.394, allocations: 8.031 kB / 0.803 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007577/2.395, allocations: 250.1 kB / 0.8032 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/2.397, allocations: 0.9239 MB / 0.8041 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/2.397, allocations: 208.4 kB / 0.8043 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/2.398, allocations: 192.9 kB / 0.8045 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005206/2.403, allocations: 2.126 MB / 0.8066 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.018e-05/2.403, allocations: 7.438 kB / 0.8066 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/2.403, allocations: 87.94 kB / 0.8067 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.763e-05/2.404, allocations: 64.78 kB / 0.8067 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004232/2.408, allocations: 1.566 MB / 0.8082 GB, free: 14.12 MB / 0.6231 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.2667/2.675, allocations: 138.1 MB / 0.9431 GB, free: 3.934 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/2.676, allocations: 0.8067 MB / 0.9439 GB, free: 3.098 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/2.676, allocations: 442.7 kB / 0.9443 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8001/3.477, allocations: 241.1 MB / 1.18 GB, free: 70.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/3.477, allocations: 56.3 kB / 1.18 GB, free: 70.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=132): time 3.136e-06/3.477, allocations: 0 / 1.18 GB, free: 70.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=132): time 0.0113/3.488, allocations: 3.605 MB / 1.183 GB, free: 67.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/3.488, allocations: 168.2 kB / 1.183 GB, free: 67.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/3.489, allocations: 1.172 MB / 1.185 GB, free: 66.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/3.489, allocations: 42.64 kB / 1.185 GB, free: 66.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/3.49, allocations: 0.918 MB / 1.186 GB, free: 66.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/3.49, allocations: 457.6 kB / 1.186 GB, free: 65.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/3.49, allocations: 377.5 kB / 1.186 GB, free: 65.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 4.664e-05/3.49, allocations: 301.7 kB / 1.187 GB, free: 65.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007547/3.491, allocations: 469.2 kB / 1.187 GB, free: 64.97 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009577/3.492, allocations: 1.018 MB / 1.188 GB, free: 63.92 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/3.494, allocations: 1.543 MB / 1.19 GB, free: 62.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/3.494, allocations: 8 kB / 1.19 GB, free: 62.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003618/3.497, allocations: 2.182 MB / 1.192 GB, free: 61.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/3.498, allocations: 12.97 kB / 1.192 GB, free: 61.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/3.498, allocations: 20 kB / 1.192 GB, free: 61.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005025/3.503, allocations: 1.652 MB / 1.193 GB, free: 59.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/3.503, allocations: 240 kB / 1.194 GB, free: 59.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/3.506, allocations: 4.6 MB / 1.198 GB, free: 55.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/3.507, allocations: 217.5 kB / 1.198 GB, free: 54.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.17e-05/3.507, allocations: 82.3 kB / 1.198 GB, free: 54.78 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 36 (condenseur.Cex.ftype,Source_condenseur.C.ftype,sourceP.C.ftype,sourceP2.C.ftype,sourceP1.C.ftype,Puit_condenseur.fluid,condenseur.fluid_p,singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,condenseur.HEI,sourceP2.fluid1,sourceP1.fluid1,sourceP.fluid1,Source_condenseur.fluid1,singularPressureLoss5.C1.diff_on_2,condenseur.Cex.diff_on_1,singularPressureLoss5.C2.diff_on_1,condenseur.Cee.diff_on_2,Source_condenseur.C.diff_on_2,condenseur.Cse.diff_on_1,singularPressureLoss4.C2.diff_on_1,condenseur.Cvt.diff_on_2,sourceP.C.diff_on_2,singularPressureLoss3.C2.diff_on_1,condenseur.Cep.diff_on_2,sourceP2.C.diff_on_2,singularPressureLoss1.C2.diff_on_1,condenseur.Cev.diff_on_2,sourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1,condenseur.fluids[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2), (1,3), (1,3), (1,3), (1,3), (4,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0005086/3.508, allocations: 364.7 kB / 1.199 GB, free: 54.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/3.508, allocations: 139.2 kB / 1.199 GB, free: 54.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/3.511, allocations: 1.934 MB / 1.201 GB, free: 53.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/3.511, allocations: 7.984 kB / 1.201 GB, free: 53.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/3.511, allocations: 4 kB / 1.201 GB, free: 53.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/3.511, allocations: 316.1 kB / 1.201 GB, free: 52.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/3.511, allocations: 22.17 kB / 1.201 GB, free: 52.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/3.512, allocations: 23.08 kB / 1.201 GB, free: 52.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/3.512, allocations: 64.2 kB / 1.201 GB, free: 52.81 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.Tef, condenseur.profe.d, condenseur.profe.u, condenseur.profe.s, condenseur.profe.cp, condenseur.profe.ddhp, condenseur.profe.ddph, condenseur.profe.duph, condenseur.profe.duhp, condenseur.profe.x) = $cse4 Variables: 1: condenseur.profe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 2: condenseur.profe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 3: condenseur.profe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 4: condenseur.Fw:VARIABLE() "Correction factor for water" type: Real 5: condenseur.Tcut_off:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Saturation temperature at pressure cut-off" type: Real 6: condenseur.Pcut_off:VARIABLE(unit = "Pa" ) "Pressure cut-off" type: Real 7: condenseur.Pzero_load:VARIABLE(unit = "Pa" ) "Zero-load pressure " type: Real 8: singularPressureLoss.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 9: singularPressureLoss1.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 10: singularPressureLoss1.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (10): $cse4 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLoss2.C2.P, singularPressureLoss2.h, condenseur.mode_f, condenseur.fluid_p) 2/11 (1): condenseur.Tcut_off = condenseur.Tef + condenseur.Wcut_off / (Source_condenseur.Q0 * condenseur.Cpmf * (1.0 - $cse7)) 3/12 (1): condenseur.Pcond = if condenseur.Psat_att < condenseur.Pcut_off then (condenseur.Pcut_off - condenseur.Pzero_load) * condenseur.W / condenseur.Wcut_off + condenseur.Pzero_load + condenseur.Poffset else condenseur.Psat_att + condenseur.Poffset 4/13 (1): condenseur.Psat_att = ThermoSysPro.Properties.Fluid.P_sat(condenseur.Tsat_att, condenseur.fluid) 5/14 (1): condenseur.Tsat_att = condenseur.Tef + condenseur.W / (Source_condenseur.Q0 * condenseur.Cpmf * (1.0 - $cse7)) 6/15 (1): condenseur.W = Source_condenseur.Q0 * (singularPressureLoss4.h - singularPressureLoss2.h) 7/16 (10): $cse6 = ThermoSysPro.Properties.Fluid.Ph(0.5 * (singularPressureLoss2.C2.P + condenseur.Cse.P), 0.5 * (singularPressureLoss2.h + singularPressureLoss4.h), condenseur.mode_f, condenseur.fluid_p) 8/26 (1): singularPressureLoss2.C2.P - condenseur.Cse.P = condenseur.DPf 9/27 (1): condenseur.DPf = condenseur.DPff + condenseur.DPgf 10/28 (1): condenseur.DPgf = 9.80665 * condenseur.rhof * (condenseur.z2f - condenseur.z1f) 11/29 (1): condenseur.Vf = Source_condenseur.Q0 / (condenseur.rhof * condenseur.S_pass) 12/30 (1): condenseur.U1 = ThermoSysPro.Correlations.Thermal.Function_U1(condenseur.D_tubes, condenseur.Vf) 13/31 (1): condenseur.U = condenseur.Ucorr * condenseur.U1 * condenseur.FM * condenseur.FC * condenseur.Fw 14/32 (1): $cse7 = exp((-condenseur.U) * condenseur.S_ech / (Source_condenseur.Q0 * condenseur.Cpmf)) 15/33 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(condenseur.promf.T, condenseur.rhof, condenseur.promf.u, condenseur.promf.s, condenseur.Cpmf, condenseur.promf.ddhp, condenseur.promf.ddph, condenseur.promf.duph, condenseur.promf.duhp, condenseur.promf.x) = $cse6 16/43 (1): condenseur.DPff = condenseur.Kf * $cse1 / condenseur.rhof 17/44 (1): singularPressureLoss4.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss4.Pm, singularPressureLoss4.h, singularPressureLoss4.fluid, singularPressureLoss4.mode, 0.0, 0.0, 0.0, 0.0) 18/45 (1): singularPressureLoss4.Pm = 0.5 * (condenseur.Cse.P + Puit_condenseur.P0) 19/46 (1): singularPressureLoss4.deltaP = condenseur.Cse.P - Puit_condenseur.P0 20/47 (1): singularPressureLoss4.deltaP = singularPressureLoss4.K * $cse12 / singularPressureLoss4.rho 21/48 (1): 0.0 = singularPressureLoss3.Q * singularPressureLoss3.h + singularPressureLoss.Q * singularPressureLoss.h + singularPressureLoss1.Q * singularPressureLoss1.h + (-condenseur.W) - singularPressureLoss5.Q * singularPressureLoss5.h 22/49 (1): singularPressureLoss5.h = if singularPressureLoss5.Q > 0.0 then condenseur.Hml else 1e5 23/50 (1): 0.0 = singularPressureLoss3.Q + singularPressureLoss.Q + singularPressureLoss1.Q - singularPressureLoss5.Q 24/51 (1): $cse8 = ThermoSysPro.Functions.ThermoSquare(singularPressureLoss.Q, singularPressureLoss.eps) 25/52 (1): singularPressureLoss.deltaP = singularPressureLoss.K * $cse8 / singularPressureLoss.rho 26/53 (1): singularPressureLoss.deltaP = sourceP1.P0 - condenseur.Pcond 27/54 (14): (ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(condenseur.lsat.P, condenseur.lsat.T, condenseur.lsat.rho, condenseur.Hml, condenseur.lsat.cp, condenseur.lsat.pt, condenseur.lsat.cv), condenseur.vsat) = ThermoSysPro.Properties.Fluid.Water_sat_P(condenseur.Pcond, condenseur.fluid) 28/68 (1): singularPressureLoss1.h = if singularPressureLoss1.Q > 0.0 then 2.5055e6 else condenseur.Hml 29/69 (1): singularPressureLoss1.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss1.Pm, singularPressureLoss1.h, singularPressureLoss1.fluid, singularPressureLoss1.mode, 0.0, 0.0, 0.0, 0.0) 30/70 (1): singularPressureLoss1.deltaP = singularPressureLoss1.K * $cse9 / singularPressureLoss1.rho 31/71 (1): $cse9 = ThermoSysPro.Functions.ThermoSquare(singularPressureLoss1.Q, singularPressureLoss1.eps) 32/72 (1): singularPressureLoss.h = if singularPressureLoss.Q > 0.0 then 2.5481e6 else condenseur.Hml 33/73 (1): singularPressureLoss.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss.Pm, singularPressureLoss.h, singularPressureLoss.fluid, singularPressureLoss.mode, 0.0, 0.0, 0.0, 0.0) 34/74 (1): singularPressureLoss3.h = if singularPressureLoss3.Q > 0.0 then 2.5817e6 else condenseur.Hml 35/75 (1): singularPressureLoss3.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss3.Pm, singularPressureLoss3.h, singularPressureLoss3.fluid, singularPressureLoss3.mode, 0.0, 0.0, 0.0, 0.0) 36/76 (1): singularPressureLoss3.deltaP = singularPressureLoss3.K * $cse11 / singularPressureLoss3.rho 37/77 (1): $cse11 = ThermoSysPro.Functions.ThermoSquare(singularPressureLoss3.Q, singularPressureLoss3.eps) 38/78 (1): singularPressureLoss3.Pm = 0.5 * (sourceP.P0 + condenseur.Pcond) 39/79 (1): singularPressureLoss3.deltaP = sourceP.P0 - condenseur.Pcond 40/80 (1): singularPressureLoss1.Pm = 0.5 * (sourceP2.P0 + condenseur.Pcond) 41/81 (1): singularPressureLoss1.deltaP = sourceP2.P0 - condenseur.Pcond 42/82 (1): singularPressureLoss.Pm = 0.5 * (sourceP1.P0 + condenseur.Pcond) 43/83 (1): condenseur.Pzero_load = 100.0 * (10.27824 + 5.008e-4 * (-273.15 + condenseur.Tef) ^ 3.0 + 0.02039549 * (-273.15 + condenseur.Tef) ^ 2.0 + 0.2277566 * (-273.15 + condenseur.Tef)) 44/84 (1): condenseur.Pcut_off = 100.0 * (21.09159 + 5.752433e-4 * (-273.15 + condenseur.Tef) ^ 3.0 + 0.01735162 * (-273.15 + condenseur.Tef) ^ 2.0 + 0.08052739 * (-273.15 + condenseur.Tef)) 45/85 (1): condenseur.Tcut_off = ThermoSysPro.Properties.Fluid.T_sat(condenseur.Pcut_off, condenseur.fluid) 46/86 (1): condenseur.Fw = 0.6639699 + 0.01974994 * (-273.15 + condenseur.Tef) + (-2.104072e-4) * (-273.15 + condenseur.Tef) ^ 2.0 47/87 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(condenseur.Tef, condenseur.profe.d, condenseur.profe.u, condenseur.profe.s, condenseur.profe.cp, condenseur.profe.ddhp, condenseur.profe.ddph, condenseur.profe.duph, condenseur.profe.duhp, condenseur.profe.x) = $cse4 Variables: 1: condenseur.profe.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 2: condenseur.profe.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 3: condenseur.profe.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 4: condenseur.Fw:VARIABLE() "Correction factor for water" type: Real 5: condenseur.Tcut_off:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Saturation temperature at pressure cut-off" type: Real 6: condenseur.Pcut_off:VARIABLE(unit = "Pa" ) "Pressure cut-off" type: Real 7: condenseur.Pzero_load:VARIABLE(unit = "Pa" ) "Zero-load pressure " type: Real 8: singularPressureLoss.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 9: singularPressureLoss1.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 10: singularPressureLoss1.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 11: singularPressureLoss3.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 12: singularPressureLoss3.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 13: singularPressureLoss3.Q:VARIABLE(start = 100.0 unit = "kg/s" fixed = true ) "Mass flow rate" type: Real 14: $cse11:VARIABLE(protected = true ) type: Real unreplaceable 15: singularPressureLoss3.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 16: singularPressureLoss3.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 17: singularPressureLoss.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 18: singularPressureLoss.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 19: singularPressureLoss1.Q:VARIABLE(start = 1e-5 unit = "kg/s" fixed = true ) "Mass flow rate" type: Real 20: $cse9:VARIABLE(protected = true ) type: Real unreplaceable 21: singularPressureLoss1.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 22: singularPressureLoss1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 23: condenseur.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 24: condenseur.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 25: condenseur.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 26: condenseur.vsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 27: condenseur.vsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 28: condenseur.vsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 29: condenseur.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 30: condenseur.vsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 31: condenseur.Hml:VARIABLE(start = 1e5 unit = "J/kg" ) "Extraction water average specific enthalpy" type: Real 32: condenseur.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 33: condenseur.lsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 34: condenseur.vsat.h:VARIABLE(unit = "J/kg" ) "Specific enthalpy" type: Real 35: condenseur.vsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 36: condenseur.vsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 37: condenseur.Pcond:VARIABLE(start = 2154.77 unit = "Pa" fixed = false ) "Expected corrected HEI saturation pressure" type: Real 38: singularPressureLoss.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 39: $cse8:VARIABLE(protected = true ) type: Real unreplaceable 40: singularPressureLoss.Q:VARIABLE(start = 1e-5 unit = "kg/s" fixed = true ) "Mass flow rate" type: Real 41: singularPressureLoss5.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 42: singularPressureLoss5.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 43: singularPressureLoss4.rho:VARIABLE(min = 0.0 start = 995.9727926518547 unit = "kg/m3" ) "Fluid density" type: Real 44: singularPressureLoss4.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 45: condenseur.Cse.P:VARIABLE(flow=false start = 1e5 unit = "Pa" ) "Fluid pressure in the control volume" type: Real 46: singularPressureLoss4.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 47: condenseur.DPff:VARIABLE(start = 1000.0 unit = "Pa" ) "Friction pressure loss in the cold side" type: Real 48: $cse6.x:VARIABLE(protected = true ) type: Real unreplaceable 49: condenseur.promf.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 50: condenseur.promf.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 51: condenseur.promf.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 52: condenseur.promf.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 53: condenseur.promf.T:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 320.0 ) "Temperature" type: Real 54: condenseur.promf.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 55: condenseur.promf.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 56: condenseur.promf.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 57: condenseur.Cpmf:VARIABLE(min = 1e-9 max = 1e60 start = 950.0 unit = "J/(kg.K)" nominal = 1000.0 ) "Average specific heat capacity of the cold water" type: Real 58: $cse7:VARIABLE(protected = true ) type: Real unreplaceable 59: condenseur.U:VARIABLE(unit = "W/(m2.K)" ) "Heat transfert coefficient" type: Real 60: condenseur.U1:VARIABLE(unit = "W/(m2.K)" ) "Uncorrected heat transfert coefficient" type: Real 61: condenseur.Vf:VARIABLE(unit = "m/s" ) "Velocity of the cold water" type: Real 62: condenseur.rhof:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Density of the fluid in the cold side" type: Real 63: condenseur.DPgf:VARIABLE(start = 100.0 unit = "Pa" ) "Gravity pressure loss in the cold side" type: Real 64: condenseur.DPf:VARIABLE(start = -7.816453667652961e-26 unit = "Pa" ) "Total pressure loss in the cold side" type: Real 65: singularPressureLoss2.C2.P:VARIABLE(flow=false start = 1e5 unit = "Pa" ) "Fluid pressure in the control volume" type: Real 66: $cse6.s:VARIABLE(protected = true ) type: Real unreplaceable 67: $cse6.ddph:VARIABLE(protected = true ) type: Real unreplaceable 68: $cse6.T:VARIABLE(protected = true ) type: Real unreplaceable 69: $cse6.duph:VARIABLE(protected = true ) type: Real unreplaceable 70: $cse6.u:VARIABLE(protected = true ) type: Real unreplaceable 71: $cse6.duhp:VARIABLE(protected = true ) type: Real unreplaceable 72: $cse6.d:VARIABLE(protected = true ) type: Real unreplaceable 73: $cse6.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 74: $cse6.cp:VARIABLE(protected = true ) type: Real unreplaceable 75: singularPressureLoss4.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 76: condenseur.W:VARIABLE(start = 1e6 unit = "W" ) "Power exchanged from the hot side to the cold side" type: Real 77: condenseur.Tsat_att:VARIABLE(min = 0.0 start = 310.0 unit = "K" nominal = 300.0 ) "Expected HEI saturation temperature" type: Real 78: condenseur.Psat_att:VARIABLE(start = 6000.0 unit = "Pa" ) "Expected HEI saturation pressure" type: Real 79: condenseur.Wcut_off:VARIABLE(start = 1.1680480525936648e8 unit = "W" ) "Power exchanged from the hot side to the cold side at Pcut_off" type: Real 80: condenseur.Tef:VARIABLE(min = 200.0 max = 6000.0 start = 350.0 unit = "K" nominal = 300.0 ) "Fluid temperature at the inlet of the cold side" type: Real 81: condenseur.profe.d:VARIABLE(min = 1e-9 max = 1e5 unit = "kg/m3" nominal = 998.0 ) "Density" type: Real 82: condenseur.profe.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 83: condenseur.profe.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 84: condenseur.profe.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real 85: condenseur.profe.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 86: condenseur.profe.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 87: $cse4.duph:VARIABLE(protected = true ) type: Real unreplaceable 88: $cse4.x:VARIABLE(protected = true ) type: Real unreplaceable 89: $cse4.s:VARIABLE(protected = true ) type: Real unreplaceable 90: $cse4.d:VARIABLE(protected = true ) type: Real unreplaceable 91: $cse4.cp:VARIABLE(protected = true ) type: Real unreplaceable 92: $cse4.ddph:VARIABLE(protected = true ) type: Real unreplaceable 93: $cse4.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 94: $cse4.duhp:VARIABLE(protected = true ) type: Real unreplaceable 95: $cse4.u:VARIABLE(protected = true ) type: Real unreplaceable 96: $cse4.T:VARIABLE(protected = true ) type: Real unreplaceable [/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.001906/3.514, allocations: 3.981 MB / 1.205 GB, free: 47.92 MB / 0.8262 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI could not be translated