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-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.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_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.00129/0.00129, allocations: 112.2 kB / 16.41 MB, free: 6.008 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.001035/0.001035, allocations: 185 kB / 17.34 MB, free: 5.629 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.19 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.05715/0.05715, allocations: 12.05 MB / 303.2 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007072/0.000707, allocations: 27.95 kB / 356.3 MB, free: 13.97 MB / 302.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.508/1.508, allocations: 268.2 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 111.8 kB / 0.888 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5069, allocations: 108.4 MB / 0.9938 GB, free: 1.113 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumHeaPri.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.1974/0.7043, allocations: 217.6 MB / 1.206 GB, free: 6.742 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.5166/1.221, allocations: 45.33 MB / 1.251 GB, free: 33.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01052/1.232, allocations: 266.3 kB / 1.251 GB, free: 33.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.009894/1.241, allocations: 3.142 MB / 1.254 GB, free: 33.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0197/1.261, allocations: 7.749 MB / 1.262 GB, free: 32.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01521/1.276, allocations: 6.681 MB / 1.268 GB, free: 32.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02204/1.299, allocations: 16.68 MB / 1.284 GB, free: 32.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/1.309, allocations: 5.905 MB / 1.29 GB, free: 31.72 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01641/1.326, allocations: 6.653 MB / 1.297 GB, free: 31.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008585/1.334, allocations: 4.496 MB / 1.301 GB, free: 30.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002685/1.337, allocations: 0.6516 MB / 1.302 GB, free: 30.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/1.349, allocations: 3.717 MB / 1.305 GB, free: 30.41 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003069/1.352, allocations: 1.624 MB / 1.307 GB, free: 30.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008499/1.36, allocations: 3.481 MB / 1.31 GB, free: 29.28 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01864/1.379, allocations: 11.31 MB / 1.321 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.379, allocations: 3 kB / 1.321 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.694e-06/1.379, allocations: 0 / 1.321 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002727/1.379, allocations: 0 / 1.321 GB, free: 22.86 MB / 0.9044 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.01493/1.394, allocations: 6.721 MB / 1.328 GB, free: 18.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.394, allocations: 7.562 kB / 1.328 GB, free: 18.12 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/1.401, allocations: 1.206 MB / 1.329 GB, free: 17.39 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/1.412, allocations: 5.731 MB / 1.335 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/1.412, allocations: 264.3 kB / 1.335 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008092/1.413, allocations: 359.9 kB / 1.335 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007288/1.42, allocations: 4.169 MB / 1.339 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-05/1.42, allocations: 5.812 kB / 1.339 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/1.421, allocations: 144 kB / 1.339 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/1.421, allocations: 80 kB / 1.34 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006791/1.427, allocations: 3.539 MB / 1.343 GB, free: 3.168 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/1.456, allocations: 20.02 MB / 1.363 GB, free: 14.46 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005021/1.461, allocations: 2.406 MB / 1.365 GB, free: 12.07 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00302/1.464, allocations: 1.468 MB / 1.366 GB, free: 10.61 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.01204/1.476, allocations: 8.314 MB / 1.374 GB, free: 1.5 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003079/1.479, allocations: 1.465 MB / 1.376 GB, free: 12 kB / 0.9357 GB Notification: Performance of pre-optimization done (n=207): time 4.318e-06/1.479, allocations: 0 / 1.376 GB, free: 12 kB / 0.9357 GB Notification: Performance of matching and sorting (n=207): time 0.01493/1.494, allocations: 5.018 MB / 1.381 GB, free: 10.92 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/1.494, allocations: 132.8 kB / 1.381 GB, free: 10.76 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007699/1.502, allocations: 4.39 MB / 1.385 GB, free: 6.391 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0008069/1.503, allocations: 76.83 kB / 1.385 GB, free: 6.312 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.002904/1.505, allocations: 2.403 MB / 1.388 GB, free: 3.895 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/1.507, allocations: 0.7072 MB / 1.388 GB, free: 3.191 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/1.508, allocations: 0.5404 MB / 1.389 GB, free: 2.645 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.508, allocations: 309.1 kB / 1.389 GB, free: 2.34 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/1.511, allocations: 1.227 MB / 1.39 GB, free: 1.105 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003531/1.515, allocations: 2.142 MB / 1.392 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04876/1.563, allocations: 10.37 MB / 1.403 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-05/1.563, allocations: 8 kB / 1.403 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01022/1.574, allocations: 4.175 MB / 1.407 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/1.574, allocations: 83.44 kB / 1.407 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/1.574, allocations: 24 kB / 1.407 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/1.575, allocations: 377.4 kB / 1.407 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/1.578, allocations: 0.6971 MB / 1.408 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/1.582, allocations: 4.314 MB / 1.412 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004523/1.586, allocations: 390.3 kB / 1.412 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005243/1.587, allocations: 139.9 kB / 1.412 GB, free: 9.531 MB / 0.9825 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006224/1.593, allocations: 2.339 MB / 1.415 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003527/1.597, allocations: 2.097 MB / 1.417 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04653/1.643, allocations: 10.13 MB / 1.427 GB, free: 10.23 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.129e-05/1.643, allocations: 11.94 kB / 1.427 GB, free: 10.21 MB / 0.9982 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009265/1.652, allocations: 4.079 MB / 1.431 GB, free: 6.086 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 6.956e-05/1.653, allocations: 85.36 kB / 1.431 GB, free: 5.992 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/1.653, allocations: 24 kB / 1.431 GB, free: 5.969 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/1.654, allocations: 362.3 kB / 1.431 GB, free: 5.609 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/1.656, allocations: 0.6513 MB / 1.432 GB, free: 4.957 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/1.659, allocations: 2.519 MB / 1.434 GB, free: 2.277 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0039/1.662, allocations: 341.1 kB / 1.435 GB, free: 1.949 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00037/1.663, allocations: 139.9 kB / 1.435 GB, free: 1.812 MB / 0.9982 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 304 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001061/1.664, allocations: 0.5995 MB / 1.435 GB, free: 1.188 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.665, allocations: 485.9 kB / 1.436 GB, free: 0.707 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009373/1.675, allocations: 4.248 MB / 1.44 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.44e-05/1.675, allocations: 23.98 kB / 1.44 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.675, allocations: 8 kB / 1.44 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007106/1.682, allocations: 3.317 MB / 1.443 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/1.702, allocations: 8.87 MB / 1.452 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.702, allocations: 4 kB / 1.452 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/1.705, allocations: 463.6 kB / 1.452 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/1.706, allocations: 336.1 kB / 1.453 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000263/1.706, allocations: 71.95 kB / 1.453 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/1.71, allocations: 4.332 MB / 1.457 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.71, allocations: 0 / 1.457 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.724, allocations: 5.688 MB / 1.462 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003123/1.727, allocations: 0.9706 MB / 1.463 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/1.728, allocations: 52 kB / 1.463 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003055/1.731, allocations: 171.8 kB / 1.464 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/1.731, allocations: 145.7 kB / 1.464 GB, free: 3.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/1.732, allocations: 103.9 kB / 1.464 GB, free: 3.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.005232/1.737, allocations: 2.981 MB / 1.467 GB, free: 376 kB / 1.029 GB Notification: Performance of sort global known variables: time 2.114e-06/1.737, allocations: 0 / 1.467 GB, free: 376 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.009021/1.746, allocations: 2.685 MB / 1.469 GB, free: 13.68 MB / 1.045 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.002834/1.749, allocations: 1.336 MB / 1.471 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.761, allocations: 5.508 MB / 1.476 GB, free: 6.883 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.761, allocations: 8.062 kB / 1.476 GB, free: 6.875 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004234/1.765, allocations: 1.875 MB / 1.478 GB, free: 4.965 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/1.776, allocations: 2.627 MB / 1.48 GB, free: 2.609 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.794, allocations: 9.229 MB / 1.489 GB, free: 9.375 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002442/1.797, allocations: 2.702 MB / 1.492 GB, free: 6.641 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/1.798, allocations: 403.2 kB / 1.492 GB, free: 6.246 MB / 1.061 GB Notification: Performance of SimCode: time 1.002e-06/1.798, allocations: 4 kB / 1.492 GB, free: 6.242 MB / 1.061 GB Notification: Performance of Templates: time 0.7309/2.529, allocations: 229.3 MB / 1.716 GB, free: 0.5022 GB / 1.233 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)