Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser.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.TestStaticAerocondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8179/0.8179, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 22.52 kB / 237.8 MB, free: 1.773 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05525/0.0556, allocations: 31.34 MB / 269.1 MB, free: 7.039 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.TestStaticAerocondenser): time 1.57/1.626, allocations: 297.9 MB / 0.5538 GB, free: 9.793 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4823/2.108, allocations: 192.5 MB / 0.7417 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/2.109, allocations: 24.5 kB / 0.7418 GB, free: 1.766 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75: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/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/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/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/HeatExchangers/StaticAerocondenser.mo:81:3-82:53:writable] Warning: Connector Cws1 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/StaticAerocondenser.mo:83:3-84:55:writable] Warning: Connector Cws2 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/StaticAerocondenser.mo:85:3-86:55:writable] Warning: Connector Cair1 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/StaticAerocondenser.mo:87:3-88:54:writable] Warning: Connector Cair2 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/StaticAerocondenser.mo:90:3-92:45:writable] Warning: Connector Cw 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.0006212/2.109, allocations: 248.4 kB / 0.742 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007694/2.11, allocations: 420.1 kB / 0.7424 GB, free: 1.762 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.03063/2.141, allocations: 12.53 MB / 0.7546 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001703/2.143, allocations: 1.449 MB / 0.756 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007965/2.143, allocations: 0.7669 MB / 0.7568 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007097/2.144, allocations: 0.6086 MB / 0.7574 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/2.145, allocations: 0.6375 MB / 0.758 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/2.145, allocations: 128.8 kB / 0.7581 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03855/2.183, allocations: 21.5 MB / 0.7791 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005371/2.184, allocations: 291.2 kB / 0.7794 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/2.185, allocations: 0.6894 MB / 0.7801 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02969/2.215, allocations: 11.55 MB / 0.7914 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/2.215, allocations: 0 / 0.7914 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.704e-06/2.215, allocations: 0.6875 kB / 0.7914 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.674e-05/2.215, allocations: 0 / 0.7914 GB, free: 10.59 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: 347 * Number of variables: 347 Notification: Performance of Generate backend data structure: time 0.006483/2.221, allocations: 2.728 MB / 0.794 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/2.221, allocations: 10.25 kB / 0.794 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/2.222, allocations: 154.5 kB / 0.7942 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/2.223, allocations: 0.6508 MB / 0.7948 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/2.223, allocations: 102.7 kB / 0.7949 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/2.223, allocations: 125.9 kB / 0.795 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/2.225, allocations: 1.319 MB / 0.7963 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/2.225, allocations: 6.344 kB / 0.7963 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.466e-05/2.225, allocations: 62.62 kB / 0.7964 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/2.225, allocations: 39.05 kB / 0.7964 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/2.226, allocations: 0.8972 MB / 0.7973 GB, free: 6.914 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.1515/2.378, allocations: 69.47 MB / 0.8651 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/2.379, allocations: 367.3 kB / 0.8655 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/2.379, allocations: 180.4 kB / 0.8657 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8323/3.211, allocations: 295.9 MB / 1.155 GB, free: 131.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/3.211, allocations: 34.56 kB / 1.155 GB, free: 131.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=52): time 2.625e-06/3.211, allocations: 4 kB / 1.155 GB, free: 131.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=52): time 0.003888/3.215, allocations: 1.462 MB / 1.156 GB, free: 130.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.364e-05/3.215, allocations: 62.59 kB / 1.156 GB, free: 130.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000732/3.216, allocations: 0.7361 MB / 1.157 GB, free: 129.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/3.216, allocations: 33.39 kB / 1.157 GB, free: 129.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/3.216, allocations: 0.6213 MB / 1.158 GB, free: 129.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/3.216, allocations: 191.7 kB / 1.158 GB, free: 129.2 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/3.216, allocations: 201 kB / 1.158 GB, free: 129.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/3.217, allocations: 388 kB / 1.158 GB, free: 128.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/3.217, allocations: 200.8 kB / 1.158 GB, free: 128.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/3.217, allocations: 0.6033 MB / 1.159 GB, free: 127.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008063/3.218, allocations: 0.8664 MB / 1.16 GB, free: 127.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/3.218, allocations: 4 kB / 1.16 GB, free: 127.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001596/3.22, allocations: 1.063 MB / 1.161 GB, free: 126.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/3.22, allocations: 13.56 kB / 1.161 GB, free: 126.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/3.22, allocations: 12 kB / 1.161 GB, free: 126.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/3.222, allocations: 0.6188 MB / 1.162 GB, free: 125.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/3.223, allocations: 151.7 kB / 1.162 GB, free: 125.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/3.224, allocations: 2.606 MB / 1.164 GB, free: 123.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/3.225, allocations: 120.6 kB / 1.164 GB, free: 123 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/3.225, allocations: 59.08 kB / 1.164 GB, free: 123 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 23 (Source_condenseur.C.ftype,staticAerocondenser.Cws2.ftype,sourceP2.C.ftype,sourceP.C.ftype,staticAerocondenser.fluids[1],Puit_condenseur.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss5.fluid,staticAerocondenser.fluid_a,sourceP2.fluid1,sourceP.fluid1,Source_condenseur.fluid1,staticAerocondenser.Cws2.diff_on_1,Puit_condenseur1.C.diff_on_1,staticAerocondenser.Cw.diff_on_2,sourceP2.C.diff_on_2,staticAerocondenser.Cws1.diff_on_2,sourceP.C.diff_on_2,singularPressureLoss5.C1.diff_on_2,singularPressureLoss3.C2.diff_on_1,singularPressureLoss1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003031/3.225, allocations: 266.8 kB / 1.165 GB, free: 122.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/3.225, allocations: 90.39 kB / 1.165 GB, free: 122.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/3.227, allocations: 0.9636 MB / 1.166 GB, free: 122.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/3.227, allocations: 0 / 1.166 GB, free: 122.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/3.227, allocations: 0 / 1.166 GB, free: 122.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/3.227, allocations: 203 kB / 1.166 GB, free: 121.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/3.227, allocations: 11.28 kB / 1.166 GB, free: 121.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/3.227, allocations: 16.86 kB / 1.166 GB, free: 121.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/3.227, allocations: 35.83 kB / 1.166 GB, free: 121.8 MB / 0.8419 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 (7): ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(staticAerocondenser.lsat.P, staticAerocondenser.lsat.T, staticAerocondenser.lsat.rho, staticAerocondenser.he, staticAerocondenser.lsat.cp, staticAerocondenser.lsat.pt, staticAerocondenser.lsat.cv) = $cse6 Variables: 1: staticAerocondenser.lsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 2: staticAerocondenser.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 3: staticAerocondenser.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 4: staticAerocondenser.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 5: staticAerocondenser.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 6: staticAerocondenser.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 7: staticAerocondenser.he:VARIABLE(start = 3.7e5 unit = "J/kg" ) "Water specific enthalpy at the outlet of the condenser" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): singularPressureLoss3.h = if singularPressureLoss3.Q > 0.0 then 2.5817e6 else staticAerocondenser.he 2/2 (1): singularPressureLoss3.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss3.Pm, singularPressureLoss3.h, singularPressureLoss3.fluid, singularPressureLoss3.mode, 0.0, 0.0, 0.0, 0.0) 3/3 (1): singularPressureLoss3.deltaP = singularPressureLoss3.K * $cse2 / singularPressureLoss3.rho 4/4 (1): $cse2 = ThermoSysPro.Functions.ThermoSquare(singularPressureLoss3.Q, singularPressureLoss3.eps) 5/5 (1): 0.0 = (singularPressureLoss3.h - staticAerocondenser.he) * singularPressureLoss3.Q + (singularPressureLoss1.h - staticAerocondenser.he) * singularPressureLoss1.Q + (staticAerocondenser.he - singularPressureLoss5.h) * staticAerocondenser.Q - staticAerocondenser.W 6/6 (1): staticAerocondenser.W = Source_condenseur.Q0 * (staticAerocondenser.has - staticAerocondenser.hae) 7/7 (1): staticAerocondenser.has = ThermoSysPro.Properties.Fluid.SpecificEnthalpy_PT(staticAerocondenser.Pas, staticAerocondenser.Tas, staticAerocondenser.fluid_a, 0, 0.01, 0.05, 0.22, 0.0) 8/8 (1): staticAerocondenser.cp_a = ThermoSysPro.Properties.FlueGases.FlueGases_cp(0.5 * (Source_condenseur.P0 + staticAerocondenser.Pas), 0.5 * (staticAerocondenser.Tae + staticAerocondenser.Tas), 0.01, 0.05, 0.22, 0.0) 9/9 (1): staticAerocondenser.Nut = if noEvent(Source_condenseur.Q0 * staticAerocondenser.cp_a > 0.0) then staticAerocondenser.Se * staticAerocondenser.U / (Source_condenseur.Q0 * staticAerocondenser.cp_a) else 2.0 10/10 (1): $cse4 = exp(-staticAerocondenser.Nut) 11/11 (1): staticAerocondenser.Ef = 1.0 - $cse4 12/12 (1): staticAerocondenser.Tcond = (staticAerocondenser.Tas + staticAerocondenser.Tae * (-1.0 + staticAerocondenser.Ef)) / staticAerocondenser.Ef 13/13 (1): staticAerocondenser.Pcond = ThermoSysPro.Properties.Fluid.P_sat(staticAerocondenser.Tcond, staticAerocondenser.fluid_w) 14/14 (7): ($cse6, _) = ThermoSysPro.Properties.Fluid.Water_sat_P(staticAerocondenser.Pcond, staticAerocondenser.fluid_w) 15/21 (7): ThermoSysPro.Properties.WaterSteam.Common.PropThermoSat(staticAerocondenser.lsat.P, staticAerocondenser.lsat.T, staticAerocondenser.lsat.rho, staticAerocondenser.he, staticAerocondenser.lsat.cp, staticAerocondenser.lsat.pt, staticAerocondenser.lsat.cv) = $cse6 16/28 (1): singularPressureLoss5.h = if staticAerocondenser.Q > 0.0 then staticAerocondenser.he else 1e5 17/29 (1): singularPressureLoss1.h = if singularPressureLoss1.Q > 0.0 then 2.5055e6 else staticAerocondenser.he 18/30 (1): singularPressureLoss1.rho = ThermoSysPro.Properties.Fluid.Density_Ph(singularPressureLoss1.Pm, singularPressureLoss1.h, singularPressureLoss1.fluid, singularPressureLoss1.mode, 0.0, 0.0, 0.0, 0.0) 19/31 (1): singularPressureLoss1.deltaP = singularPressureLoss1.K * $cse1 / singularPressureLoss1.rho 20/32 (1): $cse1 = ThermoSysPro.Functions.ThermoSquare(singularPressureLoss1.Q, singularPressureLoss1.eps) 21/33 (1): 0.0 = singularPressureLoss3.Q + singularPressureLoss1.Q - staticAerocondenser.Q 22/34 (1): singularPressureLoss3.Pm = 0.5 * (sourceP.P0 + staticAerocondenser.Pcond) 23/35 (1): singularPressureLoss3.deltaP = sourceP.P0 - staticAerocondenser.Pcond 24/36 (1): singularPressureLoss1.Pm = 0.5 * (sourceP2.P0 + staticAerocondenser.Pcond) 25/37 (1): singularPressureLoss1.deltaP = sourceP2.P0 - staticAerocondenser.Pcond Variables: 1: singularPressureLoss1.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 2: singularPressureLoss1.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 3: singularPressureLoss3.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 4: singularPressureLoss3.Pm:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 5: staticAerocondenser.Q:VARIABLE(start = 150.0 unit = "kg/s" ) "Fluid mass flow rate in the water/steam pipe" type: Real 6: singularPressureLoss1.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 7: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 8: singularPressureLoss1.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 9: singularPressureLoss1.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 10: singularPressureLoss5.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" type: Real 11: staticAerocondenser.lsat.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Temperature" type: Real 12: staticAerocondenser.lsat.cv:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant volume" type: Real 13: staticAerocondenser.lsat.P:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Pressure" type: Real 14: staticAerocondenser.lsat.cp:VARIABLE(unit = "J/(kg.K)" ) "Specific heat capacity at constant pressure" type: Real 15: staticAerocondenser.lsat.pt:VARIABLE() "Derivative of pressure wrt. temperature" type: Real 16: staticAerocondenser.lsat.rho:VARIABLE(min = 0.0 unit = "kg/m3" ) "Density" type: Real 17: staticAerocondenser.he:VARIABLE(start = 3.7e5 unit = "J/kg" ) "Water specific enthalpy at the outlet of the condenser" type: Real 18: $cse6.pt:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse6.P:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse6.cp:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse6.rho:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse6.cv:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse6.h:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse6.T:VARIABLE(protected = true ) type: Real unreplaceable 25: staticAerocondenser.Pcond:VARIABLE(min = 0.0 start = 17000.0 unit = "Pa" nominal = 1e5 ) "Condensation pressure (vacuum)" type: Real 26: staticAerocondenser.Tcond:VARIABLE(min = 0.0 start = 360.0 unit = "K" nominal = 300.0 ) "Condensation temperature" type: Real 27: staticAerocondenser.Ef:VARIABLE(start = 0.8 ) "Efficiency in two-phase flow regime" type: Real 28: $cse4:VARIABLE(protected = true ) type: Real unreplaceable 29: staticAerocondenser.Nut:VARIABLE(start = 2.0 ) "Number of transfer units" type: Real 30: staticAerocondenser.cp_a:VARIABLE(start = 1000.0 unit = "J/(kg.K)" ) "Air specific heat capacity at constant pressure" type: Real 31: staticAerocondenser.Tas:VARIABLE(min = 0.0 start = 360.0 unit = "K" nominal = 300.0 ) "Air temperature at the outlet of the condenser" type: Real 32: staticAerocondenser.has:VARIABLE(start = 1e5 unit = "J/kg" ) "Air specific enthalpy at the outlet of the condenser" type: Real 33: staticAerocondenser.W:VARIABLE(unit = "W" ) "Heat power transfered to the cooling air" type: Real 34: singularPressureLoss3.Q:VARIABLE(start = 100.0 unit = "kg/s" ) "Mass flow rate" type: Real 35: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 36: singularPressureLoss3.rho:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" ) "Fluid density" type: Real 37: singularPressureLoss3.h:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy" 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.00133/3.229, allocations: 1.199 MB / 1.167 GB, free: 120.5 MB / 0.8419 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticAerocondenser could not be translated