Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1701/0.1701, allocations: 12.01 MB / 302.4 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005293/0.0005291, allocations: 35.92 kB / 355.5 MB, free: 3.789 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.832/1.832, allocations: 268.1 MB / 0.6608 GB, free: 0.75 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 114 kB / 0.7801 GB, free: 32.65 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2869, allocations: 108.4 MB / 0.8859 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.6583/0.9452, allocations: 217.6 MB / 1.098 GB, free: 27.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05419/0.9995, allocations: 45.34 MB / 1.143 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01265/1.012, allocations: 266.6 kB / 1.143 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.009122/1.021, allocations: 3.136 MB / 1.146 GB, free: 196 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02463/1.046, allocations: 7.752 MB / 1.154 GB, free: 9.898 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01822/1.064, allocations: 6.647 MB / 1.16 GB, free: 4.766 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.0265/1.091, allocations: 16.64 MB / 1.176 GB, free: 7.34 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0126/1.103, allocations: 5.911 MB / 1.182 GB, free: 1.34 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01493/1.118, allocations: 6.474 MB / 1.188 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009035/1.127, allocations: 4.485 MB / 1.193 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00245/1.13, allocations: 0.6562 MB / 1.193 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01154/1.142, allocations: 3.702 MB / 1.197 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003022/1.145, allocations: 1.628 MB / 1.199 GB, free: 380 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.007249/1.152, allocations: 3.484 MB / 1.202 GB, free: 12.87 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02108/1.173, allocations: 11.19 MB / 1.213 GB, free: 1.648 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.173, allocations: 0 / 1.213 GB, free: 1.648 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/1.173, allocations: 0 / 1.213 GB, free: 1.648 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003523/1.173, allocations: 0 / 1.213 GB, free: 1.648 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.01526/1.189, allocations: 6.725 MB / 1.22 GB, free: 10.82 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.189, allocations: 8.625 kB / 1.22 GB, free: 10.81 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006066/1.195, allocations: 1.206 MB / 1.221 GB, free: 9.598 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/1.21, allocations: 5.484 MB / 1.226 GB, free: 4.039 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001879/1.212, allocations: 435 kB / 1.227 GB, free: 3.613 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/1.214, allocations: 363.9 kB / 1.227 GB, free: 3.258 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/1.228, allocations: 4.178 MB / 1.231 GB, free: 14.93 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/1.228, allocations: 11.84 kB / 1.231 GB, free: 14.92 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006086/1.229, allocations: 143.9 kB / 1.231 GB, free: 14.78 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.42e-05/1.229, allocations: 84 kB / 1.231 GB, free: 14.7 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/1.241, allocations: 3.569 MB / 1.235 GB, free: 11.12 MB / 0.8263 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02676/1.268, allocations: 20.2 MB / 1.254 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005036/1.273, allocations: 2.431 MB / 1.257 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002993/1.276, allocations: 1.466 MB / 1.258 GB, free: 1.977 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01055/1.286, allocations: 8.295 MB / 1.266 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003185/1.289, allocations: 1.492 MB / 1.268 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=207): time 3.957e-06/1.289, allocations: 0 / 1.268 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=207): time 0.01496/1.304, allocations: 5.089 MB / 1.273 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/1.305, allocations: 140.8 kB / 1.273 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007348/1.312, allocations: 4.39 MB / 1.277 GB, free: 13.59 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0002868/1.312, allocations: 77.69 kB / 1.277 GB, free: 13.5 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.002203/1.314, allocations: 2.401 MB / 1.28 GB, free: 11.08 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008037/1.315, allocations: 0.7008 MB / 1.28 GB, free: 10.37 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008416/1.316, allocations: 0.5442 MB / 1.281 GB, free: 9.82 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/1.316, allocations: 305.1 kB / 1.281 GB, free: 9.52 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/1.319, allocations: 1.251 MB / 1.282 GB, free: 8.262 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/1.322, allocations: 2.146 MB / 1.284 GB, free: 5.723 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07369/1.396, allocations: 10.45 MB / 1.295 GB, free: 10.91 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.612e-05/1.396, allocations: 12 kB / 1.295 GB, free: 10.89 MB / 0.8888 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01585/1.412, allocations: 4.215 MB / 1.299 GB, free: 6.629 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/1.412, allocations: 80.33 kB / 1.299 GB, free: 6.539 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.137e-05/1.412, allocations: 20 kB / 1.299 GB, free: 6.52 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/1.414, allocations: 393.4 kB / 1.299 GB, free: 6.129 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004783/1.419, allocations: 0.6981 MB / 1.3 GB, free: 5.43 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005449/1.425, allocations: 4.336 MB / 1.304 GB, free: 0.8594 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00616/1.431, allocations: 394.3 kB / 1.304 GB, free: 484 kB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006751/1.431, allocations: 147.9 kB / 1.305 GB, free: 336 kB / 0.8888 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008251/1.44, allocations: 2.346 MB / 1.307 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006229/1.446, allocations: 2.111 MB / 1.309 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07472/1.521, allocations: 10.22 MB / 1.319 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.89e-05/1.521, allocations: 4 kB / 1.319 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01597/1.537, allocations: 4.118 MB / 1.323 GB, free: 12.71 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.537, allocations: 81.58 kB / 1.323 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.286e-05/1.537, allocations: 28.16 kB / 1.323 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/1.539, allocations: 369.4 kB / 1.323 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/1.543, allocations: 0.6553 MB / 1.324 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004/1.547, allocations: 2.549 MB / 1.327 GB, free: 8.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006089/1.553, allocations: 339.7 kB / 1.327 GB, free: 8.527 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005487/1.554, allocations: 136 kB / 1.327 GB, free: 8.395 MB / 0.92 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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.001482/1.555, allocations: 0.6192 MB / 1.328 GB, free: 7.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/1.558, allocations: 485.9 kB / 1.328 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/1.574, allocations: 4.277 MB / 1.332 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.18e-05/1.574, allocations: 31.98 kB / 1.332 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/1.574, allocations: 0 / 1.332 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01161/1.585, allocations: 3.348 MB / 1.336 GB, free: 15.46 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03431/1.62, allocations: 8.951 MB / 1.344 GB, free: 6.375 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/1.62, allocations: 4 kB / 1.344 GB, free: 6.371 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003912/1.624, allocations: 467.6 kB / 1.345 GB, free: 5.914 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/1.626, allocations: 350.9 kB / 1.345 GB, free: 5.566 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006256/1.627, allocations: 75.95 kB / 1.345 GB, free: 5.492 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006722/1.633, allocations: 4.35 MB / 1.349 GB, free: 0.9102 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.633, allocations: 7.875 kB / 1.349 GB, free: 0.9023 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02481/1.658, allocations: 5.726 MB / 1.355 GB, free: 11.05 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00557/1.664, allocations: 0.9667 MB / 1.356 GB, free: 10.06 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003032/1.667, allocations: 51.94 kB / 1.356 GB, free: 10.01 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005997/1.673, allocations: 187.6 kB / 1.356 GB, free: 9.824 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005597/1.674, allocations: 149.7 kB / 1.356 GB, free: 9.68 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000549/1.674, allocations: 103.9 kB / 1.356 GB, free: 9.578 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.01027/1.684, allocations: 2.981 MB / 1.359 GB, free: 6.617 MB / 0.9513 GB Notification: Performance of sort global known variables: time 4.81e-07/1.685, allocations: 0 / 1.359 GB, free: 6.617 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.01519/1.7, allocations: 2.67 MB / 1.362 GB, free: 3.941 MB / 0.9513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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.004995/1.705, allocations: 1.343 MB / 1.363 GB, free: 2.625 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.03018/1.735, allocations: 5.906 MB / 1.369 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/1.735, allocations: 4.375 kB / 1.369 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.007346/1.742, allocations: 1.891 MB / 1.371 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0139/1.756, allocations: 2.66 MB / 1.373 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/1.773, allocations: 9.269 MB / 1.383 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/1.776, allocations: 2.711 MB / 1.385 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.006631/1.782, allocations: 1.179 MB / 1.386 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.784, allocations: 387.2 kB / 1.387 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of SimCode: time 1.674e-06/1.784, allocations: 3.938 kB / 1.387 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.5705/2.354, allocations: 111.1 MB / 1.495 GB, free: 303.6 MB / 0.9825 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)