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.006871/0.006871, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001577/0.001577, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.05854/0.05854, allocations: 12.06 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.0005365/0.0005365, allocations: 39.83 kB / 355.7 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.561/1.561, allocations: 268.3 MB / 0.6611 GB, free: 2.594 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 107.8 kB / 0.8869 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5103, allocations: 108.4 MB / 0.9927 GB, free: 11.56 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.2421/0.7524, allocations: 242.2 MB / 1.229 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.07041/0.8229, allocations: 48.69 MB / 1.277 GB, free: 2.59 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01125/0.8342, allocations: 290.4 kB / 1.277 GB, free: 2.305 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 0.505/1.339, allocations: 3.431 MB / 1.28 GB, free: 49.12 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.0218/1.361, allocations: 8.513 MB / 1.289 GB, free: 49.08 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01617/1.377, allocations: 6.453 MB / 1.295 GB, free: 49 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02448/1.402, allocations: 17.38 MB / 1.312 GB, free: 48.94 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/1.413, allocations: 6.296 MB / 1.318 GB, free: 48.05 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01765/1.43, allocations: 6.809 MB / 1.325 GB, free: 47.89 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009511/1.44, allocations: 4.683 MB / 1.329 GB, free: 47.06 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.0032/1.443, allocations: 0.6937 MB / 1.33 GB, free: 47.06 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/1.455, allocations: 3.772 MB / 1.334 GB, free: 46.99 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.002874/1.458, allocations: 1.717 MB / 1.335 GB, free: 46.75 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.007274/1.465, allocations: 3.714 MB / 1.339 GB, free: 45.77 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01914/1.484, allocations: 11.99 MB / 1.351 GB, free: 44.37 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/1.484, allocations: 3.625 kB / 1.351 GB, free: 44.37 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.813e-06/1.484, allocations: 0 / 1.351 GB, free: 44.37 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0003723/1.485, allocations: 0 / 1.351 GB, free: 44.37 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.0197/1.504, allocations: 7.191 MB / 1.358 GB, free: 40.86 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.504, allocations: 10.84 kB / 1.358 GB, free: 40.86 MB / 0.9513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001703/1.506, allocations: 488.6 kB / 1.358 GB, free: 40.72 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007727/1.514, allocations: 1.334 MB / 1.36 GB, free: 40.1 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/1.53, allocations: 6.212 MB / 1.366 GB, free: 37.72 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004012/1.531, allocations: 286.6 kB / 1.366 GB, free: 37.71 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/1.532, allocations: 378.9 kB / 1.366 GB, free: 37.71 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/1.549, allocations: 4.527 MB / 1.371 GB, free: 36.31 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003251/1.55, allocations: 12.5 kB / 1.371 GB, free: 36.31 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00143/1.551, allocations: 157.4 kB / 1.371 GB, free: 36.31 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/1.551, allocations: 91.38 kB / 1.371 GB, free: 36.3 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/1.563, allocations: 3.738 MB / 1.375 GB, free: 35.71 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.03662/1.6, allocations: 23.02 MB / 1.397 GB, free: 14.78 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006472/1.606, allocations: 3.002 MB / 1.4 GB, free: 11.66 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/1.609, allocations: 1.291 MB / 1.401 GB, free: 10.37 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.01728/1.627, allocations: 8.46 MB / 1.409 GB, free: 1.035 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003684/1.63, allocations: 1.462 MB / 1.411 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=184): time 5.11e-06/1.63, allocations: 0 / 1.411 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=184): time 0.02041/1.651, allocations: 5.143 MB / 1.416 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.651, allocations: 183.5 kB / 1.416 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/1.662, allocations: 4.868 MB / 1.421 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005634/1.662, allocations: 69.7 kB / 1.421 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.003331/1.666, allocations: 2.663 MB / 1.424 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/1.667, allocations: 0.6277 MB / 1.424 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001676/1.668, allocations: 0.5594 MB / 1.425 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.669, allocations: 309.1 kB / 1.425 GB, free: 1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/1.672, allocations: 1.172 MB / 1.426 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/1.676, allocations: 2.256 MB / 1.428 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.609/2.286, allocations: 89.32 MB / 1.516 GB, free: 4.199 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.103e-05/2.286, allocations: 8 kB / 1.516 GB, free: 4.191 MB / 1.061 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01325/2.299, allocations: 4.173 MB / 1.52 GB, free: 156 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/2.299, allocations: 79.39 kB / 1.52 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.229e-05/2.299, allocations: 28 kB / 1.52 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/2.302, allocations: 0.6473 MB / 1.52 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/2.305, allocations: 0.6326 MB / 1.521 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/2.309, allocations: 3.048 MB / 1.524 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005447/2.314, allocations: 414.4 kB / 1.524 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008286/2.315, allocations: 148 kB / 1.524 GB, free: 11.12 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.006775/2.322, allocations: 2.322 MB / 1.527 GB, free: 8.801 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004216/2.326, allocations: 2.205 MB / 1.529 GB, free: 6.129 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6034/2.93, allocations: 89.06 MB / 1.616 GB, free: 13.21 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-05/2.93, allocations: 8 kB / 1.616 GB, free: 13.21 MB / 1.17 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.01293/2.943, allocations: 4.065 MB / 1.62 GB, free: 9.277 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/2.943, allocations: 79.39 kB / 1.62 GB, free: 9.188 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-05/2.943, allocations: 28 kB / 1.62 GB, free: 9.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/2.945, allocations: 0.6302 MB / 1.621 GB, free: 8.523 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/2.948, allocations: 0.5949 MB / 1.621 GB, free: 7.965 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/2.951, allocations: 1.829 MB / 1.623 GB, free: 6.102 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005635/2.957, allocations: 347.8 kB / 1.623 GB, free: 5.758 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007626/2.958, allocations: 144 kB / 1.623 GB, free: 5.617 MB / 1.17 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.001653/2.959, allocations: 0.5604 MB / 1.624 GB, free: 5.074 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002188/2.961, allocations: 0.5171 MB / 1.624 GB, free: 4.551 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/2.975, allocations: 4.028 MB / 1.628 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.915e-05/2.975, allocations: 24 kB / 1.628 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-05/2.975, allocations: 3.984 kB / 1.628 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008559/2.984, allocations: 2.88 MB / 1.631 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/3.011, allocations: 8.833 MB / 1.64 GB, free: 4.746 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/3.011, allocations: 0 / 1.64 GB, free: 4.746 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/3.013, allocations: 367.4 kB / 1.64 GB, free: 4.402 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002361/3.015, allocations: 0.5926 MB / 1.641 GB, free: 3.809 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000404/3.016, allocations: 67.89 kB / 1.641 GB, free: 3.742 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004887/3.02, allocations: 3.129 MB / 1.644 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/3.02, allocations: 4 kB / 1.644 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/3.039, allocations: 5.623 MB / 1.649 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003674/3.043, allocations: 0.9666 MB / 1.65 GB, free: 9.844 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002045/3.045, allocations: 47.91 kB / 1.65 GB, free: 9.797 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004207/3.049, allocations: 171.8 kB / 1.651 GB, free: 9.629 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004499/3.05, allocations: 140.4 kB / 1.651 GB, free: 9.492 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004534/3.05, allocations: 99.92 kB / 1.651 GB, free: 9.395 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.008279/3.059, allocations: 3.303 MB / 1.654 GB, free: 6.09 MB / 1.201 GB Notification: Performance of sort global known variables: time 4e-07/3.059, allocations: 0 / 1.654 GB, free: 6.09 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01122/3.07, allocations: 2.72 MB / 1.657 GB, free: 3.363 MB / 1.201 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.0175/3.088, allocations: 7.009 MB / 1.664 GB, free: 12.43 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01387/3.101, allocations: 5.032 MB / 1.668 GB, free: 7.535 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/3.101, allocations: 0 / 1.668 GB, free: 7.535 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005196/3.107, allocations: 1.653 MB / 1.67 GB, free: 5.898 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01537/3.122, allocations: 2.657 MB / 1.673 GB, free: 3.512 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09358/3.216, allocations: 35.58 MB / 1.707 GB, free: 15.23 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004765/3.221, allocations: 2.807 MB / 1.71 GB, free: 12.4 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.006651/3.227, allocations: 1.121 MB / 1.711 GB, free: 11.35 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005065/3.232, allocations: 2.361 MB / 1.714 GB, free: 8.992 MB / 1.264 GB Notification: Performance of SimCode: time 7.92e-07/3.232, allocations: 0 / 1.714 GB, free: 8.992 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6814/3.914, allocations: 149 MB / 1.859 GB, free: 491.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.41/28.32, allocations: 10.23 kB / 1.859 GB, free: 491.8 MB / 1.279 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)