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-master/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-master/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.001533/0.001533, allocations: 105.5 kB / 16.27 MB, free: 5.957 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.001711/0.001711, allocations: 187.1 kB / 17.19 MB, free: 5.59 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05787/0.05787, allocations: 12.03 MB / 303.1 MB, free: 3.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000464/0.0004641, allocations: 27.95 kB / 356.2 MB, free: 14.05 MB / 302.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 2.017/2.017, allocations: 272.3 MB / 0.6656 GB, free: 18.37 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.00219, allocations: 119.8 kB / 0.7857 GB, free: 13.59 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2197, allocations: 109.1 MB / 0.8923 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.6404/0.8601, allocations: 217.6 MB / 1.105 GB, free: 3.77 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.06653/0.9267, allocations: 45.33 MB / 1.149 GB, free: 6.402 MB / 0.8107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01212/0.9388, allocations: 262.5 kB / 1.149 GB, free: 6.145 MB / 0.8107 GB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.9491, allocations: 3.141 MB / 1.152 GB, free: 2.984 MB / 0.8107 GB Notification: Performance of NFTyping.typeBindings: time 0.02376/0.9729, allocations: 7.751 MB / 1.16 GB, free: 11.21 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.01679/0.9897, allocations: 6.644 MB / 1.166 GB, free: 4.66 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.02377/1.014, allocations: 16.64 MB / 1.183 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/1.025, allocations: 5.921 MB / 1.188 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01589/1.041, allocations: 6.445 MB / 1.195 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008692/1.05, allocations: 4.492 MB / 1.199 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002884/1.053, allocations: 0.6523 MB / 1.2 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/1.064, allocations: 3.71 MB / 1.203 GB, free: 14.75 MB / 0.8732 GB Notification: Performance of NFScalarize.scalarize: time 0.003077/1.067, allocations: 1.624 MB / 1.205 GB, free: 13.12 MB / 0.8732 GB Notification: Performance of NFVerifyModel.verify: time 0.007527/1.075, allocations: 3.481 MB / 1.208 GB, free: 9.625 MB / 0.8732 GB Notification: Performance of NFConvertDAE.convert: time 0.02019/1.095, allocations: 11.19 MB / 1.219 GB, free: 14.4 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/1.095, allocations: 0 / 1.219 GB, free: 14.4 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.673e-06/1.095, allocations: 0 / 1.219 GB, free: 14.4 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 0.0003459/1.095, allocations: 0 / 1.219 GB, free: 14.4 MB / 0.8888 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.01725/1.113, allocations: 6.717 MB / 1.226 GB, free: 7.582 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.113, allocations: 12.03 kB / 1.226 GB, free: 7.57 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006409/1.119, allocations: 1.21 MB / 1.227 GB, free: 6.352 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/1.131, allocations: 5.488 MB / 1.232 GB, free: 0.7891 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001175/1.133, allocations: 439 kB / 1.233 GB, free: 368 kB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/1.134, allocations: 348 kB / 1.233 GB, free: 20 kB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/1.145, allocations: 4.19 MB / 1.237 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/1.145, allocations: 16.66 kB / 1.237 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007328/1.146, allocations: 139.9 kB / 1.237 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.097e-05/1.146, allocations: 84 kB / 1.238 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009027/1.155, allocations: 3.562 MB / 1.241 GB, free: 7.875 MB / 0.9044 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.03128/1.186, allocations: 20.2 MB / 1.261 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00541/1.192, allocations: 2.442 MB / 1.263 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/1.195, allocations: 1.458 MB / 1.265 GB, free: 14.75 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 preOpt evalFunc (simulation): time 0.01183/1.207, allocations: 8.303 MB / 1.273 GB, free: 5.574 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003254/1.21, allocations: 1.485 MB / 1.274 GB, free: 4.066 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=207): time 4.308e-06/1.21, allocations: 0 / 1.274 GB, free: 4.066 MB / 0.9357 GB Notification: Performance of matching and sorting (n=207): time 0.5351/1.745, allocations: 5.089 MB / 1.279 GB, free: 302.5 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/1.745, allocations: 132.1 kB / 1.279 GB, free: 302.4 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007777/1.753, allocations: 4.394 MB / 1.283 GB, free: 302.1 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.0006348/1.754, allocations: 74.89 kB / 1.284 GB, free: 302.1 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.002298/1.756, allocations: 2.405 MB / 1.286 GB, free: 301.9 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.757, allocations: 0.7121 MB / 1.287 GB, free: 301.7 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008955/1.758, allocations: 0.5437 MB / 1.287 GB, free: 301.7 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/1.758, allocations: 301.8 kB / 1.287 GB, free: 301.4 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/1.761, allocations: 1.247 MB / 1.289 GB, free: 301.3 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003444/1.765, allocations: 2.155 MB / 1.291 GB, free: 300.3 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04559/1.81, allocations: 10.44 MB / 1.301 GB, free: 298 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.521e-05/1.81, allocations: 6.406 kB / 1.301 GB, free: 298 MB / 0.9357 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01173/1.822, allocations: 4.218 MB / 1.305 GB, free: 296.4 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 9.413e-05/1.822, allocations: 82.67 kB / 1.305 GB, free: 296.4 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.449e-05/1.822, allocations: 24.59 kB / 1.305 GB, free: 296.4 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/1.824, allocations: 386.9 kB / 1.306 GB, free: 296.3 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/1.827, allocations: 0.6958 MB / 1.306 GB, free: 296.3 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/1.83, allocations: 4.324 MB / 1.31 GB, free: 292.3 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004837/1.835, allocations: 403.4 kB / 1.311 GB, free: 292.1 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005683/1.835, allocations: 146.4 kB / 1.311 GB, free: 292 MB / 0.9357 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.006387/1.842, allocations: 2.348 MB / 1.313 GB, free: 291 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004066/1.846, allocations: 2.106 MB / 1.315 GB, free: 289.5 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04811/1.894, allocations: 10.22 MB / 1.325 GB, free: 286.6 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-05/1.894, allocations: 7.375 kB / 1.325 GB, free: 286.6 MB / 0.9357 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01149/1.906, allocations: 4.115 MB / 1.329 GB, free: 285 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 8.498e-05/1.906, allocations: 79.08 kB / 1.329 GB, free: 285 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.286e-05/1.906, allocations: 24.27 kB / 1.329 GB, free: 285 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/1.907, allocations: 379.5 kB / 1.33 GB, free: 284.9 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/1.91, allocations: 0.661 MB / 1.33 GB, free: 284.8 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/1.912, allocations: 2.533 MB / 1.333 GB, free: 282.6 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/1.917, allocations: 338.2 kB / 1.333 GB, free: 282.4 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007261/1.918, allocations: 142.2 kB / 1.333 GB, free: 282.4 MB / 0.9357 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: 101 * 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 (313): * Single equations (assignments): 304 * 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.001732/1.92, allocations: 0.6043 MB / 1.334 GB, free: 282 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002337/1.922, allocations: 483.7 kB / 1.334 GB, free: 281.7 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/1.936, allocations: 4.296 MB / 1.339 GB, free: 280.1 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-05/1.936, allocations: 31.03 kB / 1.339 GB, free: 280.1 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/1.936, allocations: 2.297 kB / 1.339 GB, free: 280.1 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008472/1.944, allocations: 3.343 MB / 1.342 GB, free: 278.5 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02972/1.974, allocations: 8.943 MB / 1.351 GB, free: 274.7 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.34e-05/1.974, allocations: 1.625 kB / 1.351 GB, free: 274.7 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002583/1.977, allocations: 474.4 kB / 1.351 GB, free: 274.7 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/1.978, allocations: 350.9 kB / 1.351 GB, free: 274.6 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006815/1.979, allocations: 76.56 kB / 1.351 GB, free: 274.5 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00419/1.983, allocations: 4.344 MB / 1.356 GB, free: 270.5 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.983, allocations: 3.172 kB / 1.356 GB, free: 270.5 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.999, allocations: 5.745 MB / 1.361 GB, free: 268 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003422/2.002, allocations: 0.9653 MB / 1.362 GB, free: 267.4 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001726/2.004, allocations: 47.78 kB / 1.362 GB, free: 267.3 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00375/2.008, allocations: 181.4 kB / 1.362 GB, free: 267.3 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/2.008, allocations: 144.6 kB / 1.363 GB, free: 267.3 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003572/2.009, allocations: 99.11 kB / 1.363 GB, free: 267.3 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.007271/2.016, allocations: 2.993 MB / 1.366 GB, free: 266.2 MB / 0.9357 GB Notification: Performance of sort global known variables: time 7.12e-07/2.016, allocations: 0 / 1.366 GB, free: 266.2 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.01126/2.027, allocations: 2.674 MB / 1.368 GB, free: 265.7 MB / 0.9357 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 (212): * Single equations (assignments): 183 * 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.003593/2.031, allocations: 1.346 MB / 1.37 GB, free: 265.4 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.01781/2.049, allocations: 5.914 MB / 1.375 GB, free: 261.3 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/2.049, allocations: 4 kB / 1.375 GB, free: 261.3 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.004377/2.053, allocations: 1.891 MB / 1.377 GB, free: 259.4 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01452/2.068, allocations: 2.642 MB / 1.38 GB, free: 257.2 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/2.088, allocations: 9.405 MB / 1.389 GB, free: 247.8 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/2.09, allocations: 2.696 MB / 1.392 GB, free: 245.1 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/2.091, allocations: 410.6 kB / 1.392 GB, free: 244.7 MB / 0.9357 GB Notification: Performance of SimCode: time 1.062e-06/2.091, allocations: 0 / 1.392 GB, free: 244.7 MB / 0.9357 GB Notification: Performance of Templates: time 0.1887/2.28, allocations: 228.5 MB / 1.615 GB, free: 16.94 MB / 0.9357 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)