Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.001714/0.001715, allocations: 192.2 kB / 17.29 MB, free: 5.48 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 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.05767/0.05767, allocations: 12.04 MB / 303.2 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006297/0.0006298, allocations: 23.97 kB / 356.3 MB, free: 14 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.938/1.938, allocations: 272.3 MB / 0.6657 GB, free: 18.34 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003028/0.003028, allocations: 115.8 kB / 0.7864 GB, free: 12.8 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2981, allocations: 109.1 MB / 0.893 GB, free: 15.56 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.5436/0.8417, allocations: 242.2 MB / 1.13 GB, free: 10.8 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.06886/0.9106, allocations: 48.7 MB / 1.177 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009396/0.9201, allocations: 290.3 kB / 1.177 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.9302, allocations: 3.436 MB / 1.181 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.02421/0.9545, allocations: 8.51 MB / 1.189 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01557/0.9701, allocations: 6.463 MB / 1.195 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0244/0.9945, allocations: 17.36 MB / 1.212 GB, free: 6.043 MB / 0.8732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/1.005, allocations: 6.3 MB / 1.218 GB, free: 15.73 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01563/1.021, allocations: 6.807 MB / 1.225 GB, free: 8.938 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00971/1.03, allocations: 4.687 MB / 1.23 GB, free: 4.234 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.003274/1.034, allocations: 0.6953 MB / 1.23 GB, free: 3.539 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/1.044, allocations: 3.776 MB / 1.234 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003085/1.048, allocations: 1.709 MB / 1.236 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006918/1.055, allocations: 3.718 MB / 1.239 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.02019/1.075, allocations: 11.99 MB / 1.251 GB, free: 14.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.075, allocations: 0 / 1.251 GB, free: 14.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.847e-06/1.075, allocations: 0 / 1.251 GB, free: 14.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003337/1.075, allocations: 3.938 kB / 1.251 GB, free: 14.29 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01748/1.093, allocations: 7.194 MB / 1.258 GB, free: 6.984 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.093, allocations: 8.031 kB / 1.258 GB, free: 6.977 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00675/1.099, allocations: 1.341 MB / 1.259 GB, free: 5.629 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/1.113, allocations: 6.209 MB / 1.265 GB, free: 15.35 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002686/1.113, allocations: 287.1 kB / 1.266 GB, free: 15.07 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008342/1.114, allocations: 375.9 kB / 1.266 GB, free: 14.7 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009125/1.123, allocations: 4.538 MB / 1.271 GB, free: 9.949 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.837e-05/1.124, allocations: 15.88 kB / 1.271 GB, free: 9.934 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003602/1.124, allocations: 152 kB / 1.271 GB, free: 9.785 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.856e-05/1.124, allocations: 88 kB / 1.271 GB, free: 9.699 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00848/1.133, allocations: 3.734 MB / 1.274 GB, free: 5.957 MB / 0.9357 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4101/1.543, allocations: 22.98 MB / 1.297 GB, free: 291.5 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/1.548, allocations: 3.006 MB / 1.3 GB, free: 290.7 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002338/1.55, allocations: 1.294 MB / 1.301 GB, free: 290.7 MB / 0.9357 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.00969/1.56, allocations: 8.456 MB / 1.309 GB, free: 285.2 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002722/1.562, allocations: 1.463 MB / 1.311 GB, free: 284.6 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=184): time 3.497e-06/1.562, allocations: 0 / 1.311 GB, free: 284.6 MB / 0.9357 GB Notification: Performance of matching and sorting (n=184): time 0.01547/1.578, allocations: 5.16 MB / 1.316 GB, free: 283 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/1.578, allocations: 185.4 kB / 1.316 GB, free: 282.8 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008974/1.587, allocations: 4.856 MB / 1.321 GB, free: 281 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.0006704/1.588, allocations: 68.55 kB / 1.321 GB, free: 281 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.002798/1.59, allocations: 2.671 MB / 1.323 GB, free: 279 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009292/1.591, allocations: 0.629 MB / 1.324 GB, free: 278.5 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/1.592, allocations: 0.5618 MB / 1.325 GB, free: 278.2 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 4.357e-05/1.593, allocations: 302.9 kB / 1.325 GB, free: 277.9 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/1.595, allocations: 1.174 MB / 1.326 GB, free: 277.5 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/1.599, allocations: 2.249 MB / 1.328 GB, free: 275.8 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5477/2.146, allocations: 89.34 MB / 1.415 GB, free: 220.1 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.127e-05/2.146, allocations: 8 kB / 1.415 GB, free: 220 MB / 0.9357 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.009362/2.156, allocations: 4.165 MB / 1.419 GB, free: 216 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-05/2.156, allocations: 75.39 kB / 1.42 GB, free: 215.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/2.156, allocations: 30.89 kB / 1.42 GB, free: 215.9 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/2.158, allocations: 0.6526 MB / 1.42 GB, free: 215.3 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/2.16, allocations: 0.6308 MB / 1.421 GB, free: 214.7 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/2.163, allocations: 3.038 MB / 1.424 GB, free: 211.6 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/2.168, allocations: 420.1 kB / 1.424 GB, free: 211.1 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004451/2.168, allocations: 150 kB / 1.424 GB, free: 211 MB / 0.9357 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004607/2.173, allocations: 2.313 MB / 1.427 GB, free: 208.7 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002812/2.176, allocations: 2.209 MB / 1.429 GB, free: 206 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5029/2.679, allocations: 89.06 MB / 1.516 GB, free: 117 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-05/2.679, allocations: 8 kB / 1.516 GB, free: 117 MB / 0.9357 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.009509/2.688, allocations: 4.059 MB / 1.52 GB, free: 113.1 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/2.688, allocations: 79.39 kB / 1.52 GB, free: 113 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/2.688, allocations: 28 kB / 1.52 GB, free: 113 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/2.69, allocations: 0.6267 MB / 1.52 GB, free: 112.4 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/2.692, allocations: 0.5945 MB / 1.521 GB, free: 111.8 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/2.694, allocations: 1.835 MB / 1.523 GB, free: 109.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/2.698, allocations: 344.8 kB / 1.523 GB, free: 109.6 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/2.699, allocations: 141.1 kB / 1.523 GB, free: 109.5 MB / 0.9357 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * 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 (300): * Single equations (assignments): 292 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000861/2.699, allocations: 0.5772 MB / 1.524 GB, free: 108.9 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/2.701, allocations: 0.5093 MB / 1.524 GB, free: 108.4 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008936/2.71, allocations: 4.032 MB / 1.528 GB, free: 104.4 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.388e-05/2.71, allocations: 27.98 kB / 1.528 GB, free: 104.4 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/2.71, allocations: 0 / 1.528 GB, free: 104.4 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006588/2.716, allocations: 2.883 MB / 1.531 GB, free: 101.5 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/2.736, allocations: 8.828 MB / 1.54 GB, free: 92.6 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/2.736, allocations: 4 kB / 1.54 GB, free: 92.6 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/2.737, allocations: 363.9 kB / 1.54 GB, free: 92.26 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/2.739, allocations: 0.5898 MB / 1.541 GB, free: 91.68 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/2.739, allocations: 67.89 kB / 1.541 GB, free: 91.61 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/2.743, allocations: 3.121 MB / 1.544 GB, free: 88.4 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/2.743, allocations: 11.16 kB / 1.544 GB, free: 88.39 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/2.755, allocations: 5.614 MB / 1.549 GB, free: 82.71 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/2.757, allocations: 0.9665 MB / 1.55 GB, free: 81.72 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008212/2.758, allocations: 55.86 kB / 1.55 GB, free: 81.67 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/2.761, allocations: 171.8 kB / 1.55 GB, free: 81.5 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/2.761, allocations: 129.1 kB / 1.551 GB, free: 81.38 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/2.761, allocations: 102 kB / 1.551 GB, free: 81.29 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.004728/2.766, allocations: 3.315 MB / 1.554 GB, free: 77.97 MB / 0.9357 GB Notification: Performance of sort global known variables: time 4.01e-07/2.766, allocations: 0 / 1.554 GB, free: 77.97 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.007447/2.773, allocations: 2.726 MB / 1.557 GB, free: 75.32 MB / 0.9357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * 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 (170): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002387/2.776, allocations: 1.317 MB / 1.558 GB, free: 74.27 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.009932/2.786, allocations: 5.039 MB / 1.563 GB, free: 69.38 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/2.786, allocations: 4 kB / 1.563 GB, free: 69.38 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.003675/2.79, allocations: 1.646 MB / 1.564 GB, free: 67.72 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/2.8, allocations: 2.652 MB / 1.567 GB, free: 65.47 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/2.814, allocations: 9.122 MB / 1.576 GB, free: 56.32 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/2.816, allocations: 2.814 MB / 1.579 GB, free: 53.47 MB / 0.9357 GB Notification: Performance of simCode: alias equations: time 0.004491/2.82, allocations: 1.117 MB / 1.58 GB, free: 52.43 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008548/2.821, allocations: 371.3 kB / 1.58 GB, free: 52.06 MB / 0.9357 GB Notification: Performance of SimCode: time 7.91e-07/2.821, allocations: 0 / 1.58 GB, free: 52.06 MB / 0.9357 GB Notification: Performance of Templates: time 0.5198/3.341, allocations: 108.7 MB / 1.686 GB, free: 277.1 MB / 0.9357 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)