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: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001249/0.001249, allocations: 191.8 kB / 16.14 MB, free: 6.734 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.241/1.241, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1455/0.1455, allocations: 12.02 MB / 302 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004415/0.0004415, allocations: 23.97 kB / 355.1 MB, free: 4.066 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.759/1.759, allocations: 272.2 MB / 0.6644 GB, free: 13.18 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 107.1 kB / 0.7842 GB, free: 31.65 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1774, allocations: 109.2 MB / 0.8909 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.5041/0.6815, allocations: 240.6 MB / 1.126 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.06183/0.7434, allocations: 48.88 MB / 1.174 GB, free: 7.816 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01143/0.7549, allocations: 268.5 kB / 1.174 GB, free: 7.711 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.01212/0.767, allocations: 2.879 MB / 1.177 GB, free: 5.152 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.02793/0.795, allocations: 7.971 MB / 1.184 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.8093, allocations: 5.888 MB / 1.19 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02345/0.8328, allocations: 22.08 MB / 1.212 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008348/0.8412, allocations: 5.097 MB / 1.217 GB, free: 12 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.8526, allocations: 5.659 MB / 1.222 GB, free: 6.312 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007013/0.8596, allocations: 4.632 MB / 1.227 GB, free: 1.66 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.001466/0.8611, allocations: 292 kB / 1.227 GB, free: 1.375 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008625/0.8697, allocations: 3.385 MB / 1.23 GB, free: 13.98 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.8717, allocations: 1.326 MB / 1.232 GB, free: 12.65 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.004674/0.8764, allocations: 3.268 MB / 1.235 GB, free: 9.367 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.8897, allocations: 11.66 MB / 1.246 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8898, allocations: 0 / 1.246 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8898, allocations: 0 / 1.246 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002194/0.89, allocations: 0 / 1.246 GB, free: 13.68 MB / 0.8419 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.01359/0.9036, allocations: 7.208 MB / 1.253 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.9037, allocations: 12.03 kB / 1.253 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006543/0.9043, allocations: 485.4 kB / 1.254 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006097/0.9104, allocations: 1.331 MB / 1.255 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.921, allocations: 6.166 MB / 1.261 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001298/0.9224, allocations: 0.5033 MB / 1.262 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005968/0.923, allocations: 372 kB / 1.262 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008349/0.9313, allocations: 4.49 MB / 1.266 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-05/0.9314, allocations: 7.938 kB / 1.266 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/0.9318, allocations: 156 kB / 1.266 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.9318, allocations: 88 kB / 1.266 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00809/0.9399, allocations: 3.789 MB / 1.27 GB, free: 4.73 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02656/0.9665, allocations: 22.11 MB / 1.292 GB, free: 13.39 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005598/0.9721, allocations: 3.135 MB / 1.295 GB, free: 10.12 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002824/0.975, allocations: 1.395 MB / 1.296 GB, free: 8.723 MB / 0.8888 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.01209/0.9871, allocations: 8.617 MB / 1.305 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003456/0.9905, allocations: 1.576 MB / 1.306 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001883/0.9924, allocations: 269.6 kB / 1.306 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=186): time 5.44e-06/0.9925, allocations: 0 / 1.306 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=186): time 0.01878/1.011, allocations: 5.637 MB / 1.312 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/1.011, allocations: 180.2 kB / 1.312 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007797/1.019, allocations: 4.745 MB / 1.317 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003736/1.02, allocations: 69.7 kB / 1.317 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00251/1.022, allocations: 2.64 MB / 1.319 GB, free: 15.92 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000761/1.023, allocations: 0.6354 MB / 1.32 GB, free: 15.28 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000991/1.024, allocations: 0.5358 MB / 1.321 GB, free: 14.73 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.84e-05/1.024, allocations: 313.1 kB / 1.321 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/1.027, allocations: 1.257 MB / 1.322 GB, free: 13.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003671/1.031, allocations: 2.27 MB / 1.324 GB, free: 10.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9058/1.936, allocations: 89.74 MB / 1.412 GB, free: 366.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.46e-05/1.936, allocations: 8.031 kB / 1.412 GB, free: 366.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.00993/1.946, allocations: 4.274 MB / 1.416 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/1.946, allocations: 79.7 kB / 1.416 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.648e-05/1.947, allocations: 25.31 kB / 1.416 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/1.949, allocations: 0.6714 MB / 1.417 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/1.951, allocations: 0.6265 MB / 1.417 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/1.954, allocations: 3.065 MB / 1.42 GB, free: 363.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/1.958, allocations: 438.4 kB / 1.421 GB, free: 363.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/1.959, allocations: 141.3 kB / 1.421 GB, free: 363.3 MB / 0.9825 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 = 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.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 = 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.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 = 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.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004605/1.963, allocations: 2.4 MB / 1.423 GB, free: 363.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003144/1.966, allocations: 2.221 MB / 1.426 GB, free: 361.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5808/2.547, allocations: 89.48 MB / 1.513 GB, free: 288 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.423e-05/2.547, allocations: 11.94 kB / 1.513 GB, free: 288 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization_lambda0): time 0.01006/2.557, allocations: 4.17 MB / 1.517 GB, free: 284.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/2.557, allocations: 87.31 kB / 1.517 GB, free: 284 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/2.557, allocations: 32.12 kB / 1.517 GB, free: 284 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/2.559, allocations: 0.6334 MB / 1.518 GB, free: 283.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/2.562, allocations: 0.5967 MB / 1.518 GB, free: 282.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/2.564, allocations: 1.868 MB / 1.52 GB, free: 280.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/2.569, allocations: 429.5 kB / 1.521 GB, free: 280.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/2.569, allocations: 140 kB / 1.521 GB, free: 280.3 MB / 0.9825 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 = 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.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 = 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.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 = 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.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (288): * Single equations (assignments): 280 * 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.001049/2.57, allocations: 0.5614 MB / 1.521 GB, free: 279.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/2.572, allocations: 0.5061 MB / 1.522 GB, free: 279.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009966/2.582, allocations: 4.222 MB / 1.526 GB, free: 275.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/2.582, allocations: 36.83 kB / 1.526 GB, free: 275.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/2.582, allocations: 0 / 1.526 GB, free: 275.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006756/2.588, allocations: 3.05 MB / 1.529 GB, free: 272 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/2.608, allocations: 8.82 MB / 1.537 GB, free: 263.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/2.608, allocations: 7.734 kB / 1.537 GB, free: 263.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/2.609, allocations: 383.5 kB / 1.538 GB, free: 262.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/2.611, allocations: 0.6111 MB / 1.538 GB, free: 262.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/2.612, allocations: 67.95 kB / 1.538 GB, free: 262.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003729/2.615, allocations: 3.155 MB / 1.542 GB, free: 258.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/2.615, allocations: 0 / 1.542 GB, free: 258.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/2.627, allocations: 5.581 MB / 1.547 GB, free: 253.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/2.63, allocations: 0.942 MB / 1.548 GB, free: 252.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/2.631, allocations: 44 kB / 1.548 GB, free: 252.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004103/2.635, allocations: 404.1 kB / 1.548 GB, free: 251.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/2.635, allocations: 137.7 kB / 1.548 GB, free: 251.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002414/2.636, allocations: 99.92 kB / 1.549 GB, free: 251.6 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.005888/2.641, allocations: 3.22 MB / 1.552 GB, free: 248.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/2.641, allocations: 0 / 1.552 GB, free: 248.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01079/2.652, allocations: 2.717 MB / 1.554 GB, free: 245.9 MB / 0.9825 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 (172): * Single equations (assignments): 152 * 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.01346/2.666, allocations: 7.055 MB / 1.561 GB, free: 239 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01074/2.676, allocations: 5.166 MB / 1.566 GB, free: 233.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/2.677, allocations: 0 / 1.566 GB, free: 233.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003991/2.681, allocations: 1.662 MB / 1.568 GB, free: 232.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01291/2.693, allocations: 2.569 MB / 1.57 GB, free: 229.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1655/2.859, allocations: 48.28 MB / 1.618 GB, free: 177.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/2.861, allocations: 2.816 MB / 1.62 GB, free: 174.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004757/2.866, allocations: 1.126 MB / 1.621 GB, free: 173.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002424/2.868, allocations: 2.374 MB / 1.624 GB, free: 171.1 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/2.868, allocations: 0 / 1.624 GB, free: 171.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.392/6.26, allocations: 148.8 MB / 1.769 GB, free: 23.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/6.261, allocations: 317.5 kB / 1.769 GB, free: 23.31 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.153/12.41, allocations: 3.75 kB / 1.769 GB, free: 23.31 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller.fmu > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)