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-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.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.001276/0.001276, allocations: 104.5 kB / 16.27 MB, free: 5.984 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.001121/0.001121, allocations: 189 kB / 17.19 MB, free: 5.609 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.0546/0.0546, allocations: 12.04 MB / 303.1 MB, free: 3.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005696/0.0005697, allocations: 23.95 kB / 356.2 MB, free: 14.07 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 1.921/1.921, allocations: 272.3 MB / 0.6655 GB, free: 18.44 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001979, allocations: 112.3 kB / 0.7856 GB, free: 13.57 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2358, allocations: 109.2 MB / 0.8922 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.6306/0.8665, allocations: 242.2 MB / 1.129 GB, free: 11.28 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.07805/0.9446, allocations: 48.71 MB / 1.176 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01451/0.9591, allocations: 290.3 kB / 1.177 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.9711, allocations: 3.432 MB / 1.18 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.03036/1.002, allocations: 8.509 MB / 1.188 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01917/1.021, allocations: 6.418 MB / 1.195 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02988/1.051, allocations: 17.35 MB / 1.211 GB, free: 6.586 MB / 0.8732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/1.064, allocations: 6.292 MB / 1.218 GB, free: 288 kB / 0.8732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01948/1.084, allocations: 6.783 MB / 1.224 GB, free: 9.508 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/1.094, allocations: 4.681 MB / 1.229 GB, free: 4.812 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.003311/1.098, allocations: 0.6953 MB / 1.229 GB, free: 4.117 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/1.111, allocations: 3.76 MB / 1.233 GB, free: 360 kB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.004249/1.115, allocations: 1.717 MB / 1.235 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01063/1.126, allocations: 3.714 MB / 1.238 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.02454/1.15, allocations: 11.87 MB / 1.25 GB, free: 14.99 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/1.15, allocations: 4 kB / 1.25 GB, free: 14.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.335e-06/1.15, allocations: 3.938 kB / 1.25 GB, free: 14.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003624/1.151, allocations: 0 / 1.25 GB, free: 14.98 MB / 0.92 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.01979/1.171, allocations: 7.192 MB / 1.257 GB, free: 7.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.171, allocations: 8.625 kB / 1.257 GB, free: 7.676 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007104/1.178, allocations: 1.339 MB / 1.258 GB, free: 6.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/1.192, allocations: 5.952 MB / 1.264 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001507/1.194, allocations: 0.5057 MB / 1.265 GB, free: 15.8 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/1.195, allocations: 376 kB / 1.265 GB, free: 15.44 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009719/1.205, allocations: 4.553 MB / 1.27 GB, free: 10.67 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.43e-05/1.205, allocations: 7.938 kB / 1.27 GB, free: 10.66 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/1.205, allocations: 152 kB / 1.27 GB, free: 10.52 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/1.205, allocations: 91.98 kB / 1.27 GB, free: 10.43 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009426/1.215, allocations: 3.769 MB / 1.273 GB, free: 6.648 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 removeSimpleEquations (simulation): time 0.4541/1.669, allocations: 23.2 MB / 1.296 GB, free: 291.6 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005222/1.674, allocations: 3.046 MB / 1.299 GB, free: 290.8 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/1.677, allocations: 1.314 MB / 1.3 GB, free: 290.8 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.009694/1.686, allocations: 8.461 MB / 1.309 GB, free: 285.3 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002767/1.689, allocations: 1.474 MB / 1.31 GB, free: 284.7 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=184): time 3.226e-06/1.689, allocations: 0 / 1.31 GB, free: 284.7 MB / 0.9357 GB Notification: Performance of matching and sorting (n=184): time 0.01672/1.706, allocations: 5.266 MB / 1.315 GB, free: 283.2 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/1.706, allocations: 179.9 kB / 1.315 GB, free: 283 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008843/1.715, allocations: 4.86 MB / 1.32 GB, free: 281.2 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.0006067/1.715, allocations: 70.8 kB / 1.32 GB, free: 281.1 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.002634/1.718, allocations: 2.685 MB / 1.323 GB, free: 279.1 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009669/1.719, allocations: 0.6233 MB / 1.323 GB, free: 278.7 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009583/1.72, allocations: 0.5597 MB / 1.324 GB, free: 278.4 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 4.573e-05/1.72, allocations: 303.2 kB / 1.324 GB, free: 278.1 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/1.723, allocations: 1.195 MB / 1.325 GB, free: 277.7 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003508/1.726, allocations: 2.272 MB / 1.328 GB, free: 276 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5659/2.292, allocations: 89.44 MB / 1.415 GB, free: 220.2 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.981e-05/2.293, allocations: 8.875 kB / 1.415 GB, free: 220.2 MB / 0.9357 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01058/2.303, allocations: 4.208 MB / 1.419 GB, free: 216.1 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/2.303, allocations: 83.39 kB / 1.419 GB, free: 216 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.562e-05/2.303, allocations: 24 kB / 1.419 GB, free: 216 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/2.305, allocations: 0.666 MB / 1.42 GB, free: 215.3 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/2.308, allocations: 0.6367 MB / 1.42 GB, free: 214.7 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/2.311, allocations: 3.081 MB / 1.423 GB, free: 211.6 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004991/2.316, allocations: 433.8 kB / 1.424 GB, free: 211.2 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005356/2.317, allocations: 152 kB / 1.424 GB, free: 211 MB / 0.9357 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005398/2.322, allocations: 2.332 MB / 1.426 GB, free: 208.7 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003008/2.325, allocations: 2.223 MB / 1.428 GB, free: 206 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5311/2.856, allocations: 89.16 MB / 1.516 GB, free: 116.9 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.124e-05/2.856, allocations: 8 kB / 1.516 GB, free: 116.9 MB / 0.9357 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.009258/2.866, allocations: 4.106 MB / 1.52 GB, free: 112.9 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/2.866, allocations: 83.45 kB / 1.52 GB, free: 112.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/2.866, allocations: 28 kB / 1.52 GB, free: 112.8 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/2.868, allocations: 0.6434 MB / 1.52 GB, free: 112.2 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/2.869, allocations: 0.6013 MB / 1.521 GB, free: 111.6 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/2.872, allocations: 1.866 MB / 1.523 GB, free: 109.7 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/2.876, allocations: 357.2 kB / 1.523 GB, free: 109.4 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/2.876, allocations: 142 kB / 1.523 GB, free: 109.2 MB / 0.9357 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: 123 * 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 (300): * Single equations (assignments): 292 * 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.001026/2.877, allocations: 0.5722 MB / 1.524 GB, free: 108.7 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009805/2.878, allocations: 0.5132 MB / 1.524 GB, free: 108.2 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009302/2.888, allocations: 4.084 MB / 1.528 GB, free: 104.1 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/2.888, allocations: 23.98 kB / 1.528 GB, free: 104.1 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/2.888, allocations: 4 kB / 1.528 GB, free: 104.1 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006748/2.895, allocations: 2.932 MB / 1.531 GB, free: 101.1 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/2.914, allocations: 8.939 MB / 1.54 GB, free: 92.15 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/2.914, allocations: 5.312 kB / 1.54 GB, free: 92.14 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/2.916, allocations: 384.9 kB / 1.54 GB, free: 91.79 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/2.918, allocations: 0.6092 MB / 1.541 GB, free: 91.18 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/2.918, allocations: 63.91 kB / 1.541 GB, free: 91.12 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/2.922, allocations: 3.154 MB / 1.544 GB, free: 87.88 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/2.922, allocations: 8.219 kB / 1.544 GB, free: 87.88 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/2.938, allocations: 5.713 MB / 1.55 GB, free: 82.1 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003081/2.941, allocations: 0.9782 MB / 1.55 GB, free: 81.1 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001729/2.942, allocations: 44 kB / 1.551 GB, free: 81.05 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004013/2.947, allocations: 183.7 kB / 1.551 GB, free: 80.88 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/2.947, allocations: 141.1 kB / 1.551 GB, free: 80.74 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003069/2.947, allocations: 91.94 kB / 1.551 GB, free: 80.65 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.007705/2.955, allocations: 3.311 MB / 1.554 GB, free: 77.34 MB / 0.9357 GB Notification: Performance of sort global known variables: time 2.9e-07/2.955, allocations: 0 / 1.554 GB, free: 77.34 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.0115/2.966, allocations: 2.727 MB / 1.557 GB, free: 74.69 MB / 0.9357 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 (170): * Single equations (assignments): 150 * 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.003427/2.97, allocations: 1.321 MB / 1.558 GB, free: 73.64 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.01519/2.985, allocations: 5.353 MB / 1.563 GB, free: 68.47 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/2.985, allocations: 3.562 kB / 1.563 GB, free: 68.47 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.004535/2.99, allocations: 1.666 MB / 1.565 GB, free: 66.78 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01575/3.005, allocations: 2.661 MB / 1.568 GB, free: 64.54 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/3.028, allocations: 9.457 MB / 1.577 GB, free: 55.05 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004224/3.032, allocations: 2.789 MB / 1.58 GB, free: 52.23 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/3.034, allocations: 387.3 kB / 1.58 GB, free: 51.85 MB / 0.9357 GB Notification: Performance of SimCode: time 1.643e-06/3.034, allocations: 0 / 1.58 GB, free: 51.85 MB / 0.9357 GB Notification: Performance of Templates: time 0.6814/3.716, allocations: 213.7 MB / 1.789 GB, free: 178.6 MB / 0.9357 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)