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.004575/0.004575, allocations: 101 kB / 15.73 MB, free: 6.059 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.001203/0.001203, allocations: 195.2 kB / 16.68 MB, free: 5.969 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05663/0.05663, allocations: 12.04 MB / 302.6 MB, free: 3.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004801/0.0004801, allocations: 35.89 kB / 355.6 MB, free: 13.95 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.061/2.061, allocations: 272.3 MB / 0.665 GB, free: 18.23 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 107.8 kB / 0.8928 GB, free: 15.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5975/0.5996, allocations: 109.1 MB / 0.9994 GB, free: 8.121 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.2945/0.8941, allocations: 217.6 MB / 1.212 GB, free: 6.195 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.1002/0.9944, allocations: 45.36 MB / 1.256 GB, free: 8.73 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01345/1.008, allocations: 266.5 kB / 1.257 GB, free: 8.469 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.01027/1.018, allocations: 3.145 MB / 1.26 GB, free: 5.305 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02357/1.042, allocations: 7.741 MB / 1.267 GB, free: 13.53 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01883/1.061, allocations: 6.677 MB / 1.274 GB, free: 6.891 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.5518/1.613, allocations: 16.65 MB / 1.29 GB, free: 45.01 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/1.624, allocations: 5.926 MB / 1.296 GB, free: 44.21 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0178/1.642, allocations: 6.48 MB / 1.302 GB, free: 44.18 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009927/1.652, allocations: 4.499 MB / 1.306 GB, free: 43.63 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.002785/1.655, allocations: 0.6506 MB / 1.307 GB, free: 43.63 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/1.667, allocations: 3.714 MB / 1.311 GB, free: 43.63 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.003011/1.67, allocations: 1.625 MB / 1.312 GB, free: 43.41 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.006338/1.676, allocations: 3.487 MB / 1.316 GB, free: 42.5 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01716/1.693, allocations: 11.34 MB / 1.327 GB, free: 41.16 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.693, allocations: 0 / 1.327 GB, free: 41.16 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.493e-06/1.693, allocations: 0 / 1.327 GB, free: 41.16 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0002944/1.693, allocations: 0 / 1.327 GB, free: 41.16 MB / 0.9513 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.01387/1.707, allocations: 6.92 MB / 1.334 GB, free: 38.07 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/1.707, allocations: 12.14 kB / 1.334 GB, free: 38.07 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005565/1.713, allocations: 1.242 MB / 1.335 GB, free: 37.68 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/1.723, allocations: 5.776 MB / 1.34 GB, free: 36.61 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/1.724, allocations: 267.9 kB / 1.341 GB, free: 36.6 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007579/1.724, allocations: 358.1 kB / 1.341 GB, free: 36.59 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00748/1.732, allocations: 4.177 MB / 1.345 GB, free: 36.1 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.24e-05/1.732, allocations: 6.219 kB / 1.345 GB, free: 36.1 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/1.732, allocations: 143.2 kB / 1.345 GB, free: 36.1 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/1.732, allocations: 82.5 kB / 1.345 GB, free: 36.1 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007562/1.74, allocations: 3.538 MB / 1.349 GB, free: 36.05 MB / 0.9513 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.02742/1.767, allocations: 20.05 MB / 1.368 GB, free: 27.48 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004815/1.772, allocations: 2.418 MB / 1.371 GB, free: 27.17 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/1.775, allocations: 1.459 MB / 1.372 GB, free: 26.95 MB / 0.9513 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.01012/1.785, allocations: 8.319 MB / 1.38 GB, free: 21.04 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002854/1.788, allocations: 1.478 MB / 1.382 GB, free: 20.59 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=207): time 4.439e-06/1.788, allocations: 0 / 1.382 GB, free: 20.59 MB / 0.9513 GB Notification: Performance of matching and sorting (n=207): time 0.01312/1.801, allocations: 5.039 MB / 1.387 GB, free: 19.07 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/1.801, allocations: 131.7 kB / 1.387 GB, free: 18.94 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006831/1.808, allocations: 4.397 MB / 1.391 GB, free: 17.35 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.000606/1.809, allocations: 72.64 kB / 1.391 GB, free: 17.3 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.001999/1.811, allocations: 2.435 MB / 1.393 GB, free: 16.07 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009863/1.812, allocations: 0.7422 MB / 1.394 GB, free: 15.43 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000802/1.813, allocations: 0.547 MB / 1.395 GB, free: 15.08 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 4.069e-05/1.813, allocations: 311.3 kB / 1.395 GB, free: 14.78 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/1.815, allocations: 1.225 MB / 1.396 GB, free: 13.96 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00304/1.818, allocations: 2.137 MB / 1.398 GB, free: 11.48 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0444/1.863, allocations: 10.37 MB / 1.408 GB, free: 0.8438 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.142e-05/1.863, allocations: 8 kB / 1.408 GB, free: 0.8359 MB / 0.9513 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01043/1.873, allocations: 4.202 MB / 1.413 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/1.873, allocations: 79.39 kB / 1.413 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/1.873, allocations: 24 kB / 1.413 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/1.875, allocations: 382 kB / 1.413 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/1.878, allocations: 0.6932 MB / 1.414 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/1.881, allocations: 4.308 MB / 1.418 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/1.886, allocations: 408.2 kB / 1.418 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/1.886, allocations: 140 kB / 1.418 GB, free: 6.535 MB / 0.9669 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005324/1.891, allocations: 2.344 MB / 1.421 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00363/1.895, allocations: 2.086 MB / 1.423 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04659/1.942, allocations: 10.14 MB / 1.433 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.372e-05/1.942, allocations: 8 kB / 1.433 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01023/1.952, allocations: 4.097 MB / 1.437 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/1.952, allocations: 83.38 kB / 1.437 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/1.952, allocations: 24 kB / 1.437 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/1.953, allocations: 372.2 kB / 1.437 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/1.956, allocations: 0.6504 MB / 1.438 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/1.958, allocations: 2.52 MB / 1.44 GB, free: 15.55 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/1.962, allocations: 344.2 kB / 1.441 GB, free: 15.21 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000406/1.963, allocations: 147.9 kB / 1.441 GB, free: 15.07 MB / 0.9982 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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.001046/1.964, allocations: 0.5939 MB / 1.441 GB, free: 14.49 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/1.965, allocations: 0.5085 MB / 1.442 GB, free: 13.98 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009542/1.975, allocations: 4.243 MB / 1.446 GB, free: 9.754 MB / 0.9982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.173e-05/1.975, allocations: 27.98 kB / 1.446 GB, free: 9.727 MB / 0.9982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.975, allocations: 7.984 kB / 1.446 GB, free: 9.719 MB / 0.9982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006613/1.982, allocations: 3.308 MB / 1.449 GB, free: 6.277 MB / 0.9982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02161/2.003, allocations: 8.879 MB / 1.458 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/2.003, allocations: 4 kB / 1.458 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/2.005, allocations: 463 kB / 1.458 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/2.007, allocations: 332.5 kB / 1.459 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/2.007, allocations: 71.95 kB / 1.459 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003645/2.01, allocations: 4.34 MB / 1.463 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.01, allocations: 0 / 1.463 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/2.024, allocations: 5.702 MB / 1.468 GB, free: 2.129 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/2.026, allocations: 1.001 MB / 1.469 GB, free: 1.105 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/2.027, allocations: 51.94 kB / 1.469 GB, free: 1.055 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/2.03, allocations: 171.1 kB / 1.47 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/2.031, allocations: 149.8 kB / 1.47 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002685/2.031, allocations: 103.9 kB / 1.47 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.006401/2.037, allocations: 2.985 MB / 1.473 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/2.037, allocations: 0 / 1.473 GB, free: 13.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.008612/2.046, allocations: 2.701 MB / 1.475 GB, free: 10.97 MB / 1.029 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.003044/2.049, allocations: 1.351 MB / 1.477 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01216/2.061, allocations: 5.507 MB / 1.482 GB, free: 4.355 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/2.061, allocations: 6 kB / 1.482 GB, free: 4.352 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/2.065, allocations: 1.878 MB / 1.484 GB, free: 2.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01179/2.077, allocations: 2.643 MB / 1.487 GB, free: 112 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/2.095, allocations: 9.271 MB / 1.496 GB, free: 6.848 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00315/2.098, allocations: 2.706 MB / 1.498 GB, free: 4.109 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00639/2.104, allocations: 1.183 MB / 1.499 GB, free: 3.031 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/2.106, allocations: 390.3 kB / 1.5 GB, free: 2.656 MB / 1.045 GB Notification: Performance of SimCode: time 1.122e-06/2.106, allocations: 0 / 1.5 GB, free: 2.656 MB / 1.045 GB Notification: Performance of Templates: time 0.1686/2.274, allocations: 108 MB / 1.605 GB, free: 8.414 MB / 1.154 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)