Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001194/0.001194, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 241 MB, free: 14.98 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.0544/0.0544, allocations: 12.05 MB / 303.2 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005395/0.0005395, allocations: 35.89 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.527/1.527, allocations: 268.2 MB / 0.6617 GB, free: 2.637 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 107.9 kB / 0.7817 GB, free: 1.254 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2273, allocations: 108.4 MB / 0.8875 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.662/0.8894, allocations: 217.6 MB / 1.1 GB, free: 11.04 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.07258/0.962, allocations: 45.35 MB / 1.144 GB, free: 13.66 MB / 0.8107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0136/0.9757, allocations: 262.5 kB / 1.145 GB, free: 13.4 MB / 0.8107 GB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.9875, allocations: 3.145 MB / 1.148 GB, free: 10.23 MB / 0.8107 GB Notification: Performance of NFTyping.typeBindings: time 0.02909/1.017, allocations: 7.735 MB / 1.155 GB, free: 2.477 MB / 0.8107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01844/1.035, allocations: 6.685 MB / 1.162 GB, free: 11.88 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.02722/1.062, allocations: 16.67 MB / 1.178 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/1.073, allocations: 5.918 MB / 1.184 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01832/1.092, allocations: 6.488 MB / 1.19 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009188/1.101, allocations: 4.488 MB / 1.194 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002417/1.103, allocations: 0.6484 MB / 1.195 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/1.114, allocations: 3.717 MB / 1.199 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003147/1.118, allocations: 1.62 MB / 1.2 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007047/1.125, allocations: 3.487 MB / 1.204 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0191/1.144, allocations: 11.3 MB / 1.215 GB, free: 5.438 MB / 0.8732 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.144, allocations: 0 / 1.215 GB, free: 5.438 MB / 0.8732 GB Notification: Performance of FrontEnd: time 1.713e-06/1.144, allocations: 0 / 1.215 GB, free: 5.438 MB / 0.8732 GB Notification: Performance of Transformations before backend: time 0.0002981/1.144, allocations: 0 / 1.215 GB, free: 5.438 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/1.159, allocations: 6.717 MB / 1.221 GB, free: 14.62 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.159, allocations: 12.03 kB / 1.221 GB, free: 14.61 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/1.165, allocations: 1.206 MB / 1.223 GB, free: 13.39 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/1.178, allocations: 5.733 MB / 1.228 GB, free: 7.59 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/1.179, allocations: 270.6 kB / 1.228 GB, free: 7.324 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/1.18, allocations: 352 kB / 1.229 GB, free: 6.98 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/1.191, allocations: 4.174 MB / 1.233 GB, free: 2.656 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/1.191, allocations: 15.78 kB / 1.233 GB, free: 2.641 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007224/1.192, allocations: 140 kB / 1.233 GB, free: 2.504 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/1.192, allocations: 87.94 kB / 1.233 GB, free: 2.418 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009054/1.201, allocations: 3.538 MB / 1.236 GB, free: 14.87 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.03191/1.233, allocations: 19.99 MB / 1.256 GB, free: 9.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005976/1.239, allocations: 2.413 MB / 1.258 GB, free: 7.434 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/1.242, allocations: 1.443 MB / 1.26 GB, free: 5.996 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.01382/1.256, allocations: 8.302 MB / 1.268 GB, free: 12.82 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003415/1.26, allocations: 1.473 MB / 1.269 GB, free: 11.32 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=207): time 5.19e-06/1.26, allocations: 0 / 1.269 GB, free: 11.32 MB / 0.9357 GB Notification: Performance of matching and sorting (n=207): time 0.01454/1.274, allocations: 5.015 MB / 1.274 GB, free: 6.227 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/1.274, allocations: 128.8 kB / 1.274 GB, free: 6.074 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008569/1.283, allocations: 4.394 MB / 1.279 GB, free: 1.699 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.0003812/1.283, allocations: 73.7 kB / 1.279 GB, free: 1.621 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.3833/1.667, allocations: 2.39 MB / 1.281 GB, free: 307.8 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.668, allocations: 0.7115 MB / 1.282 GB, free: 307.7 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009224/1.669, allocations: 0.5476 MB / 1.282 GB, free: 307.6 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 4.873e-05/1.669, allocations: 302 kB / 1.283 GB, free: 307.3 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/1.671, allocations: 1.234 MB / 1.284 GB, free: 307.3 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00341/1.675, allocations: 2.142 MB / 1.286 GB, free: 306.3 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04379/1.719, allocations: 10.36 MB / 1.296 GB, free: 305.2 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.382e-05/1.719, allocations: 8.75 kB / 1.296 GB, free: 305.2 MB / 0.9357 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01123/1.73, allocations: 4.187 MB / 1.3 GB, free: 304.7 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/1.73, allocations: 78.25 kB / 1.3 GB, free: 304.6 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.019e-05/1.73, allocations: 21.91 kB / 1.3 GB, free: 304.6 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/1.732, allocations: 379.2 kB / 1.301 GB, free: 304.6 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/1.735, allocations: 0.6908 MB / 1.301 GB, free: 304.6 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/1.738, allocations: 4.316 MB / 1.305 GB, free: 300.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00409/1.742, allocations: 390.9 kB / 1.306 GB, free: 300.7 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004685/1.743, allocations: 149.1 kB / 1.306 GB, free: 300.7 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004936/1.748, allocations: 2.331 MB / 1.308 GB, free: 300.3 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003309/1.751, allocations: 2.094 MB / 1.31 GB, free: 298.8 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04604/1.797, allocations: 10.14 MB / 1.32 GB, free: 296 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.395e-05/1.797, allocations: 6.438 kB / 1.32 GB, free: 296 MB / 0.9357 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01011/1.807, allocations: 4.081 MB / 1.324 GB, free: 294.4 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/1.807, allocations: 82.41 kB / 1.324 GB, free: 294.4 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.953e-05/1.807, allocations: 23.89 kB / 1.324 GB, free: 294.4 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/1.808, allocations: 355.3 kB / 1.325 GB, free: 294.3 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/1.811, allocations: 0.6563 MB / 1.325 GB, free: 294.3 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/1.813, allocations: 2.527 MB / 1.328 GB, free: 292 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003929/1.817, allocations: 336.1 kB / 1.328 GB, free: 291.9 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004323/1.817, allocations: 139.2 kB / 1.328 GB, free: 291.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 304 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001106/1.818, allocations: 0.6039 MB / 1.329 GB, free: 291.4 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.82, allocations: 485 kB / 1.329 GB, free: 291.2 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009262/1.829, allocations: 4.248 MB / 1.333 GB, free: 289.5 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.677e-05/1.829, allocations: 31.55 kB / 1.333 GB, free: 289.5 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.829, allocations: 0 / 1.333 GB, free: 289.5 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006511/1.836, allocations: 3.312 MB / 1.337 GB, free: 288 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.86, allocations: 8.874 MB / 1.345 GB, free: 284.2 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.86, allocations: 2.156 kB / 1.345 GB, free: 284.2 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/1.862, allocations: 467.6 kB / 1.346 GB, free: 284.1 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/1.863, allocations: 338.3 kB / 1.346 GB, free: 284 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003226/1.864, allocations: 69.27 kB / 1.346 GB, free: 284 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003346/1.867, allocations: 4.331 MB / 1.35 GB, free: 280 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.867, allocations: 3.062 kB / 1.35 GB, free: 280 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.883, allocations: 5.683 MB / 1.356 GB, free: 277.5 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003502/1.886, allocations: 0.9717 MB / 1.357 GB, free: 276.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/1.887, allocations: 47.81 kB / 1.357 GB, free: 276.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002714/1.89, allocations: 176.5 kB / 1.357 GB, free: 276.8 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/1.89, allocations: 147.9 kB / 1.357 GB, free: 276.8 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/1.891, allocations: 99.67 kB / 1.357 GB, free: 276.7 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.004433/1.895, allocations: 2.991 MB / 1.36 GB, free: 275.6 MB / 0.9357 GB Notification: Performance of sort global known variables: time 2.1e-07/1.895, allocations: 3.094 kB / 1.36 GB, free: 275.6 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.008369/1.903, allocations: 2.666 MB / 1.363 GB, free: 275.1 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 (212): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002516/1.906, allocations: 1.347 MB / 1.364 GB, free: 274.8 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.011/1.917, allocations: 5.518 MB / 1.37 GB, free: 272.8 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.917, allocations: 0 / 1.37 GB, free: 272.8 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.003663/1.921, allocations: 1.885 MB / 1.371 GB, free: 272 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01053/1.931, allocations: 2.641 MB / 1.374 GB, free: 270.8 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/1.947, allocations: 9.093 MB / 1.383 GB, free: 261.8 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/1.949, allocations: 2.702 MB / 1.385 GB, free: 259 MB / 0.9357 GB Notification: Performance of simCode: alias equations: time 0.005428/1.955, allocations: 1.19 MB / 1.387 GB, free: 257.9 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.956, allocations: 390.8 kB / 1.387 GB, free: 257.6 MB / 0.9357 GB Notification: Performance of SimCode: time 2.755e-06/1.956, allocations: 0 / 1.387 GB, free: 257.6 MB / 0.9357 GB Notification: Performance of Templates: time 0.1293/2.085, allocations: 107 MB / 1.491 GB, free: 151.9 MB / 0.9357 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 -s cvode -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)