Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/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.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008313/0.008313, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.402/1.402, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2356/0.2356, allocations: 12.01 MB / 303.4 MB, free: 1.648 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0001884/0.0001884, allocations: 15.92 kB / 357.5 MB, free: 3.102 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 2.041/2.041, allocations: 270.9 MB / 0.6665 GB, free: 15.27 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005069, allocations: 14.16 kB / 0.7881 GB, free: 31.42 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2563, allocations: 111 MB / 0.8964 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 1.084/1.34, allocations: 236.8 MB / 1.128 GB, free: 26.74 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1011/1.441, allocations: 48.33 MB / 1.175 GB, free: 5.094 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01803/1.459, allocations: 254.9 kB / 1.175 GB, free: 4.988 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.0166/1.476, allocations: 2.872 MB / 1.178 GB, free: 2.613 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.04386/1.52, allocations: 7.973 MB / 1.186 GB, free: 11.51 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.02685/1.547, allocations: 5.909 MB / 1.192 GB, free: 5.676 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.04653/1.593, allocations: 22.06 MB / 1.213 GB, free: 15.56 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01521/1.609, allocations: 4.978 MB / 1.218 GB, free: 10.49 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02276/1.631, allocations: 5.472 MB / 1.223 GB, free: 4.992 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01299/1.644, allocations: 4.429 MB / 1.228 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002443/1.647, allocations: 216 kB / 1.228 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/1.664, allocations: 3.319 MB / 1.231 GB, free: 13.01 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 0.00388/1.668, allocations: 1.209 MB / 1.232 GB, free: 11.79 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 0.01021/1.679, allocations: 3.157 MB / 1.235 GB, free: 8.613 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.03376/1.712, allocations: 11.36 MB / 1.246 GB, free: 13.22 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.712, allocations: 0 / 1.246 GB, free: 13.22 MB / 0.8263 GB Notification: Performance of FrontEnd: time 3.907e-06/1.712, allocations: 4 kB / 1.246 GB, free: 13.21 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.0004044/1.713, allocations: 0 / 1.246 GB, free: 13.21 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.02298/1.736, allocations: 5.893 MB / 1.252 GB, free: 7.219 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/1.736, allocations: 8.031 kB / 1.252 GB, free: 7.211 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/1.747, allocations: 1.456 MB / 1.254 GB, free: 5.746 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/1.762, allocations: 6.178 MB / 1.26 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002443/1.764, allocations: 0.5346 MB / 1.26 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/1.766, allocations: 379.9 kB / 1.261 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/1.776, allocations: 4.537 MB / 1.265 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.512e-05/1.777, allocations: 7.938 kB / 1.265 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/1.777, allocations: 148 kB / 1.265 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/1.777, allocations: 88 kB / 1.265 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00948/1.786, allocations: 3.883 MB / 1.269 GB, free: 5.762 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 removeSimpleEquations (simulation): time 0.03509/1.822, allocations: 22.21 MB / 1.291 GB, free: 14.33 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006493/1.828, allocations: 3.232 MB / 1.294 GB, free: 10.96 MB / 0.8732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005181/1.833, allocations: 1.438 MB / 1.295 GB, free: 9.523 MB / 0.8732 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.02763/1.861, allocations: 8.675 MB / 1.304 GB, free: 15.91 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00588/1.867, allocations: 1.623 MB / 1.305 GB, free: 14.25 MB / 0.8888 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003568/1.871, allocations: 269.6 kB / 1.306 GB, free: 13.99 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=186): time 1.312e-05/1.871, allocations: 7.984 kB / 1.306 GB, free: 13.98 MB / 0.8888 GB Notification: Performance of matching and sorting (n=186): time 0.02596/1.897, allocations: 6.024 MB / 1.311 GB, free: 7.891 MB / 0.8888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/1.897, allocations: 184.2 kB / 1.312 GB, free: 7.672 MB / 0.8888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009304/1.906, allocations: 4.741 MB / 1.316 GB, free: 2.961 MB / 0.8888 GB Notification: Performance of collectPreVariables (initialization): time 0.0006951/1.907, allocations: 69.7 kB / 1.316 GB, free: 2.887 MB / 0.8888 GB Notification: Performance of collectInitialEqns (initialization): time 0.002795/1.91, allocations: 2.652 MB / 1.319 GB, free: 220 kB / 0.8888 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.911, allocations: 0.6318 MB / 1.32 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/1.911, allocations: 210.9 kB / 1.32 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.911, allocations: 309.1 kB / 1.32 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003216/1.914, allocations: 1.285 MB / 1.321 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004089/1.919, allocations: 2.317 MB / 1.324 GB, free: 11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.102/3.02, allocations: 79.63 MB / 1.401 GB, free: 351.1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.937e-05/3.021, allocations: 8.156 kB / 1.401 GB, free: 351.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.01091/3.031, allocations: 4.378 MB / 1.406 GB, free: 350.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004961/3.032, allocations: 0.9172 MB / 1.406 GB, free: 349.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/3.032, allocations: 23.72 kB / 1.406 GB, free: 349.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/3.035, allocations: 0.7038 MB / 1.407 GB, free: 349.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/3.037, allocations: 0.6437 MB / 1.408 GB, free: 349.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/3.041, allocations: 3.128 MB / 1.411 GB, free: 347.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006117/3.047, allocations: 452.8 kB / 1.411 GB, free: 347.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006886/3.048, allocations: 139.5 kB / 1.411 GB, free: 347.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/3.048, allocations: 5.812 kB / 1.411 GB, free: 347.5 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01052/3.058, allocations: 3.835 MB / 1.415 GB, free: 347.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.645e-05/3.059, allocations: 30.53 kB / 1.415 GB, free: 347.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/3.061, allocations: 0.6827 MB / 1.416 GB, free: 347.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/3.064, allocations: 0.6182 MB / 1.416 GB, free: 347.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/3.067, allocations: 1.911 MB / 1.418 GB, free: 346.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005539/3.073, allocations: 454.8 kB / 1.419 GB, free: 346.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005938/3.074, allocations: 140.7 kB / 1.419 GB, free: 346.1 MB / 0.9669 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.003424/3.077, allocations: 1.491 MB / 1.42 GB, free: 345.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/3.078, allocations: 0.501 MB / 1.421 GB, free: 345.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/3.089, allocations: 4.366 MB / 1.425 GB, free: 343.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.743e-05/3.089, allocations: 24.8 kB / 1.425 GB, free: 343.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/3.089, allocations: 6.219 kB / 1.425 GB, free: 343.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007575/3.097, allocations: 3.172 MB / 1.428 GB, free: 342.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/3.116, allocations: 9.015 MB / 1.437 GB, free: 339 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/3.117, allocations: 5.844 kB / 1.437 GB, free: 339 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/3.118, allocations: 388.8 kB / 1.437 GB, free: 339 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/3.12, allocations: 0.6485 MB / 1.438 GB, free: 338.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002394/3.121, allocations: 58.02 kB / 1.438 GB, free: 338.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/3.125, allocations: 3.254 MB / 1.441 GB, free: 336.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/3.125, allocations: 3.969 kB / 1.441 GB, free: 336.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/3.138, allocations: 5.758 MB / 1.447 GB, free: 333.9 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002747/3.141, allocations: 0.9991 MB / 1.448 GB, free: 333.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007992/3.142, allocations: 49.72 kB / 1.448 GB, free: 333.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003744/3.146, allocations: 434.5 kB / 1.448 GB, free: 333.1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/3.146, allocations: 137.9 kB / 1.448 GB, free: 333.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/3.146, allocations: 101.5 kB / 1.449 GB, free: 333 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0053/3.151, allocations: 3.221 MB / 1.452 GB, free: 331.4 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/3.151, allocations: 0 / 1.452 GB, free: 331.4 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.009039/3.16, allocations: 2.706 MB / 1.454 GB, free: 331.1 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002576/3.163, allocations: 1.266 MB / 1.456 GB, free: 330.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.011/3.174, allocations: 5.307 MB / 1.461 GB, free: 325.9 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/3.174, allocations: 3.516 kB / 1.461 GB, free: 325.9 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004039/3.178, allocations: 1.745 MB / 1.462 GB, free: 324.1 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01516/3.193, allocations: 2.586 MB / 1.465 GB, free: 321.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/3.21, allocations: 11.45 MB / 1.476 GB, free: 310.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/3.212, allocations: 2.81 MB / 1.479 GB, free: 307.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.005749/3.218, allocations: 1.123 MB / 1.48 GB, free: 306.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/3.219, allocations: 375.3 kB / 1.48 GB, free: 305.9 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/3.219, allocations: 0 / 1.48 GB, free: 305.9 MB / 0.9669 GB Notification: Performance of Templates: time 0.1515/3.371, allocations: 108.4 MB / 1.586 GB, free: 198.6 MB / 0.9669 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)