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-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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.001648/0.001648, allocations: 100.1 kB / 15.88 MB, free: 12 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.002093/0.002093, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.312/1.312, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1703/0.1703, allocations: 12.01 MB / 302.6 MB, free: 1.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005369/0.0005369, allocations: 27.97 kB / 355.7 MB, free: 4.066 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.768/1.768, allocations: 272.2 MB / 0.665 GB, free: 13.16 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 117.3 kB / 0.7848 GB, free: 31.64 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1961, allocations: 109.2 MB / 0.8914 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.61/0.8062, allocations: 216.2 MB / 1.103 GB, free: 28.21 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04973/0.8559, allocations: 45.53 MB / 1.147 GB, free: 14.15 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01119/0.8671, allocations: 245.2 kB / 1.147 GB, free: 14.05 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.009824/0.877, allocations: 2.642 MB / 1.15 GB, free: 11.88 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.02138/0.8985, allocations: 7.27 MB / 1.157 GB, free: 6.047 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01568/0.9142, allocations: 6.091 MB / 1.163 GB, free: 1.426 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.02505/0.9392, allocations: 21.35 MB / 1.184 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008927/0.9483, allocations: 4.795 MB / 1.188 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01285/0.9612, allocations: 5.402 MB / 1.194 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007815/0.969, allocations: 4.445 MB / 1.198 GB, free: 15.83 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00151/0.9705, allocations: 276 kB / 1.198 GB, free: 15.56 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009403/0.98, allocations: 3.362 MB / 1.202 GB, free: 12.19 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002086/0.9821, allocations: 1.268 MB / 1.203 GB, free: 10.92 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005359/0.9874, allocations: 3.082 MB / 1.206 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.9989, allocations: 8.965 MB / 1.215 GB, free: 14.83 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.9989, allocations: 3.938 kB / 1.215 GB, free: 14.83 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9989, allocations: 0 / 1.215 GB, free: 14.83 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.0002132/0.9991, allocations: 0 / 1.215 GB, free: 14.83 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.01319/1.012, allocations: 6.722 MB / 1.221 GB, free: 8.004 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.012, allocations: 8.031 kB / 1.221 GB, free: 7.996 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006203/1.019, allocations: 1.21 MB / 1.222 GB, free: 6.777 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/1.03, allocations: 5.691 MB / 1.228 GB, free: 1.016 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001109/1.031, allocations: 439 kB / 1.228 GB, free: 0.5859 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008319/1.032, allocations: 352 kB / 1.229 GB, free: 248 kB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008998/1.041, allocations: 4.183 MB / 1.233 GB, free: 11.92 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.398e-05/1.041, allocations: 11.84 kB / 1.233 GB, free: 11.91 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000344/1.041, allocations: 139.9 kB / 1.233 GB, free: 11.77 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-05/1.041, allocations: 84 kB / 1.233 GB, free: 11.69 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008393/1.05, allocations: 3.585 MB / 1.236 GB, free: 8.098 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.02882/1.079, allocations: 19.71 MB / 1.256 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/1.084, allocations: 2.485 MB / 1.258 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/1.087, allocations: 1.482 MB / 1.26 GB, free: 15.37 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.01229/1.1, allocations: 8.309 MB / 1.268 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0034/1.103, allocations: 1.516 MB / 1.269 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00204/1.105, allocations: 261.8 kB / 1.269 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=209): time 4.468e-06/1.105, allocations: 0 / 1.269 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=209): time 0.0157/1.121, allocations: 5.136 MB / 1.274 GB, free: 15.17 MB / 0.8732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/1.121, allocations: 136.7 kB / 1.275 GB, free: 15.01 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007214/1.128, allocations: 4.308 MB / 1.279 GB, free: 10.72 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0005023/1.129, allocations: 73.7 kB / 1.279 GB, free: 10.64 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.002287/1.131, allocations: 2.398 MB / 1.281 GB, free: 8.227 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/1.132, allocations: 0.7162 MB / 1.282 GB, free: 7.5 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000895/1.133, allocations: 0.5443 MB / 1.282 GB, free: 6.949 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/1.133, allocations: 309 kB / 1.283 GB, free: 6.645 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/1.136, allocations: 1.258 MB / 1.284 GB, free: 5.379 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003754/1.14, allocations: 2.155 MB / 1.286 GB, free: 2.836 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04917/1.189, allocations: 10.47 MB / 1.296 GB, free: 8.004 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.019e-05/1.189, allocations: 8 kB / 1.296 GB, free: 7.996 MB / 0.8888 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01008/1.199, allocations: 4.239 MB / 1.3 GB, free: 3.707 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 9.752e-05/1.199, allocations: 79.45 kB / 1.3 GB, free: 3.617 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/1.199, allocations: 28 kB / 1.3 GB, free: 3.59 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/1.201, allocations: 392.2 kB / 1.301 GB, free: 3.203 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/1.204, allocations: 0.6943 MB / 1.302 GB, free: 2.508 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/1.208, allocations: 4.156 MB / 1.306 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004636/1.212, allocations: 420.6 kB / 1.306 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004041/1.213, allocations: 143.9 kB / 1.306 GB, free: 13.57 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.005132/1.218, allocations: 2.358 MB / 1.308 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003659/1.221, allocations: 2.104 MB / 1.31 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04702/1.269, allocations: 10.25 MB / 1.32 GB, free: 14.1 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.125e-05/1.269, allocations: 8 kB / 1.321 GB, free: 14.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.00963/1.278, allocations: 4.134 MB / 1.325 GB, free: 9.906 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/1.278, allocations: 75.39 kB / 1.325 GB, free: 9.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/1.278, allocations: 24 kB / 1.325 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/1.28, allocations: 381.7 kB / 1.325 GB, free: 9.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/1.282, allocations: 0.6591 MB / 1.326 GB, free: 8.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/1.285, allocations: 2.366 MB / 1.328 GB, free: 6.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004523/1.289, allocations: 409 kB / 1.328 GB, free: 5.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000341/1.29, allocations: 147.9 kB / 1.328 GB, free: 5.688 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: 99 * 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 (314): * Single equations (assignments): 305 * 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.0009687/1.291, allocations: 0.6065 MB / 1.329 GB, free: 5.059 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/1.292, allocations: 482 kB / 1.33 GB, free: 4.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00957/1.301, allocations: 4.316 MB / 1.334 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/1.301, allocations: 31.97 kB / 1.334 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.301, allocations: 0 / 1.334 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007032/1.308, allocations: 3.383 MB / 1.337 GB, free: 12.71 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 postOpt removeSimpleEquations (simulation): time 0.01997/1.328, allocations: 8.945 MB / 1.346 GB, free: 3.57 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.328, allocations: 4 kB / 1.346 GB, free: 3.566 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/1.331, allocations: 479.5 kB / 1.346 GB, free: 3.098 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/1.332, allocations: 344.2 kB / 1.347 GB, free: 2.758 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/1.332, allocations: 71.95 kB / 1.347 GB, free: 2.688 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/1.336, allocations: 4.194 MB / 1.351 GB, free: 14.27 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.336, allocations: 11.88 kB / 1.351 GB, free: 14.25 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.348, allocations: 5.586 MB / 1.356 GB, free: 8.543 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/1.351, allocations: 0.9319 MB / 1.357 GB, free: 7.586 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007049/1.351, allocations: 52 kB / 1.357 GB, free: 7.535 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003175/1.355, allocations: 403.3 kB / 1.358 GB, free: 7.141 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/1.355, allocations: 145.7 kB / 1.358 GB, free: 6.996 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.355, allocations: 107.9 kB / 1.358 GB, free: 6.891 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.004819/1.36, allocations: 2.919 MB / 1.361 GB, free: 3.992 MB / 0.9513 GB Notification: Performance of sort global known variables: time 2.3e-07/1.36, allocations: 4 kB / 1.361 GB, free: 3.988 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.007502/1.367, allocations: 2.662 MB / 1.363 GB, free: 1.32 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 (214): * Single equations (assignments): 185 * 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.002464/1.37, allocations: 1.281 MB / 1.365 GB, free: 60 kB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.382, allocations: 5.582 MB / 1.37 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.382, allocations: 4.062 kB / 1.37 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004159/1.386, allocations: 1.899 MB / 1.372 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/1.397, allocations: 2.552 MB / 1.374 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.414, allocations: 11.24 MB / 1.385 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002286/1.417, allocations: 2.69 MB / 1.388 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/1.418, allocations: 415.2 kB / 1.388 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/1.418, allocations: 0 / 1.388 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.5282/1.946, allocations: 227.7 MB / 1.611 GB, free: 177.6 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)