Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",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.007778/0.007778, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001526/0.001526, allocations: 196.8 kB / 16.68 MB, free: 5.965 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.05951/0.05951, allocations: 12.05 MB / 302.6 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006002/0.0006001, allocations: 35.83 kB / 355.7 MB, free: 13.95 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.579/1.579, allocations: 268.2 MB / 0.6611 GB, free: 2.605 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 112.3 kB / 0.8869 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5759/0.5782, allocations: 108.4 MB / 0.9927 GB, free: 11.69 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.2266/0.8048, allocations: 217.6 MB / 1.205 GB, free: 12.17 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.07252/0.8774, allocations: 45.35 MB / 1.249 GB, free: 14.71 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01199/0.8894, allocations: 262.5 kB / 1.25 GB, free: 14.46 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.8999, allocations: 3.141 MB / 1.253 GB, free: 11.3 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02327/0.9233, allocations: 7.745 MB / 1.26 GB, free: 3.52 MB / 0.9357 GB Notification: Performance of NFTyping.typeClassSections: time 0.01917/0.9424, allocations: 6.69 MB / 1.267 GB, free: 12.88 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.6197/1.562, allocations: 16.65 MB / 1.283 GB, free: 45.17 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01552/1.578, allocations: 5.918 MB / 1.289 GB, free: 44.38 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01939/1.597, allocations: 6.485 MB / 1.295 GB, free: 44.35 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/1.608, allocations: 4.497 MB / 1.3 GB, free: 43.91 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.003418/1.611, allocations: 0.6508 MB / 1.3 GB, free: 43.91 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01277/1.624, allocations: 3.715 MB / 1.304 GB, free: 43.9 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.003853/1.628, allocations: 1.626 MB / 1.306 GB, free: 43.68 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.008788/1.637, allocations: 3.484 MB / 1.309 GB, free: 42.77 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.02169/1.658, allocations: 11.29 MB / 1.32 GB, free: 41.73 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/1.658, allocations: 0 / 1.32 GB, free: 41.73 MB / 0.9513 GB Notification: Performance of FrontEnd: time 2.384e-06/1.658, allocations: 0 / 1.32 GB, free: 41.73 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0003864/1.659, allocations: 0 / 1.32 GB, free: 41.73 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: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.0255/1.684, allocations: 6.711 MB / 1.327 GB, free: 38.78 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.684, allocations: 12.02 kB / 1.327 GB, free: 38.78 MB / 0.9513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001655/1.686, allocations: 454.2 kB / 1.327 GB, free: 38.72 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006958/1.693, allocations: 1.212 MB / 1.328 GB, free: 38.36 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/1.706, allocations: 5.733 MB / 1.334 GB, free: 37.33 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/1.706, allocations: 268.1 kB / 1.334 GB, free: 37.32 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/1.707, allocations: 355.7 kB / 1.334 GB, free: 37.32 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/1.718, allocations: 4.174 MB / 1.338 GB, free: 36.82 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.324e-05/1.718, allocations: 13.12 kB / 1.338 GB, free: 36.82 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005234/1.718, allocations: 140.2 kB / 1.339 GB, free: 36.82 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/1.718, allocations: 81.53 kB / 1.339 GB, free: 36.82 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009471/1.728, allocations: 3.544 MB / 1.342 GB, free: 36.77 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.03507/1.763, allocations: 20.01 MB / 1.362 GB, free: 28.23 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005556/1.769, allocations: 2.403 MB / 1.364 GB, free: 28.16 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003434/1.772, allocations: 1.467 MB / 1.365 GB, free: 28.13 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.0138/1.786, allocations: 8.303 MB / 1.374 GB, free: 22.56 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003526/1.79, allocations: 1.48 MB / 1.375 GB, free: 22.12 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=207): time 6.713e-06/1.79, allocations: 0 / 1.375 GB, free: 22.12 MB / 0.9513 GB Notification: Performance of matching and sorting (n=207): time 0.01614/1.806, allocations: 5.01 MB / 1.38 GB, free: 20.62 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/1.806, allocations: 131.3 kB / 1.38 GB, free: 20.5 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007769/1.814, allocations: 4.401 MB / 1.384 GB, free: 19.48 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0007615/1.814, allocations: 75.48 kB / 1.384 GB, free: 19.45 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/1.817, allocations: 2.4 MB / 1.387 GB, free: 18.55 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.818, allocations: 0.7002 MB / 1.387 GB, free: 18.04 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/1.82, allocations: 0.5479 MB / 1.388 GB, free: 17.93 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 6.426e-05/1.82, allocations: 304.9 kB / 1.388 GB, free: 17.63 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/1.823, allocations: 1.234 MB / 1.389 GB, free: 17.42 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/1.826, allocations: 2.138 MB / 1.391 GB, free: 16.14 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04687/1.873, allocations: 10.36 MB / 1.402 GB, free: 8.75 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.034e-05/1.873, allocations: 11.94 kB / 1.402 GB, free: 8.738 MB / 0.9513 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.0104/1.884, allocations: 4.184 MB / 1.406 GB, free: 5.305 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/1.884, allocations: 79.38 kB / 1.406 GB, free: 5.215 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/1.884, allocations: 27.94 kB / 1.406 GB, free: 5.188 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/1.885, allocations: 376.1 kB / 1.406 GB, free: 4.816 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/1.888, allocations: 0.6914 MB / 1.407 GB, free: 4.164 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/1.891, allocations: 4.313 MB / 1.411 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004873/1.896, allocations: 394.2 kB / 1.411 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006174/1.897, allocations: 144 kB / 1.412 GB, free: 15.11 MB / 0.9669 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.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.006072/1.903, allocations: 2.339 MB / 1.414 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003974/1.907, allocations: 2.09 MB / 1.416 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04861/1.955, allocations: 10.14 MB / 1.426 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.562e-05/1.956, allocations: 7.375 kB / 1.426 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01216/1.968, allocations: 4.088 MB / 1.43 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/1.968, allocations: 79.39 kB / 1.43 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/1.968, allocations: 20 kB / 1.43 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/1.969, allocations: 361.4 kB / 1.43 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/1.972, allocations: 0.6577 MB / 1.431 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/1.975, allocations: 2.526 MB / 1.433 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004802/1.98, allocations: 331.8 kB / 1.434 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005953/1.98, allocations: 143.9 kB / 1.434 GB, free: 7.676 MB / 0.9825 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.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: 101 * 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 (313): * Single equations (assignments): 304 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001455/1.982, allocations: 0.6032 MB / 1.434 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001933/1.984, allocations: 489.9 kB / 1.435 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.995, allocations: 4.236 MB / 1.439 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.602e-05/1.995, allocations: 31.98 kB / 1.439 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.995, allocations: 4 kB / 1.439 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008302/2.004, allocations: 3.316 MB / 1.442 GB, free: 14.9 MB / 0.9982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02807/2.032, allocations: 8.874 MB / 1.451 GB, free: 5.965 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/2.032, allocations: 3.984 kB / 1.451 GB, free: 5.961 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/2.035, allocations: 463.6 kB / 1.451 GB, free: 5.527 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/2.036, allocations: 340 kB / 1.452 GB, free: 5.191 MB / 0.9982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004358/2.036, allocations: 71.95 kB / 1.452 GB, free: 5.121 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004252/2.041, allocations: 4.337 MB / 1.456 GB, free: 0.5742 MB / 0.9982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.041, allocations: 0 / 1.456 GB, free: 0.5742 MB / 0.9982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/2.057, allocations: 5.675 MB / 1.462 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003698/2.061, allocations: 0.9667 MB / 1.462 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001773/2.063, allocations: 51.94 kB / 1.463 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003989/2.067, allocations: 179.8 kB / 1.463 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003937/2.067, allocations: 144.6 kB / 1.463 GB, free: 9.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004087/2.067, allocations: 103.9 kB / 1.463 GB, free: 9.328 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.007086/2.075, allocations: 2.985 MB / 1.466 GB, free: 6.363 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.71e-07/2.075, allocations: 4 kB / 1.466 GB, free: 6.359 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0106/2.085, allocations: 2.672 MB / 1.468 GB, free: 3.684 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * 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 (212): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01981/2.105, allocations: 7.485 MB / 1.476 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01446/2.12, allocations: 5.514 MB / 1.481 GB, free: 6.797 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.629e-06/2.12, allocations: 1.875 kB / 1.481 GB, free: 6.797 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00502/2.125, allocations: 1.874 MB / 1.483 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/2.138, allocations: 2.64 MB / 1.486 GB, free: 2.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08232/2.221, allocations: 34.62 MB / 1.519 GB, free: 15.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003816/2.225, allocations: 2.713 MB / 1.522 GB, free: 12.38 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.006/2.231, allocations: 1.185 MB / 1.523 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004443/2.235, allocations: 2.236 MB / 1.525 GB, free: 9.055 MB / 1.076 GB Notification: Performance of SimCode: time 9.72e-07/2.235, allocations: 4 kB / 1.525 GB, free: 9.051 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.25/2.485, allocations: 145.9 MB / 1.668 GB, free: 8.895 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.06/25.54, allocations: 4.375 kB / 1.668 GB, free: 8.891 MB / 1.217 GB (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)