Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, 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.001801/0.001801, allocations: 195.3 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1838/0.1838, allocations: 12 MB / 302.4 MB, free: 0.8828 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005147/0.0005147, allocations: 39.92 kB / 355.5 MB, free: 3.781 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.775/1.775, allocations: 272.2 MB / 0.6648 GB, free: 12.91 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 116.9 kB / 0.7849 GB, free: 31.45 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2057, allocations: 109.1 MB / 0.8915 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5406/0.7463, allocations: 217.6 MB / 1.104 GB, free: 27.78 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04453/0.7909, allocations: 45.35 MB / 1.148 GB, free: 12.61 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008235/0.7992, allocations: 270.1 kB / 1.149 GB, free: 12.51 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.007583/0.8068, allocations: 3.14 MB / 1.152 GB, free: 9.832 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.01821/0.825, allocations: 7.744 MB / 1.159 GB, free: 3.547 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01483/0.8399, allocations: 6.65 MB / 1.166 GB, free: 14.39 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.01927/0.8592, allocations: 16.64 MB / 1.182 GB, free: 136 kB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007486/0.8667, allocations: 5.914 MB / 1.188 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/0.8785, allocations: 6.46 MB / 1.194 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00692/0.8855, allocations: 4.489 MB / 1.198 GB, free: 15.16 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.8867, allocations: 0.6523 MB / 1.199 GB, free: 14.51 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008043/0.8948, allocations: 3.698 MB / 1.203 GB, free: 10.81 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.8961, allocations: 1.631 MB / 1.204 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003772/0.8999, allocations: 3.484 MB / 1.208 GB, free: 5.668 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.9128, allocations: 11.19 MB / 1.219 GB, free: 10.45 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9128, allocations: 0 / 1.219 GB, free: 10.45 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9128, allocations: 0 / 1.219 GB, free: 10.45 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.0001232/0.9129, allocations: 0 / 1.219 GB, free: 10.45 MB / 0.8107 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.01065/0.9236, allocations: 6.721 MB / 1.225 GB, free: 3.621 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.9237, allocations: 12.03 kB / 1.225 GB, free: 3.609 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/0.9288, allocations: 1.21 MB / 1.226 GB, free: 2.391 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008273/0.9371, allocations: 5.484 MB / 1.232 GB, free: 12.84 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009761/0.9381, allocations: 435 kB / 1.232 GB, free: 12.41 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/0.9385, allocations: 355.9 kB / 1.232 GB, free: 12.06 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006874/0.9454, allocations: 4.186 MB / 1.237 GB, free: 7.727 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/0.9454, allocations: 7.938 kB / 1.237 GB, free: 7.719 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/0.9457, allocations: 143.9 kB / 1.237 GB, free: 7.578 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/0.9458, allocations: 87.98 kB / 1.237 GB, free: 7.492 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007094/0.9529, allocations: 3.565 MB / 1.24 GB, free: 3.918 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.02397/0.9769, allocations: 20.19 MB / 1.26 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004876/0.9818, allocations: 2.444 MB / 1.262 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/0.9847, allocations: 1.458 MB / 1.264 GB, free: 10.77 MB / 0.8575 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.009546/0.9942, allocations: 8.309 MB / 1.272 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003019/0.9973, allocations: 1.489 MB / 1.273 GB, free: 84 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=207): time 3.176e-06/0.9973, allocations: 0 / 1.273 GB, free: 84 kB / 0.8575 GB Notification: Performance of matching and sorting (n=207): time 0.01392/1.011, allocations: 5.101 MB / 1.278 GB, free: 10.9 MB / 0.8732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/1.011, allocations: 128.8 kB / 1.278 GB, free: 10.75 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/1.017, allocations: 4.394 MB / 1.283 GB, free: 6.371 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0002304/1.017, allocations: 77.64 kB / 1.283 GB, free: 6.289 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.019, allocations: 2.405 MB / 1.285 GB, free: 3.863 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006913/1.02, allocations: 0.7046 MB / 1.286 GB, free: 3.148 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007622/1.021, allocations: 0.552 MB / 1.286 GB, free: 2.59 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/1.021, allocations: 301.1 kB / 1.287 GB, free: 2.293 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/1.024, allocations: 1.243 MB / 1.288 GB, free: 1.043 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003382/1.027, allocations: 2.15 MB / 1.29 GB, free: 14.5 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04465/1.072, allocations: 10.45 MB / 1.3 GB, free: 3.688 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/1.072, allocations: 8 kB / 1.3 GB, free: 3.68 MB / 0.8888 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01039/1.082, allocations: 4.208 MB / 1.304 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/1.082, allocations: 83.38 kB / 1.304 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-05/1.082, allocations: 24 kB / 1.304 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/1.084, allocations: 389.3 kB / 1.305 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/1.087, allocations: 0.6981 MB / 1.305 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004035/1.091, allocations: 4.331 MB / 1.31 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003688/1.095, allocations: 402.2 kB / 1.31 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/1.095, allocations: 147.9 kB / 1.31 GB, free: 9.113 MB / 0.9044 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.004946/1.1, allocations: 2.343 MB / 1.312 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003556/1.104, allocations: 2.111 MB / 1.315 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04412/1.148, allocations: 10.22 MB / 1.325 GB, free: 9.668 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.278e-05/1.148, allocations: 12 kB / 1.325 GB, free: 9.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01007/1.158, allocations: 4.11 MB / 1.329 GB, free: 5.496 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/1.158, allocations: 79.39 kB / 1.329 GB, free: 5.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/1.158, allocations: 24 kB / 1.329 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/1.159, allocations: 371.9 kB / 1.329 GB, free: 5.016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/1.162, allocations: 0.6514 MB / 1.33 GB, free: 4.363 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/1.164, allocations: 2.549 MB / 1.332 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/1.168, allocations: 343.8 kB / 1.332 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/1.168, allocations: 143.9 kB / 1.333 GB, free: 1.176 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.0009251/1.169, allocations: 0.6026 MB / 1.333 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.17, allocations: 485.9 kB / 1.334 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00934/1.18, allocations: 4.283 MB / 1.338 GB, free: 11.77 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.578e-05/1.18, allocations: 31.98 kB / 1.338 GB, free: 11.74 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.18, allocations: 3.938 kB / 1.338 GB, free: 11.74 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007063/1.187, allocations: 3.348 MB / 1.341 GB, free: 8.254 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/1.208, allocations: 8.956 MB / 1.35 GB, free: 15.16 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.208, allocations: 11.92 kB / 1.35 GB, free: 15.14 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/1.21, allocations: 463.5 kB / 1.35 GB, free: 14.69 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/1.211, allocations: 345.4 kB / 1.351 GB, free: 14.35 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/1.212, allocations: 71.89 kB / 1.351 GB, free: 14.28 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/1.216, allocations: 4.354 MB / 1.355 GB, free: 9.691 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.216, allocations: 4 kB / 1.355 GB, free: 9.688 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.229, allocations: 5.726 MB / 1.361 GB, free: 3.844 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/1.231, allocations: 0.9667 MB / 1.362 GB, free: 2.852 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.232, allocations: 51.98 kB / 1.362 GB, free: 2.801 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.235, allocations: 191.6 kB / 1.362 GB, free: 2.613 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/1.235, allocations: 141.7 kB / 1.362 GB, free: 2.477 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.235, allocations: 107.9 kB / 1.362 GB, free: 2.371 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.00547/1.241, allocations: 2.981 MB / 1.365 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.241, allocations: 0 / 1.365 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.007256/1.248, allocations: 2.67 MB / 1.368 GB, free: 12.73 MB / 0.9669 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.002575/1.251, allocations: 1.351 MB / 1.369 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01657/1.267, allocations: 5.913 MB / 1.375 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.267, allocations: 0 / 1.375 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004209/1.271, allocations: 1.892 MB / 1.376 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/1.283, allocations: 2.643 MB / 1.379 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/1.299, allocations: 9.28 MB / 1.388 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003096/1.302, allocations: 2.702 MB / 1.391 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005678/1.308, allocations: 1.177 MB / 1.392 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.309, allocations: 387.3 kB / 1.392 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of SimCode: time 1.773e-06/1.309, allocations: 0 / 1.392 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.4709/1.78, allocations: 111.1 MB / 1.501 GB, free: 292.9 MB / 0.9825 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)