Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_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.001409/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001392/0.001392, allocations: 199.1 kB / 16.14 MB, free: 6.703 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.211/0.211, allocations: 12.01 MB / 302 MB, free: 0.9805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004735/0.0004732, allocations: 27.89 kB / 355 MB, free: 4.027 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/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.2/package.mo): time 1.753/1.753, allocations: 268.1 MB / 0.6603 GB, free: 1.035 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 110.1 kB / 0.7794 GB, free: 32.85 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.212, allocations: 108.4 MB / 0.8852 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.6859/0.8979, allocations: 216.2 MB / 1.096 GB, free: 29.95 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05647/0.9545, allocations: 45.52 MB / 1.141 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01312/0.9676, allocations: 242.7 kB / 1.141 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01341/0.9811, allocations: 2.636 MB / 1.144 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.03129/1.012, allocations: 7.275 MB / 1.151 GB, free: 14.04 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.02276/1.035, allocations: 6.071 MB / 1.157 GB, free: 9.457 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.03456/1.07, allocations: 21.35 MB / 1.177 GB, free: 7.137 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0135/1.083, allocations: 4.811 MB / 1.182 GB, free: 2.242 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01882/1.102, allocations: 5.395 MB / 1.187 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01108/1.113, allocations: 4.453 MB / 1.192 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002426/1.116, allocations: 280 kB / 1.192 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01454/1.13, allocations: 3.365 MB / 1.195 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003345/1.134, allocations: 1.268 MB / 1.197 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.008114/1.142, allocations: 3.078 MB / 1.2 GB, free: 348 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.02343/1.165, allocations: 10.98 MB / 1.21 GB, free: 5.328 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.165, allocations: 4 kB / 1.21 GB, free: 5.324 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/1.165, allocations: 0 / 1.21 GB, free: 5.324 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002535/1.166, allocations: 0 / 1.21 GB, free: 5.324 MB / 0.795 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.02063/1.186, allocations: 6.722 MB / 1.217 GB, free: 14.5 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.186, allocations: 12.03 kB / 1.217 GB, free: 14.49 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009751/1.196, allocations: 1.202 MB / 1.218 GB, free: 13.28 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01804/1.214, allocations: 5.698 MB / 1.224 GB, free: 7.508 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001684/1.216, allocations: 431 kB / 1.224 GB, free: 7.086 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/1.217, allocations: 356 kB / 1.224 GB, free: 6.738 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01459/1.232, allocations: 4.183 MB / 1.228 GB, free: 2.418 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/1.232, allocations: 11.84 kB / 1.228 GB, free: 2.406 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005592/1.233, allocations: 143.9 kB / 1.229 GB, free: 2.266 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.26e-05/1.233, allocations: 80 kB / 1.229 GB, free: 2.188 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/1.245, allocations: 3.589 MB / 1.232 GB, free: 14.59 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.04471/1.29, allocations: 19.72 MB / 1.251 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008887/1.299, allocations: 2.473 MB / 1.254 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005053/1.304, allocations: 1.482 MB / 1.255 GB, free: 5.887 MB / 0.8419 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.01836/1.322, allocations: 8.31 MB / 1.263 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005369/1.328, allocations: 1.516 MB / 1.265 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002665/1.33, allocations: 261.7 kB / 1.265 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=209): time 9.457e-06/1.331, allocations: 4 kB / 1.265 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=209): time 0.02266/1.353, allocations: 5.144 MB / 1.27 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.353, allocations: 136.8 kB / 1.27 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008907/1.362, allocations: 4.308 MB / 1.274 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004081/1.363, allocations: 73.64 kB / 1.275 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002426/1.365, allocations: 2.394 MB / 1.277 GB, free: 14.73 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009322/1.366, allocations: 0.7202 MB / 1.278 GB, free: 14 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/1.367, allocations: 0.5481 MB / 1.278 GB, free: 13.45 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.367, allocations: 305.1 kB / 1.278 GB, free: 13.15 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/1.37, allocations: 1.255 MB / 1.28 GB, free: 11.89 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004048/1.375, allocations: 2.151 MB / 1.282 GB, free: 9.352 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05085/1.425, allocations: 10.47 MB / 1.292 GB, free: 14.52 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.791e-05/1.425, allocations: 4 kB / 1.292 GB, free: 14.52 MB / 0.8888 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01155/1.437, allocations: 4.235 MB / 1.296 GB, free: 10.23 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/1.437, allocations: 83.61 kB / 1.296 GB, free: 10.14 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/1.437, allocations: 24 kB / 1.296 GB, free: 10.11 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/1.439, allocations: 390.5 kB / 1.297 GB, free: 9.727 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/1.442, allocations: 0.6943 MB / 1.297 GB, free: 9.031 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003857/1.446, allocations: 4.161 MB / 1.301 GB, free: 4.641 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/1.451, allocations: 420.6 kB / 1.302 GB, free: 4.227 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005709/1.451, allocations: 147.9 kB / 1.302 GB, free: 4.082 MB / 0.8888 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.005985/1.457, allocations: 2.362 MB / 1.304 GB, free: 1.719 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004051/1.461, allocations: 2.104 MB / 1.306 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04781/1.509, allocations: 10.25 MB / 1.316 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.531e-05/1.509, allocations: 7.938 kB / 1.316 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.01061/1.52, allocations: 4.13 MB / 1.32 GB, free: 432 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/1.52, allocations: 79.39 kB / 1.32 GB, free: 340 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/1.52, allocations: 24 kB / 1.32 GB, free: 316 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/1.521, allocations: 369.7 kB / 1.321 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/1.524, allocations: 0.6552 MB / 1.321 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/1.527, allocations: 2.385 MB / 1.324 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005059/1.532, allocations: 413.1 kB / 1.324 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004498/1.532, allocations: 144 kB / 1.324 GB, free: 12.2 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.00125/1.533, allocations: 0.5956 MB / 1.325 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.535, allocations: 486 kB / 1.325 GB, free: 11.1 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.546, allocations: 4.318 MB / 1.329 GB, free: 6.773 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.475e-05/1.546, allocations: 31.98 kB / 1.33 GB, free: 6.742 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.546, allocations: 0 / 1.33 GB, free: 6.742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006986/1.553, allocations: 3.383 MB / 1.333 GB, free: 3.223 MB / 0.92 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.02321/1.576, allocations: 8.948 MB / 1.342 GB, free: 10.08 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.576, allocations: 0 / 1.342 GB, free: 10.08 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/1.578, allocations: 479.4 kB / 1.342 GB, free: 9.613 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/1.579, allocations: 345.4 kB / 1.342 GB, free: 9.27 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002176/1.58, allocations: 75.95 kB / 1.342 GB, free: 9.195 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/1.583, allocations: 4.192 MB / 1.347 GB, free: 4.781 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.583, allocations: 3.938 kB / 1.347 GB, free: 4.777 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/1.596, allocations: 5.586 MB / 1.352 GB, free: 15.06 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/1.598, allocations: 0.9319 MB / 1.353 GB, free: 14.11 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.599, allocations: 52 kB / 1.353 GB, free: 14.05 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004075/1.603, allocations: 411.3 kB / 1.353 GB, free: 13.65 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/1.604, allocations: 145.7 kB / 1.353 GB, free: 13.51 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002914/1.604, allocations: 103.9 kB / 1.354 GB, free: 13.41 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.005732/1.61, allocations: 2.915 MB / 1.356 GB, free: 10.51 MB / 0.9513 GB Notification: Performance of sort global known variables: time 1.6e-07/1.61, allocations: 4 kB / 1.356 GB, free: 10.51 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.007498/1.617, allocations: 2.67 MB / 1.359 GB, free: 7.832 MB / 0.9513 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.002491/1.62, allocations: 1.282 MB / 1.36 GB, free: 6.566 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.632, allocations: 5.571 MB / 1.366 GB, free: 0.9219 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.632, allocations: 4.188 kB / 1.366 GB, free: 0.918 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.004307/1.636, allocations: 1.895 MB / 1.368 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01286/1.649, allocations: 2.551 MB / 1.37 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/1.668, allocations: 11.13 MB / 1.381 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003454/1.671, allocations: 2.702 MB / 1.384 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.006489/1.678, allocations: 1.17 MB / 1.385 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.679, allocations: 391.2 kB / 1.385 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/1.679, allocations: 0 / 1.385 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of Templates: time 0.589/2.268, allocations: 106.6 MB / 1.489 GB, free: 308.7 MB / 0.9825 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)