Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_latest_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.004569/0.004569, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001448/0.001448, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.06245/0.06245, 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.0006842/0.0006842, allocations: 19.97 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.982/1.982, allocations: 272.3 MB / 0.6651 GB, free: 18.28 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003195/0.003195, allocations: 111.8 kB / 0.8924 GB, free: 15.56 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4709, allocations: 109.2 MB / 0.999 GB, free: 7.758 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.2087/0.6796, allocations: 217.6 MB / 1.212 GB, free: 6.098 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.06039/0.7401, allocations: 45.34 MB / 1.256 GB, free: 8.652 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007379/0.7475, allocations: 266.5 kB / 1.256 GB, free: 8.391 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.007731/0.7552, allocations: 3.141 MB / 1.259 GB, free: 5.23 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.01969/0.775, allocations: 7.742 MB / 1.267 GB, free: 13.46 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01503/0.79, allocations: 6.694 MB / 1.273 GB, free: 6.805 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.4592/1.249, allocations: 16.64 MB / 1.289 GB, free: 45.05 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008678/1.258, allocations: 5.916 MB / 1.295 GB, free: 44.26 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01418/1.272, allocations: 6.487 MB / 1.302 GB, free: 44.23 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007879/1.28, allocations: 4.498 MB / 1.306 GB, free: 43.69 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.001543/1.282, allocations: 0.6494 MB / 1.307 GB, free: 43.69 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008662/1.29, allocations: 3.719 MB / 1.31 GB, free: 43.68 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.001715/1.292, allocations: 1.62 MB / 1.312 GB, free: 43.46 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.004839/1.297, allocations: 3.483 MB / 1.315 GB, free: 42.55 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01429/1.311, allocations: 11.34 MB / 1.326 GB, free: 41.22 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.311, allocations: 0.7812 kB / 1.326 GB, free: 41.22 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.964e-06/1.311, allocations: 0 / 1.326 GB, free: 41.22 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0002022/1.311, allocations: 0 / 1.326 GB, free: 41.22 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.01154/1.323, allocations: 6.924 MB / 1.333 GB, free: 38.12 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.323, allocations: 8.719 kB / 1.333 GB, free: 38.12 MB / 0.9513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005584/1.324, allocations: 461.7 kB / 1.334 GB, free: 38.06 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005347/1.329, allocations: 1.241 MB / 1.335 GB, free: 37.68 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009064/1.338, allocations: 5.771 MB / 1.34 GB, free: 36.6 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.338, allocations: 269.5 kB / 1.341 GB, free: 36.59 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005046/1.339, allocations: 354.7 kB / 1.341 GB, free: 36.59 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006995/1.346, allocations: 4.174 MB / 1.345 GB, free: 36.1 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.239e-05/1.346, allocations: 7.953 kB / 1.345 GB, free: 36.1 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003194/1.346, allocations: 142.7 kB / 1.345 GB, free: 36.1 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/1.346, allocations: 81.94 kB / 1.345 GB, free: 36.1 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006909/1.353, allocations: 3.543 MB / 1.349 GB, free: 36.04 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.02215/1.375, allocations: 20.06 MB / 1.368 GB, free: 27.43 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/1.38, allocations: 2.405 MB / 1.371 GB, free: 27.08 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002608/1.382, allocations: 1.458 MB / 1.372 GB, free: 26.86 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.008585/1.391, allocations: 8.322 MB / 1.38 GB, free: 20.95 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002699/1.394, allocations: 1.474 MB / 1.382 GB, free: 20.51 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=207): time 4.268e-06/1.394, allocations: 0 / 1.382 GB, free: 20.51 MB / 0.9513 GB Notification: Performance of matching and sorting (n=207): time 0.01285/1.407, allocations: 5.039 MB / 1.387 GB, free: 18.99 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/1.407, allocations: 126.7 kB / 1.387 GB, free: 18.86 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005501/1.412, allocations: 4.407 MB / 1.391 GB, free: 17.17 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0003686/1.412, allocations: 72.14 kB / 1.391 GB, free: 17.12 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.00159/1.414, allocations: 2.435 MB / 1.393 GB, free: 15.89 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.00064/1.415, allocations: 0.7434 MB / 1.394 GB, free: 15.25 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007274/1.415, allocations: 0.551 MB / 1.395 GB, free: 14.9 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 3.045e-05/1.415, allocations: 301.1 kB / 1.395 GB, free: 14.61 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/1.418, allocations: 1.23 MB / 1.396 GB, free: 13.64 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/1.421, allocations: 2.14 MB / 1.398 GB, free: 11.12 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04103/1.462, allocations: 10.37 MB / 1.408 GB, free: 496 kB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/1.462, allocations: 7.938 kB / 1.408 GB, free: 488 kB / 0.9513 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.009575/1.471, allocations: 4.203 MB / 1.412 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/1.471, allocations: 87.38 kB / 1.413 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/1.471, allocations: 20 kB / 1.413 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/1.473, allocations: 375.4 kB / 1.413 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/1.476, allocations: 0.6939 MB / 1.414 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/1.48, allocations: 4.302 MB / 1.418 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/1.483, allocations: 407.1 kB / 1.418 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003314/1.484, allocations: 147.9 kB / 1.418 GB, free: 6.168 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.005305/1.489, allocations: 2.33 MB / 1.421 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00388/1.493, allocations: 2.094 MB / 1.423 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04833/1.541, allocations: 10.13 MB / 1.433 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.726e-05/1.541, allocations: 8 kB / 1.433 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01007/1.551, allocations: 4.11 MB / 1.437 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/1.551, allocations: 75.39 kB / 1.437 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/1.551, allocations: 32.77 kB / 1.437 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/1.553, allocations: 357.4 kB / 1.437 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/1.555, allocations: 0.6588 MB / 1.438 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/1.558, allocations: 2.528 MB / 1.44 GB, free: 15.18 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/1.562, allocations: 344.3 kB / 1.44 GB, free: 14.84 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/1.562, allocations: 136 kB / 1.441 GB, free: 14.71 MB / 0.9982 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.0009909/1.563, allocations: 0.5976 MB / 1.441 GB, free: 14.13 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.564, allocations: 0.5046 MB / 1.442 GB, free: 13.62 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.574, allocations: 4.242 MB / 1.446 GB, free: 9.398 MB / 0.9982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.905e-05/1.574, allocations: 31.98 kB / 1.446 GB, free: 9.367 MB / 0.9982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.574, allocations: 4 kB / 1.446 GB, free: 9.363 MB / 0.9982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007369/1.582, allocations: 3.316 MB / 1.449 GB, free: 5.914 MB / 0.9982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/1.602, allocations: 8.877 MB / 1.458 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.602, allocations: 8 kB / 1.458 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/1.605, allocations: 464 kB / 1.458 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/1.606, allocations: 331.7 kB / 1.459 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/1.606, allocations: 67.95 kB / 1.459 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004588/1.611, allocations: 4.339 MB / 1.463 GB, free: 7.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.611, allocations: 7.562 kB / 1.463 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/1.626, allocations: 5.703 MB / 1.468 GB, free: 1.773 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003211/1.629, allocations: 1.001 MB / 1.469 GB, free: 0.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.63, allocations: 55.94 kB / 1.469 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.633, allocations: 167.8 kB / 1.47 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/1.633, allocations: 145.8 kB / 1.47 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/1.634, allocations: 99.92 kB / 1.47 GB, free: 300 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.005277/1.639, allocations: 2.989 MB / 1.473 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.639, allocations: 0 / 1.473 GB, free: 13.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.007697/1.647, allocations: 2.701 MB / 1.475 GB, free: 10.62 MB / 1.029 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.01783/1.664, allocations: 7.509 MB / 1.483 GB, free: 3.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01361/1.678, allocations: 5.518 MB / 1.488 GB, free: 13.72 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.678, allocations: 0 / 1.488 GB, free: 13.72 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004838/1.683, allocations: 1.876 MB / 1.49 GB, free: 11.86 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01196/1.695, allocations: 2.649 MB / 1.493 GB, free: 9.48 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07667/1.772, allocations: 34.82 MB / 1.527 GB, free: 5.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002948/1.775, allocations: 2.706 MB / 1.529 GB, free: 3.082 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.005113/1.78, allocations: 1.186 MB / 1.53 GB, free: 2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003585/1.783, allocations: 2.248 MB / 1.533 GB, free: 15.76 MB / 1.092 GB Notification: Performance of SimCode: time 4.038e-06/1.783, allocations: 0 / 1.533 GB, free: 15.76 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4298/2.213, allocations: 147.4 MB / 1.677 GB, free: 14.35 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.64/27.86, allocations: 15.98 kB / 1.677 GB, free: 14.33 MB / 1.233 GB (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)