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.004985/0.004985, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001135/0.001136, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.05783/0.05783, allocations: 12.04 MB / 302.6 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004988/0.0004988, allocations: 31.33 kB / 355.7 MB, free: 13.97 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.958/1.958, allocations: 272.3 MB / 0.6651 GB, free: 18.21 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 115.8 kB / 0.8924 GB, free: 15.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.5458, allocations: 109.1 MB / 0.999 GB, free: 7.867 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.2196/0.7654, allocations: 242.2 MB / 1.235 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5839/1.349, allocations: 48.68 MB / 1.283 GB, free: 47.86 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00985/1.359, allocations: 289.6 kB / 1.283 GB, free: 47.86 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 0.009234/1.369, allocations: 3.432 MB / 1.287 GB, free: 47.86 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.0221/1.391, allocations: 8.515 MB / 1.295 GB, free: 47.76 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01693/1.408, allocations: 6.461 MB / 1.301 GB, free: 47.6 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02551/1.433, allocations: 17.37 MB / 1.318 GB, free: 47.54 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009547/1.443, allocations: 6.297 MB / 1.324 GB, free: 46.64 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01472/1.457, allocations: 6.81 MB / 1.331 GB, free: 46.39 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008643/1.466, allocations: 4.694 MB / 1.336 GB, free: 45.55 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.003269/1.469, allocations: 0.6932 MB / 1.336 GB, free: 45.55 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/1.481, allocations: 3.769 MB / 1.34 GB, free: 45.48 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.003322/1.484, allocations: 1.72 MB / 1.342 GB, free: 45.24 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.007681/1.492, allocations: 3.706 MB / 1.345 GB, free: 44.27 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01852/1.511, allocations: 11.99 MB / 1.357 GB, free: 41.76 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.511, allocations: 0 / 1.357 GB, free: 41.76 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.673e-06/1.511, allocations: 0 / 1.357 GB, free: 41.76 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0002961/1.511, allocations: 0 / 1.357 GB, free: 41.76 MB / 0.9513 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.01662/1.527, allocations: 7.195 MB / 1.364 GB, free: 37.86 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.528, allocations: 11.66 kB / 1.364 GB, free: 37.86 MB / 0.9513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001212/1.529, allocations: 482.7 kB / 1.364 GB, free: 37.71 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006861/1.536, allocations: 1.342 MB / 1.366 GB, free: 37.09 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/1.549, allocations: 6.204 MB / 1.372 GB, free: 34.71 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003303/1.549, allocations: 286.1 kB / 1.372 GB, free: 34.7 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/1.551, allocations: 378.2 kB / 1.373 GB, free: 34.7 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00966/1.56, allocations: 4.533 MB / 1.377 GB, free: 33.3 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-05/1.56, allocations: 14.84 kB / 1.377 GB, free: 33.3 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004584/1.561, allocations: 153.6 kB / 1.377 GB, free: 33.3 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/1.561, allocations: 90.47 kB / 1.377 GB, free: 33.21 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008834/1.57, allocations: 3.738 MB / 1.381 GB, free: 30.8 MB / 0.9513 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.02847/1.598, allocations: 22.99 MB / 1.403 GB, free: 7.18 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00509/1.603, allocations: 3.014 MB / 1.406 GB, free: 4.043 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002505/1.606, allocations: 1.293 MB / 1.407 GB, free: 2.754 MB / 0.9513 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.0135/1.619, allocations: 8.467 MB / 1.416 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003456/1.623, allocations: 1.462 MB / 1.417 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=184): time 6.553e-06/1.623, allocations: 0 / 1.417 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=184): time 0.0195/1.642, allocations: 5.152 MB / 1.422 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.643, allocations: 175.5 kB / 1.422 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01136/1.654, allocations: 4.876 MB / 1.427 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0006351/1.655, allocations: 69.7 kB / 1.427 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003412/1.658, allocations: 2.658 MB / 1.43 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/1.659, allocations: 0.6269 MB / 1.43 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/1.661, allocations: 0.5633 MB / 1.431 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.661, allocations: 305.1 kB / 1.431 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/1.664, allocations: 1.176 MB / 1.432 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00401/1.668, allocations: 2.248 MB / 1.435 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6018/2.27, allocations: 89.34 MB / 1.522 GB, free: 12.58 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-05/2.27, allocations: 8 kB / 1.522 GB, free: 12.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01292/2.283, allocations: 4.163 MB / 1.526 GB, free: 8.539 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/2.283, allocations: 83.38 kB / 1.526 GB, free: 8.445 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-05/2.283, allocations: 28 kB / 1.526 GB, free: 8.418 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002548/2.286, allocations: 0.6523 MB / 1.527 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002958/2.289, allocations: 0.6222 MB / 1.527 GB, free: 7.176 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/2.293, allocations: 3.038 MB / 1.53 GB, free: 4.059 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004818/2.298, allocations: 425.2 kB / 1.531 GB, free: 3.645 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006615/2.298, allocations: 144 kB / 1.531 GB, free: 3.504 MB / 1.076 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.006358/2.305, allocations: 2.322 MB / 1.533 GB, free: 1.184 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004011/2.309, allocations: 2.206 MB / 1.535 GB, free: 14.5 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6047/2.914, allocations: 89.06 MB / 1.622 GB, free: 5.527 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.972e-05/2.914, allocations: 8 kB / 1.622 GB, free: 5.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.01175/2.925, allocations: 4.055 MB / 1.626 GB, free: 1.594 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/2.925, allocations: 83.38 kB / 1.626 GB, free: 1.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.973e-05/2.926, allocations: 28 kB / 1.626 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/2.928, allocations: 0.6288 MB / 1.627 GB, free: 0.8438 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/2.931, allocations: 0.5993 MB / 1.627 GB, free: 288 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/2.934, allocations: 1.833 MB / 1.629 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005447/2.939, allocations: 339.9 kB / 1.63 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006973/2.94, allocations: 150.9 kB / 1.63 GB, free: 13.93 MB / 1.186 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.001545/2.942, allocations: 0.564 MB / 1.63 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002369/2.944, allocations: 0.5092 MB / 1.631 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/2.958, allocations: 4.024 MB / 1.635 GB, free: 8.891 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.168e-05/2.958, allocations: 27.98 kB / 1.635 GB, free: 8.863 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/2.958, allocations: 4 kB / 1.635 GB, free: 8.859 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008664/2.966, allocations: 2.885 MB / 1.638 GB, free: 5.953 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0257/2.992, allocations: 8.832 MB / 1.646 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/2.992, allocations: 6.438 kB / 1.646 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/2.994, allocations: 364 kB / 1.647 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/2.996, allocations: 0.5887 MB / 1.647 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003515/2.997, allocations: 63.95 kB / 1.647 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004709/3.001, allocations: 3.116 MB / 1.65 GB, free: 8.859 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/3.001, allocations: 7.094 kB / 1.65 GB, free: 8.855 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/3.019, allocations: 5.626 MB / 1.656 GB, free: 3.168 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00362/3.022, allocations: 0.9743 MB / 1.657 GB, free: 2.168 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/3.024, allocations: 44 kB / 1.657 GB, free: 2.125 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00422/3.028, allocations: 175.8 kB / 1.657 GB, free: 1.953 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005079/3.029, allocations: 132.5 kB / 1.657 GB, free: 1.824 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000485/3.029, allocations: 100.1 kB / 1.657 GB, free: 1.727 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007947/3.037, allocations: 3.307 MB / 1.66 GB, free: 14.42 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.5e-07/3.037, allocations: 0 / 1.66 GB, free: 14.42 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.01061/3.048, allocations: 2.724 MB / 1.663 GB, free: 11.69 MB / 1.217 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.01765/3.066, allocations: 7.004 MB / 1.67 GB, free: 4.75 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01301/3.079, allocations: 5.042 MB / 1.675 GB, free: 15.85 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/3.079, allocations: 4.062 kB / 1.675 GB, free: 15.85 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.005047/3.084, allocations: 1.638 MB / 1.676 GB, free: 14.22 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0149/3.099, allocations: 2.653 MB / 1.679 GB, free: 11.82 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08755/3.186, allocations: 35.6 MB / 1.714 GB, free: 7.531 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004363/3.191, allocations: 2.802 MB / 1.716 GB, free: 4.703 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.006305/3.197, allocations: 1.117 MB / 1.718 GB, free: 3.66 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004283/3.201, allocations: 2.362 MB / 1.72 GB, free: 1.301 MB / 1.264 GB Notification: Performance of SimCode: time 1.283e-06/3.201, allocations: 0 / 1.72 GB, free: 1.301 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8056/4.007, allocations: 149.1 MB / 1.865 GB, free: 294.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.12/28.13, allocations: 8.125 kB / 1.865 GB, free: 294.5 MB / 1.279 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)