Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_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.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.123/1.123, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.1261/0.1261, allocations: 12.02 MB / 302.4 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004855/0.0004855, allocations: 35.92 kB / 355.5 MB, free: 3.805 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.662/1.662, allocations: 268.1 MB / 0.6608 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 113.6 kB / 0.7802 GB, free: 32.49 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1574, allocations: 108.4 MB / 0.8861 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.5046/0.662, allocations: 242.2 MB / 1.123 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05403/0.716, allocations: 48.71 MB / 1.17 GB, free: 12.46 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008649/0.7247, allocations: 291.3 kB / 1.17 GB, free: 12.36 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.008635/0.7334, allocations: 3.425 MB / 1.174 GB, free: 9.438 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.02069/0.7541, allocations: 8.516 MB / 1.182 GB, free: 1.496 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.01374/0.7679, allocations: 6.425 MB / 1.188 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02082/0.7887, allocations: 17.34 MB / 1.205 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00951/0.7982, allocations: 6.305 MB / 1.211 GB, free: 3.352 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0131/0.8113, allocations: 6.768 MB / 1.218 GB, free: 12.58 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007298/0.8187, allocations: 4.687 MB / 1.223 GB, free: 7.875 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.001808/0.8205, allocations: 0.6992 MB / 1.223 GB, free: 7.176 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009188/0.8297, allocations: 3.757 MB / 1.227 GB, free: 3.414 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 0.002336/0.832, allocations: 1.717 MB / 1.229 GB, free: 1.691 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 0.005756/0.8378, allocations: 3.71 MB / 1.232 GB, free: 13.96 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.8535, allocations: 11.88 MB / 1.244 GB, free: 2.051 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8535, allocations: 3.984 kB / 1.244 GB, free: 2.047 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8535, allocations: 0 / 1.244 GB, free: 2.047 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.000128/0.8536, allocations: 0 / 1.244 GB, free: 2.047 MB / 0.8263 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.01193/0.8656, allocations: 7.188 MB / 1.251 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.8656, allocations: 8.031 kB / 1.251 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005793/0.8662, allocations: 485.4 kB / 1.251 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006054/0.8723, allocations: 1.331 MB / 1.253 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009834/0.8821, allocations: 5.965 MB / 1.259 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00144/0.8836, allocations: 0.5072 MB / 1.259 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005673/0.8841, allocations: 372 kB / 1.259 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008388/0.8925, allocations: 4.557 MB / 1.264 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.415e-05/0.8926, allocations: 7.938 kB / 1.264 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/0.893, allocations: 148 kB / 1.264 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.634e-05/0.893, allocations: 92 kB / 1.264 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008795/0.9018, allocations: 3.773 MB / 1.268 GB, free: 9.227 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.02985/0.9317, allocations: 23.21 MB / 1.29 GB, free: 0.7539 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005949/0.9377, allocations: 3.039 MB / 1.293 GB, free: 13.58 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/0.9406, allocations: 1.313 MB / 1.295 GB, free: 12.27 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.01174/0.9524, allocations: 8.467 MB / 1.303 GB, free: 2.863 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003259/0.9556, allocations: 1.482 MB / 1.304 GB, free: 1.352 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=184): time 4.217e-06/0.9557, allocations: 0 / 1.304 GB, free: 1.352 MB / 0.8888 GB Notification: Performance of matching and sorting (n=184): time 0.01832/0.974, allocations: 5.262 MB / 1.31 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.9741, allocations: 183.5 kB / 1.31 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008608/0.9827, allocations: 4.864 MB / 1.314 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004258/0.9832, allocations: 73.7 kB / 1.314 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002645/0.9858, allocations: 2.675 MB / 1.317 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008719/0.9867, allocations: 0.624 MB / 1.318 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.9879, allocations: 0.5594 MB / 1.318 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/0.988, allocations: 309.1 kB / 1.319 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.9909, allocations: 1.195 MB / 1.32 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003829/0.9948, allocations: 2.272 MB / 1.322 GB, free: 14.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8994/1.894, allocations: 89.42 MB / 1.409 GB, free: 368.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.744e-05/1.894, allocations: 11.72 kB / 1.409 GB, free: 368.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01068/1.905, allocations: 4.209 MB / 1.413 GB, free: 368.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-05/1.905, allocations: 85.59 kB / 1.413 GB, free: 368.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.722e-05/1.905, allocations: 27.36 kB / 1.413 GB, free: 368.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/1.908, allocations: 0.6792 MB / 1.414 GB, free: 368.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/1.91, allocations: 0.6296 MB / 1.415 GB, free: 368 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/1.914, allocations: 3.069 MB / 1.418 GB, free: 365.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/1.918, allocations: 428.8 kB / 1.418 GB, free: 365.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004589/1.918, allocations: 151.7 kB / 1.418 GB, free: 365.8 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.004925/1.923, allocations: 2.334 MB / 1.421 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003281/1.926, allocations: 2.224 MB / 1.423 GB, free: 364.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5574/2.484, allocations: 89.17 MB / 1.51 GB, free: 295.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.89e-05/2.484, allocations: 8 kB / 1.51 GB, free: 295.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.008145/2.492, allocations: 4.105 MB / 1.514 GB, free: 291.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/2.492, allocations: 84.42 kB / 1.514 GB, free: 291.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/2.492, allocations: 32.06 kB / 1.514 GB, free: 291.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/2.494, allocations: 0.6441 MB / 1.515 GB, free: 290.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/2.496, allocations: 0.6006 MB / 1.515 GB, free: 290.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/2.498, allocations: 1.866 MB / 1.517 GB, free: 288.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/2.501, allocations: 355.1 kB / 1.517 GB, free: 288.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/2.502, allocations: 140 kB / 1.517 GB, free: 287.9 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: 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.0008376/2.502, allocations: 0.5717 MB / 1.518 GB, free: 287.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/2.504, allocations: 0.5093 MB / 1.519 GB, free: 286.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008857/2.512, allocations: 4.086 MB / 1.523 GB, free: 282.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/2.512, allocations: 28.81 kB / 1.523 GB, free: 282.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/2.512, allocations: 4 kB / 1.523 GB, free: 282.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006509/2.519, allocations: 2.924 MB / 1.525 GB, free: 279.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/2.536, allocations: 8.95 MB / 1.534 GB, free: 270.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/2.536, allocations: 3.656 kB / 1.534 GB, free: 270.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/2.538, allocations: 377.8 kB / 1.535 GB, free: 270.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/2.54, allocations: 0.6067 MB / 1.535 GB, free: 269.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/2.54, allocations: 71.78 kB / 1.535 GB, free: 269.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/2.543, allocations: 3.144 MB / 1.538 GB, free: 266.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/2.543, allocations: 11.88 kB / 1.538 GB, free: 266.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/2.555, allocations: 5.715 MB / 1.544 GB, free: 260.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/2.557, allocations: 0.9818 MB / 1.545 GB, free: 259.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008922/2.558, allocations: 44 kB / 1.545 GB, free: 259.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002745/2.561, allocations: 182.5 kB / 1.545 GB, free: 259.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/2.561, allocations: 135.6 kB / 1.545 GB, free: 259.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/2.561, allocations: 103.9 kB / 1.545 GB, free: 259.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004313/2.565, allocations: 3.307 MB / 1.548 GB, free: 256 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/2.565, allocations: 4 kB / 1.548 GB, free: 256 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005938/2.571, allocations: 2.727 MB / 1.551 GB, free: 253.4 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 (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.01122/2.583, allocations: 7.075 MB / 1.558 GB, free: 246.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01179/2.594, allocations: 5.36 MB / 1.563 GB, free: 241.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/2.594, allocations: 3.938 kB / 1.563 GB, free: 241.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003493/2.598, allocations: 1.66 MB / 1.565 GB, free: 239.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008666/2.607, allocations: 2.662 MB / 1.568 GB, free: 237.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05171/2.658, allocations: 46.58 MB / 1.613 GB, free: 186.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/2.66, allocations: 2.801 MB / 1.616 GB, free: 183.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004237/2.665, allocations: 1.13 MB / 1.617 GB, free: 182.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002236/2.667, allocations: 2.37 MB / 1.619 GB, free: 180.5 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/2.667, allocations: 0 / 1.619 GB, free: 180.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.069/4.736, allocations: 153.4 MB / 1.769 GB, free: 28.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/21.04, allocations: 15.61 kB / 1.769 GB, free: 28.31 MB / 0.9825 GB (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)