Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AixLib with version 1.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.1-development/package.mo): time 1.721/1.721, allocations: 268.7 MB / 284.5 MB, free: 2.641 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 191.3 kB / 341.4 MB, free: 0.7344 MB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 0.6065 GB, free: 216 kB / 474.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009679/0.0009676, allocations: 115.1 kB / 0.7103 GB, free: 5.078 MB / 490.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo): time 0.425/0.425, allocations: 11.76 MB / 0.8254 GB, free: 63.5 MB / 0.5887 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004342/0.0004343, allocations: 25.83 kB / 0.9319 GB, free: 14.72 MB / 0.5887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:16-9:38:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:40-9:62:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:64-9:86:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:88-9:110:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:112-9:134:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0/package.mo:9:135-9:157:writable] Warning: Conversion-annotation contains unknown element: nonFromVersion. Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 91.86 kB / 1.051 GB, free: 4.836 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.522, allocations: 108.3 MB / 1.157 GB, free: 157.3 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.1841/0.7062, allocations: 240.6 MB / 1.392 GB, free: 2.672 MB / 0.8074 GB Notification: Performance of NFInst.instExpressions: time 0.6424/1.349, allocations: 48.87 MB / 1.439 GB, free: 46.04 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01482/1.364, allocations: 263.2 kB / 1.44 GB, free: 46.04 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01484/1.378, allocations: 2.884 MB / 1.442 GB, free: 45.98 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02944/1.408, allocations: 7.977 MB / 1.45 GB, free: 45.64 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01678/1.425, allocations: 5.877 MB / 1.456 GB, free: 45.49 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.03761/1.462, allocations: 22.17 MB / 1.478 GB, free: 45.41 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01103/1.473, allocations: 5.119 MB / 1.483 GB, free: 44.13 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01656/1.49, allocations: 5.701 MB / 1.488 GB, free: 42.83 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01073/1.501, allocations: 4.634 MB / 1.493 GB, free: 41.01 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.002618/1.503, allocations: 286.9 kB / 1.493 GB, free: 41.01 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01562/1.519, allocations: 3.383 MB / 1.496 GB, free: 40.17 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.003719/1.523, allocations: 1.328 MB / 1.498 GB, free: 39.59 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01084/1.534, allocations: 3.278 MB / 1.501 GB, free: 38.39 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.02593/1.56, allocations: 11.65 MB / 1.512 GB, free: 30.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/1.56, allocations: 0 / 1.512 GB, free: 30.38 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.058e-06/1.56, allocations: 0 / 1.512 GB, free: 30.38 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005547/1.56, allocations: 0 / 1.512 GB, free: 30.38 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.02299/1.583, allocations: 7.208 MB / 1.519 GB, free: 23.14 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.583, allocations: 8.031 kB / 1.519 GB, free: 23.14 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007429/1.591, allocations: 1.339 MB / 1.52 GB, free: 21.79 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/1.605, allocations: 6.162 MB / 1.526 GB, free: 15.71 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001461/1.607, allocations: 0.4955 MB / 1.527 GB, free: 15.21 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/1.608, allocations: 372 kB / 1.527 GB, free: 14.85 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/1.621, allocations: 4.495 MB / 1.532 GB, free: 10.19 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/1.622, allocations: 7.875 kB / 1.532 GB, free: 10.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/1.623, allocations: 156 kB / 1.532 GB, free: 10.03 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.783e-05/1.623, allocations: 88 kB / 1.532 GB, free: 9.945 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/1.634, allocations: 3.785 MB / 1.536 GB, free: 6.152 MB / 0.823 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.04034/1.675, allocations: 22.11 MB / 1.557 GB, free: 15.02 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007429/1.682, allocations: 3.13 MB / 1.56 GB, free: 11.76 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003797/1.686, allocations: 1.399 MB / 1.562 GB, free: 10.37 MB / 0.8543 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 evalFunc (simulation): time 0.01843/1.705, allocations: 8.608 MB / 1.57 GB, free: 0.8789 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004369/1.709, allocations: 1.574 MB / 1.572 GB, free: 15.28 MB / 0.8699 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003192/1.712, allocations: 265.6 kB / 1.572 GB, free: 15.02 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=186): time 1.949e-05/1.712, allocations: 0 / 1.572 GB, free: 15.02 MB / 0.8699 GB Notification: Performance of matching and sorting (n=186): time 0.02428/1.737, allocations: 5.632 MB / 1.577 GB, free: 9.32 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.737, allocations: 180.2 kB / 1.578 GB, free: 9.109 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/1.749, allocations: 4.741 MB / 1.582 GB, free: 4.398 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.0007445/1.75, allocations: 73.7 kB / 1.582 GB, free: 4.32 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.00382/1.754, allocations: 2.647 MB / 1.585 GB, free: 1.668 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.755, allocations: 0.6348 MB / 1.585 GB, free: 1.039 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002196/1.757, allocations: 0.5422 MB / 1.586 GB, free: 0.4922 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.758, allocations: 317 kB / 1.586 GB, free: 184 kB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/1.761, allocations: 1.257 MB / 1.587 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004687/1.766, allocations: 2.269 MB / 1.59 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5684/2.334, allocations: 89.74 MB / 1.677 GB, free: 2.535 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-05/2.335, allocations: 12 kB / 1.677 GB, free: 2.523 MB / 0.9637 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.01361/2.348, allocations: 4.265 MB / 1.682 GB, free: 14.23 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/2.348, allocations: 83.38 kB / 1.682 GB, free: 14.13 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.19e-05/2.348, allocations: 28.88 kB / 1.682 GB, free: 14.11 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/2.351, allocations: 0.673 MB / 1.682 GB, free: 13.43 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003096/2.354, allocations: 0.6357 MB / 1.683 GB, free: 12.79 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/2.358, allocations: 3.068 MB / 1.686 GB, free: 9.625 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006793/2.365, allocations: 435.4 kB / 1.686 GB, free: 9.199 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008929/2.366, allocations: 144 kB / 1.686 GB, free: 9.059 MB / 0.9793 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007874/2.374, allocations: 2.395 MB / 1.689 GB, free: 6.656 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004997/2.379, allocations: 2.216 MB / 1.691 GB, free: 3.98 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.579/2.958, allocations: 89.48 MB / 1.778 GB, free: 10.48 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.746e-05/2.958, allocations: 4 kB / 1.778 GB, free: 10.48 MB / 1.073 GB Notification: Performance of matching and sorting (n=326) (initialization_lambda0): time 0.01326/2.971, allocations: 4.175 MB / 1.782 GB, free: 6.27 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/2.972, allocations: 79.39 kB / 1.782 GB, free: 6.18 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-05/2.972, allocations: 27.98 kB / 1.783 GB, free: 6.152 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/2.974, allocations: 0.6459 MB / 1.783 GB, free: 5.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/2.977, allocations: 0.6045 MB / 1.784 GB, free: 4.895 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/2.98, allocations: 1.85 MB / 1.786 GB, free: 2.996 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006345/2.986, allocations: 437 kB / 1.786 GB, free: 2.57 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000787/2.987, allocations: 140 kB / 1.786 GB, free: 2.434 MB / 1.073 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 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): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001822/2.989, allocations: 0.5718 MB / 1.787 GB, free: 1.84 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002664/2.992, allocations: 0.5055 MB / 1.787 GB, free: 1.328 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/3.009, allocations: 4.219 MB / 1.791 GB, free: 13.13 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.678e-05/3.009, allocations: 27.98 kB / 1.791 GB, free: 13.1 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/3.009, allocations: 0 / 1.791 GB, free: 13.1 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008933/3.018, allocations: 3.06 MB / 1.794 GB, free: 10.02 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03016/3.048, allocations: 8.831 MB / 1.803 GB, free: 1.109 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/3.048, allocations: 4 kB / 1.803 GB, free: 1.105 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/3.05, allocations: 375.8 kB / 1.803 GB, free: 0.7383 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/3.052, allocations: 0.6161 MB / 1.804 GB, free: 120 kB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003858/3.053, allocations: 59.97 kB / 1.804 GB, free: 60 kB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5027/3.556, allocations: 3.149 MB / 1.807 GB, free: 474.7 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/3.556, allocations: 7.594 kB / 1.807 GB, free: 474.7 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4437/3.999, allocations: 93.9 MB / 1.899 GB, free: 424.2 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005221/4.005, allocations: 0.941 MB / 1.9 GB, free: 423.3 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002428/4.007, allocations: 46.48 kB / 1.9 GB, free: 423.2 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00632/4.013, allocations: 404 kB / 1.9 GB, free: 422.8 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004944/4.014, allocations: 133.8 kB / 1.9 GB, free: 422.7 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005566/4.014, allocations: 99.92 kB / 1.9 GB, free: 422.6 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.009556/4.024, allocations: 3.22 MB / 1.903 GB, free: 419.4 MB / 1.089 GB Notification: Performance of sort global known variables: time 6.21e-07/4.024, allocations: 0 / 1.903 GB, free: 419.4 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.03112/4.055, allocations: 4.447 MB / 1.908 GB, free: 415.2 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 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): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003828/4.059, allocations: 1.282 MB / 1.909 GB, free: 414.2 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01688/4.076, allocations: 5.172 MB / 1.914 GB, free: 409 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/4.076, allocations: 7.75 kB / 1.914 GB, free: 409 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.006302/4.082, allocations: 1.668 MB / 1.916 GB, free: 407.3 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02159/4.104, allocations: 2.575 MB / 1.918 GB, free: 404.8 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03395/4.138, allocations: 13.31 MB / 1.931 GB, free: 391.4 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004762/4.143, allocations: 2.884 MB / 1.934 GB, free: 388.5 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.01044/4.153, allocations: 1.214 MB / 1.935 GB, free: 387.4 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002567/4.156, allocations: 403.2 kB / 1.936 GB, free: 387 MB / 1.089 GB Notification: Performance of SimCode: time 8.21e-07/4.156, allocations: 4 kB / 1.936 GB, free: 387 MB / 1.089 GB Notification: Performance of Templates: time 0.2033/4.359, allocations: 141 MB / 2.073 GB, free: 247 MB / 1.089 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)