Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json 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/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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) 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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 191 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1793/0.1793, allocations: 12.01 MB / 302 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.00063/0.00063, allocations: 19.91 kB / 355 MB, free: 4.047 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-development/package.mo): time 1.895/1.895, allocations: 272.2 MB / 0.6644 GB, free: 13.15 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 112.6 kB / 0.7841 GB, free: 31.79 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2031, allocations: 109.2 MB / 0.8907 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.6334/0.8365, allocations: 216.2 MB / 1.102 GB, free: 28.17 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05654/0.8931, allocations: 45.52 MB / 1.146 GB, free: 14.19 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01086/0.9041, allocations: 243.4 kB / 1.147 GB, free: 14.1 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.009603/0.9137, allocations: 2.644 MB / 1.149 GB, free: 11.92 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.02619/0.94, allocations: 7.272 MB / 1.156 GB, free: 6.09 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01735/0.9573, allocations: 6.086 MB / 1.162 GB, free: 1.473 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.02769/0.9851, allocations: 21.35 MB / 1.183 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01147/0.9966, allocations: 4.807 MB / 1.188 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01812/1.015, allocations: 5.391 MB / 1.193 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01021/1.025, allocations: 4.453 MB / 1.197 GB, free: 15.83 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002456/1.028, allocations: 280 kB / 1.198 GB, free: 15.56 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/1.04, allocations: 3.365 MB / 1.201 GB, free: 12.19 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003021/1.043, allocations: 1.264 MB / 1.202 GB, free: 10.92 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.007575/1.05, allocations: 3.074 MB / 1.205 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02138/1.072, allocations: 10.97 MB / 1.216 GB, free: 12.82 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.072, allocations: 8 kB / 1.216 GB, free: 12.81 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.694e-06/1.072, allocations: 0 / 1.216 GB, free: 12.81 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.0003934/1.072, allocations: 0 / 1.216 GB, free: 12.81 MB / 0.8107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.02242/1.095, allocations: 6.727 MB / 1.222 GB, free: 5.984 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.095, allocations: 11.97 kB / 1.222 GB, free: 5.973 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006735/1.101, allocations: 1.206 MB / 1.224 GB, free: 4.758 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/1.115, allocations: 5.692 MB / 1.229 GB, free: 15 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00116/1.116, allocations: 435 kB / 1.23 GB, free: 14.57 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/1.117, allocations: 352 kB / 1.23 GB, free: 14.23 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/1.129, allocations: 4.179 MB / 1.234 GB, free: 9.91 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/1.13, allocations: 15.84 kB / 1.234 GB, free: 9.895 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007369/1.13, allocations: 143.9 kB / 1.234 GB, free: 9.754 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.248e-05/1.13, allocations: 80 kB / 1.234 GB, free: 9.676 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009923/1.14, allocations: 3.589 MB / 1.238 GB, free: 6.078 MB / 0.8263 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.0359/1.176, allocations: 19.7 MB / 1.257 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005718/1.182, allocations: 2.481 MB / 1.259 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003406/1.186, allocations: 1.474 MB / 1.261 GB, free: 13.38 MB / 0.8575 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.01608/1.202, allocations: 8.325 MB / 1.269 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003876/1.206, allocations: 1.508 MB / 1.27 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002435/1.208, allocations: 257.8 kB / 1.271 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=209): time 7.775e-06/1.208, allocations: 0 / 1.271 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=209): time 0.01611/1.224, allocations: 5.16 MB / 1.276 GB, free: 13.15 MB / 0.8732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/1.224, allocations: 128.8 kB / 1.276 GB, free: 13 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009711/1.234, allocations: 4.312 MB / 1.28 GB, free: 8.703 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0003773/1.234, allocations: 69.7 kB / 1.28 GB, free: 8.629 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.002664/1.237, allocations: 2.394 MB / 1.282 GB, free: 6.215 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009619/1.238, allocations: 0.7202 MB / 1.283 GB, free: 5.484 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/1.24, allocations: 0.5482 MB / 1.284 GB, free: 4.93 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.24, allocations: 305.1 kB / 1.284 GB, free: 4.629 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004296/1.244, allocations: 1.258 MB / 1.285 GB, free: 3.363 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005483/1.249, allocations: 2.155 MB / 1.287 GB, free: 0.8203 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06067/1.31, allocations: 10.48 MB / 1.298 GB, free: 5.984 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-05/1.31, allocations: 4 kB / 1.298 GB, free: 5.98 MB / 0.8888 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01178/1.322, allocations: 4.235 MB / 1.302 GB, free: 1.695 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.322, allocations: 79.39 kB / 1.302 GB, free: 1.605 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.442e-05/1.322, allocations: 28.09 kB / 1.302 GB, free: 1.578 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/1.324, allocations: 381.3 kB / 1.302 GB, free: 1.199 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/1.327, allocations: 0.7021 MB / 1.303 GB, free: 0.4961 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/1.331, allocations: 4.166 MB / 1.307 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004973/1.336, allocations: 420.5 kB / 1.307 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007205/1.337, allocations: 147.9 kB / 1.307 GB, free: 11.54 MB / 0.9044 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.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.006378/1.343, allocations: 2.358 MB / 1.31 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00438/1.347, allocations: 2.1 MB / 1.312 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04945/1.397, allocations: 10.25 MB / 1.322 GB, free: 12.08 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.72e-05/1.397, allocations: 4 kB / 1.322 GB, free: 12.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.01104/1.408, allocations: 4.138 MB / 1.326 GB, free: 7.887 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.436e-05/1.408, allocations: 79.39 kB / 1.326 GB, free: 7.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/1.408, allocations: 20 kB / 1.326 GB, free: 7.777 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/1.41, allocations: 377.5 kB / 1.326 GB, free: 7.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/1.412, allocations: 0.6514 MB / 1.327 GB, free: 6.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/1.415, allocations: 2.378 MB / 1.329 GB, free: 4.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/1.42, allocations: 405.1 kB / 1.33 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005673/1.42, allocations: 147.9 kB / 1.33 GB, free: 3.672 MB / 0.92 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.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: 99 * 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 (314): * Single equations (assignments): 305 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001356/1.422, allocations: 0.5986 MB / 1.33 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/1.423, allocations: 486 kB / 1.331 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.435, allocations: 4.313 MB / 1.335 GB, free: 14.25 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-05/1.435, allocations: 27.98 kB / 1.335 GB, free: 14.22 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.435, allocations: 48 / 1.335 GB, free: 14.22 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007196/1.442, allocations: 3.395 MB / 1.338 GB, free: 10.69 MB / 0.9357 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 postOpt removeSimpleEquations (simulation): time 0.02445/1.467, allocations: 8.944 MB / 1.347 GB, free: 1.555 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.467, allocations: 4.219 kB / 1.347 GB, free: 1.551 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002379/1.469, allocations: 475.4 kB / 1.348 GB, free: 1.086 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/1.47, allocations: 345.4 kB / 1.348 GB, free: 0.7422 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002708/1.471, allocations: 71.95 kB / 1.348 GB, free: 0.6719 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004062/1.475, allocations: 4.191 MB / 1.352 GB, free: 12.25 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.475, allocations: 7.875 kB / 1.352 GB, free: 12.24 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/1.488, allocations: 5.59 MB / 1.358 GB, free: 6.527 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/1.49, allocations: 0.9319 MB / 1.358 GB, free: 5.57 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001412/1.492, allocations: 48 kB / 1.358 GB, free: 5.523 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004023/1.496, allocations: 407.3 kB / 1.359 GB, free: 5.125 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/1.496, allocations: 149.7 kB / 1.359 GB, free: 4.977 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003159/1.497, allocations: 111.9 kB / 1.359 GB, free: 4.867 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.006169/1.503, allocations: 2.915 MB / 1.362 GB, free: 1.973 MB / 0.9513 GB Notification: Performance of sort global known variables: time 1.102e-06/1.503, allocations: 4 kB / 1.362 GB, free: 1.969 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.009785/1.513, allocations: 2.666 MB / 1.365 GB, free: 15.3 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * 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 (214): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003178/1.516, allocations: 1.28 MB / 1.366 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01341/1.529, allocations: 5.578 MB / 1.371 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.529, allocations: 8.25 kB / 1.371 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004724/1.534, allocations: 1.895 MB / 1.373 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01293/1.547, allocations: 2.545 MB / 1.376 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/1.567, allocations: 11.11 MB / 1.386 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003441/1.57, allocations: 2.71 MB / 1.389 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005929/1.576, allocations: 1.182 MB / 1.39 GB, free: 5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.578, allocations: 383.2 kB / 1.391 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of SimCode: time 1.252e-06/1.578, allocations: 0 / 1.391 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of Templates: time 0.525/2.103, allocations: 106.6 MB / 1.495 GB, free: 297.4 MB / 0.9825 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)