Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007883/0.0007884, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005203/0.005203, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2272/0.2272, allocations: 12.02 MB / 303.5 MB, free: 1.594 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000191/0.0001911, allocations: 19.8 kB / 357.6 MB, free: 3.078 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.82/1.82, allocations: 266.8 MB / 0.6625 GB, free: 3.043 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004874, allocations: 22.2 kB / 0.7833 GB, free: 32.47 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2538, allocations: 110.2 MB / 0.8909 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.6423/0.8962, allocations: 212.8 MB / 1.099 GB, free: 21.76 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05572/0.952, allocations: 45.02 MB / 1.143 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01274/0.9648, allocations: 228.8 kB / 1.143 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.9758, allocations: 2.635 MB / 1.145 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02551/1.001, allocations: 7.256 MB / 1.153 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01676/1.018, allocations: 6.114 MB / 1.158 GB, free: 14.91 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.0305/1.049, allocations: 21.33 MB / 1.179 GB, free: 68 kB / 0.7482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009077/1.058, allocations: 4.687 MB / 1.184 GB, free: 11.29 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01453/1.072, allocations: 5.25 MB / 1.189 GB, free: 6.02 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00881/1.081, allocations: 4.273 MB / 1.193 GB, free: 1.727 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.001933/1.083, allocations: 212 kB / 1.193 GB, free: 1.52 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01224/1.095, allocations: 3.303 MB / 1.197 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003035/1.098, allocations: 1.171 MB / 1.198 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.006393/1.105, allocations: 2.971 MB / 1.201 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01721/1.122, allocations: 10.72 MB / 1.211 GB, free: 15.29 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/1.122, allocations: 7.938 kB / 1.211 GB, free: 15.28 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.914e-06/1.122, allocations: 0 / 1.211 GB, free: 15.28 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002376/1.122, allocations: 0 / 1.211 GB, free: 15.28 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.01159/1.134, allocations: 5.503 MB / 1.216 GB, free: 9.676 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.134, allocations: 16.03 kB / 1.217 GB, free: 9.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006349/1.14, allocations: 1.316 MB / 1.218 GB, free: 8.336 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/1.152, allocations: 5.696 MB / 1.223 GB, free: 2.562 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001198/1.153, allocations: 471 kB / 1.224 GB, free: 2.102 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008826/1.154, allocations: 351.9 kB / 1.224 GB, free: 1.758 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009214/1.163, allocations: 4.22 MB / 1.228 GB, free: 13.4 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-05/1.163, allocations: 15.84 kB / 1.228 GB, free: 13.39 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003607/1.164, allocations: 143.9 kB / 1.228 GB, free: 13.25 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/1.164, allocations: 84 kB / 1.228 GB, free: 13.16 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008656/1.172, allocations: 3.659 MB / 1.232 GB, free: 9.496 MB / 0.8107 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.03356/1.206, allocations: 19.8 MB / 1.251 GB, free: 4.664 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006321/1.212, allocations: 2.538 MB / 1.254 GB, free: 2.125 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004019/1.216, allocations: 1.525 MB / 1.255 GB, free: 0.6055 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 evalFunc (simulation): time 0.01447/1.231, allocations: 8.337 MB / 1.264 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003793/1.235, allocations: 1.551 MB / 1.265 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002522/1.237, allocations: 265.7 kB / 1.265 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=209): time 1.458e-05/1.237, allocations: 0 / 1.265 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=209): time 0.01733/1.255, allocations: 5.386 MB / 1.271 GB, free: 96 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/1.255, allocations: 132.8 kB / 1.271 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00975/1.265, allocations: 4.312 MB / 1.275 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005695/1.265, allocations: 77.7 kB / 1.275 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002675/1.268, allocations: 2.386 MB / 1.277 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.269, allocations: 0.724 MB / 1.278 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005909/1.27, allocations: 223.2 kB / 1.278 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.27, allocations: 305.1 kB / 1.278 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003462/1.273, allocations: 1.282 MB / 1.28 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004/1.277, allocations: 2.19 MB / 1.282 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05149/1.329, allocations: 11.7 MB / 1.293 GB, free: 7.977 MB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.208e-05/1.329, allocations: 8 kB / 1.293 GB, free: 7.969 MB / 0.8732 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01189/1.341, allocations: 4.317 MB / 1.298 GB, free: 3.602 MB / 0.8732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006787/1.342, allocations: 0.8198 MB / 1.298 GB, free: 2.465 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/1.342, allocations: 20 kB / 1.298 GB, free: 2.445 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/1.343, allocations: 405.4 kB / 1.299 GB, free: 2.043 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/1.346, allocations: 0.7177 MB / 1.299 GB, free: 1.324 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/1.35, allocations: 4.197 MB / 1.304 GB, free: 12.9 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005236/1.355, allocations: 432.6 kB / 1.304 GB, free: 12.48 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000568/1.356, allocations: 143.9 kB / 1.304 GB, free: 12.34 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.356, allocations: 4 kB / 1.304 GB, free: 12.33 MB / 0.8888 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00979/1.366, allocations: 3.802 MB / 1.308 GB, free: 8.492 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-05/1.366, allocations: 20 kB / 1.308 GB, free: 8.473 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/1.367, allocations: 397.5 kB / 1.308 GB, free: 8.078 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/1.37, allocations: 0.6748 MB / 1.309 GB, free: 7.402 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/1.373, allocations: 2.41 MB / 1.311 GB, free: 4.828 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004762/1.377, allocations: 435.6 kB / 1.312 GB, free: 4.406 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004451/1.378, allocations: 136 kB / 1.312 GB, free: 4.273 MB / 0.8888 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: 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.003472/1.381, allocations: 1.444 MB / 1.313 GB, free: 2.809 MB / 0.8888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/1.383, allocations: 489.9 kB / 1.314 GB, free: 2.324 MB / 0.8888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.394, allocations: 4.41 MB / 1.318 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.404e-05/1.394, allocations: 27.98 kB / 1.318 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/1.394, allocations: 11.94 kB / 1.318 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007504/1.401, allocations: 3.469 MB / 1.321 GB, free: 10.26 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 postOpt removeSimpleEquations (simulation): time 0.02515/1.426, allocations: 9.128 MB / 1.33 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.426, allocations: 4 kB / 1.33 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.429, allocations: 479.6 kB / 1.331 GB, free: 480 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/1.43, allocations: 361.4 kB / 1.331 GB, free: 112 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/1.43, allocations: 79.88 kB / 1.331 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004167/1.435, allocations: 4.235 MB / 1.335 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.435, allocations: 4.062 kB / 1.335 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/1.448, allocations: 5.723 MB / 1.341 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002971/1.451, allocations: 0.9865 MB / 1.342 GB, free: 4.711 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.452, allocations: 48 kB / 1.342 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004161/1.456, allocations: 427.3 kB / 1.342 GB, free: 4.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/1.457, allocations: 149.7 kB / 1.342 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003042/1.457, allocations: 99.92 kB / 1.343 GB, free: 4 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.006912/1.464, allocations: 2.919 MB / 1.345 GB, free: 1.102 MB / 0.92 GB Notification: Performance of sort global known variables: time 7.51e-07/1.464, allocations: 0 / 1.345 GB, free: 1.102 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01112/1.475, allocations: 2.674 MB / 1.348 GB, free: 14.42 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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003572/1.479, allocations: 1.301 MB / 1.349 GB, free: 13.14 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.0137/1.492, allocations: 5.688 MB / 1.355 GB, free: 7.379 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.492, allocations: 8.125 kB / 1.355 GB, free: 7.371 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.004956/1.497, allocations: 1.953 MB / 1.357 GB, free: 5.383 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01675/1.514, allocations: 2.545 MB / 1.359 GB, free: 2.926 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02217/1.536, allocations: 11.41 MB / 1.37 GB, free: 7.48 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004032/1.54, allocations: 2.715 MB / 1.373 GB, free: 4.734 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.006515/1.547, allocations: 1.178 MB / 1.374 GB, free: 3.641 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.548, allocations: 387.2 kB / 1.375 GB, free: 3.266 MB / 0.9513 GB Notification: Performance of SimCode: time 1.212e-06/1.548, allocations: 0 / 1.375 GB, free: 3.266 MB / 0.9513 GB Notification: Performance of Templates: time 0.5943/2.142, allocations: 105.9 MB / 1.478 GB, free: 299.3 MB / 0.9669 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)