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.001413/0.001413, allocations: 104.6 kB / 15.98 MB, free: 6.344 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.001568/0.001568, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.05475/0.05475, allocations: 12.03 MB / 302.8 MB, free: 3.379 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005007/0.0005007, allocations: 31.91 kB / 355.8 MB, free: 14.27 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.877/1.877, allocations: 272.3 MB / 0.6652 GB, free: 18.36 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 110 kB / 0.7851 GB, free: 13.99 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.21, allocations: 109.2 MB / 0.8917 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5243/0.7344, allocations: 215.6 MB / 1.102 GB, free: 6.254 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.057/0.7914, allocations: 45 MB / 1.146 GB, free: 9.23 MB / 0.8107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008073/0.7995, allocations: 246.5 kB / 1.146 GB, free: 8.988 MB / 0.8107 GB Notification: Performance of NFTyping.typeComponents: time 0.008137/0.8077, allocations: 2.741 MB / 1.149 GB, free: 6.234 MB / 0.8107 GB Notification: Performance of NFTyping.typeBindings: time 0.01901/0.8267, allocations: 7.218 MB / 1.156 GB, free: 15 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.01451/0.8412, allocations: 6.193 MB / 1.162 GB, free: 8.898 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.02051/0.8618, allocations: 16.8 MB / 1.179 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009205/0.871, allocations: 5.893 MB / 1.184 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01437/0.8854, allocations: 6.513 MB / 1.191 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006745/0.8922, allocations: 4.653 MB / 1.195 GB, free: 7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001913/0.8941, allocations: 0.6523 MB / 1.196 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00869/0.9028, allocations: 3.721 MB / 1.199 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002502/0.9053, allocations: 1.643 MB / 1.201 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005981/0.9113, allocations: 3.492 MB / 1.204 GB, free: 13.46 MB / 0.8732 GB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.9232, allocations: 9.07 MB / 1.213 GB, free: 4.375 MB / 0.8732 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9233, allocations: 0 / 1.213 GB, free: 4.375 MB / 0.8732 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9233, allocations: 0 / 1.213 GB, free: 4.375 MB / 0.8732 GB Notification: Performance of Transformations before backend: time 0.0002581/0.9235, allocations: 0 / 1.213 GB, free: 4.375 MB / 0.8732 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.01495/0.9385, allocations: 6.725 MB / 1.22 GB, free: 13.55 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.9386, allocations: 8.031 kB / 1.22 GB, free: 13.54 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006362/0.9449, allocations: 1.203 MB / 1.221 GB, free: 12.33 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.9571, allocations: 5.694 MB / 1.227 GB, free: 6.562 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00113/0.9583, allocations: 435 kB / 1.227 GB, free: 6.137 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.9593, allocations: 359.9 kB / 1.227 GB, free: 5.785 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.9697, allocations: 4.183 MB / 1.232 GB, free: 1.465 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.697e-05/0.9698, allocations: 7.938 kB / 1.232 GB, free: 1.457 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004139/0.9702, allocations: 143.9 kB / 1.232 GB, free: 1.316 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/0.9703, allocations: 84.52 kB / 1.232 GB, free: 1.234 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008692/0.979, allocations: 3.585 MB / 1.235 GB, free: 13.64 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.02813/1.007, allocations: 19.72 MB / 1.254 GB, free: 8.895 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005679/1.013, allocations: 2.478 MB / 1.257 GB, free: 6.418 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003822/1.017, allocations: 1.478 MB / 1.258 GB, free: 4.945 MB / 0.92 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.01378/1.031, allocations: 8.317 MB / 1.266 GB, free: 11.75 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003383/1.034, allocations: 1.508 MB / 1.268 GB, free: 10.22 MB / 0.9357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002017/1.036, allocations: 233.4 kB / 1.268 GB, free: 9.996 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=209): time 9.207e-06/1.036, allocations: 4 kB / 1.268 GB, free: 9.992 MB / 0.9357 GB Notification: Performance of matching and sorting (n=209): time 0.01626/1.052, allocations: 5.137 MB / 1.273 GB, free: 4.773 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/1.052, allocations: 132.8 kB / 1.273 GB, free: 4.617 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008234/1.061, allocations: 4.312 MB / 1.278 GB, free: 332 kB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.0004892/1.061, allocations: 73.7 kB / 1.278 GB, free: 252 kB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.3301/1.391, allocations: 2.39 MB / 1.28 GB, free: 302.8 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009468/1.392, allocations: 0.7098 MB / 1.281 GB, free: 302.6 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008475/1.393, allocations: 0.5539 MB / 1.281 GB, free: 302.6 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/1.393, allocations: 308.1 kB / 1.281 GB, free: 302.3 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/1.396, allocations: 1.265 MB / 1.283 GB, free: 302.3 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003143/1.399, allocations: 2.158 MB / 1.285 GB, free: 301.3 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0456/1.445, allocations: 10.64 MB / 1.295 GB, free: 300.2 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/1.445, allocations: 5.844 kB / 1.295 GB, free: 300.2 MB / 0.9357 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009561/1.454, allocations: 4.248 MB / 1.299 GB, free: 299.1 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 6.746e-05/1.454, allocations: 79.53 kB / 1.299 GB, free: 299 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.89e-05/1.454, allocations: 22.56 kB / 1.299 GB, free: 299 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/1.456, allocations: 461.7 kB / 1.3 GB, free: 298.9 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/1.459, allocations: 0.6962 MB / 1.301 GB, free: 298.9 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/1.462, allocations: 4.352 MB / 1.305 GB, free: 294.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0045/1.467, allocations: 414.7 kB / 1.305 GB, free: 294.8 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/1.467, allocations: 144.6 kB / 1.305 GB, free: 294.8 MB / 0.9357 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.004982/1.472, allocations: 2.367 MB / 1.308 GB, free: 293.7 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003425/1.476, allocations: 2.115 MB / 1.31 GB, free: 292.2 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0487/1.524, allocations: 10.41 MB / 1.32 GB, free: 289.3 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.449e-05/1.525, allocations: 10.86 kB / 1.32 GB, free: 289.3 MB / 0.9357 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.009435/1.534, allocations: 4.143 MB / 1.324 GB, free: 287.7 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/1.534, allocations: 82.88 kB / 1.324 GB, free: 287.6 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/1.534, allocations: 22.53 kB / 1.324 GB, free: 287.6 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/1.536, allocations: 447.6 kB / 1.324 GB, free: 287.5 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/1.539, allocations: 0.6593 MB / 1.325 GB, free: 287.5 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/1.541, allocations: 2.555 MB / 1.328 GB, free: 285.2 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/1.545, allocations: 418.6 kB / 1.328 GB, free: 285.1 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005425/1.546, allocations: 138.1 kB / 1.328 GB, free: 285.1 MB / 0.9357 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 (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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.001219/1.547, allocations: 0.5998 MB / 1.329 GB, free: 284.7 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.549, allocations: 485.7 kB / 1.329 GB, free: 284.5 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.559, allocations: 4.37 MB / 1.333 GB, free: 282.8 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.809e-05/1.559, allocations: 39.58 kB / 1.333 GB, free: 282.8 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.559, allocations: 0 / 1.333 GB, free: 282.8 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007346/1.567, allocations: 3.442 MB / 1.337 GB, free: 281.2 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02281/1.589, allocations: 8.888 MB / 1.346 GB, free: 277.4 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/1.589, allocations: 1.25 kB / 1.346 GB, free: 277.4 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/1.592, allocations: 483.3 kB / 1.346 GB, free: 277.3 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/1.593, allocations: 358.6 kB / 1.346 GB, free: 277.2 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/1.593, allocations: 75.08 kB / 1.346 GB, free: 277.2 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/1.596, allocations: 4.321 MB / 1.351 GB, free: 273.1 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.596, allocations: 1.844 kB / 1.351 GB, free: 273.1 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/1.61, allocations: 5.825 MB / 1.356 GB, free: 270.6 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002873/1.613, allocations: 0.9322 MB / 1.357 GB, free: 270 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/1.614, allocations: 59.14 kB / 1.357 GB, free: 270 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003942/1.618, allocations: 381.7 kB / 1.358 GB, free: 269.9 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/1.618, allocations: 152.9 kB / 1.358 GB, free: 269.9 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003402/1.619, allocations: 108.8 kB / 1.358 GB, free: 269.9 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.005644/1.624, allocations: 2.921 MB / 1.361 GB, free: 268.8 MB / 0.9357 GB Notification: Performance of sort global known variables: time 1.352e-06/1.624, allocations: 0 / 1.361 GB, free: 268.8 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.009596/1.634, allocations: 2.664 MB / 1.363 GB, free: 268.3 MB / 0.9357 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002935/1.637, allocations: 1.274 MB / 1.365 GB, free: 268 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.01773/1.655, allocations: 5.99 MB / 1.37 GB, free: 265.7 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.655, allocations: 4 kB / 1.37 GB, free: 265.7 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.003853/1.659, allocations: 1.862 MB / 1.372 GB, free: 263.9 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01205/1.671, allocations: 2.649 MB / 1.375 GB, free: 261.7 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.689, allocations: 11.31 MB / 1.386 GB, free: 250.4 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002924/1.692, allocations: 2.694 MB / 1.389 GB, free: 247.7 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.694, allocations: 406.5 kB / 1.389 GB, free: 247.3 MB / 0.9357 GB Notification: Performance of SimCode: time 1.383e-06/1.694, allocations: 0.8438 kB / 1.389 GB, free: 247.3 MB / 0.9357 GB Notification: Performance of Templates: time 0.1714/1.865, allocations: 227.5 MB / 1.611 GB, free: 20.58 MB / 0.9357 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)