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.001171/0.001171, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.00122/0.00122, allocations: 189.6 kB / 16.25 MB, free: 6.148 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1598/0.1598, allocations: 12.02 MB / 302.1 MB, free: 0.8906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004973/0.0004974, allocations: 19.95 kB / 355.2 MB, free: 4.008 MB / 286.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.745/1.745, allocations: 272.2 MB / 0.6645 GB, free: 13.09 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 112.7 kB / 0.7844 GB, free: 31.53 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1798, allocations: 109.2 MB / 0.891 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5037/0.6836, allocations: 215.6 MB / 1.102 GB, free: 28.19 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04259/0.7262, allocations: 45 MB / 1.146 GB, free: 14.7 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008291/0.7346, allocations: 243.9 kB / 1.146 GB, free: 14.6 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.006821/0.7414, allocations: 2.74 MB / 1.148 GB, free: 12.33 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.01657/0.758, allocations: 7.226 MB / 1.155 GB, free: 6.574 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01271/0.7707, allocations: 6.197 MB / 1.162 GB, free: 1.922 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.01702/0.7878, allocations: 16.8 MB / 1.178 GB, free: 3.922 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007505/0.7953, allocations: 5.874 MB / 1.184 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.8077, allocations: 6.528 MB / 1.19 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006215/0.8139, allocations: 4.664 MB / 1.195 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.8154, allocations: 0.6523 MB / 1.195 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008415/0.8239, allocations: 3.721 MB / 1.199 GB, free: 14.37 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00219/0.8261, allocations: 1.639 MB / 1.2 GB, free: 12.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005522/0.8316, allocations: 3.492 MB / 1.204 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.8464, allocations: 11.26 MB / 1.215 GB, free: 13.93 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.8464, allocations: 0 / 1.215 GB, free: 13.93 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8464, allocations: 0 / 1.215 GB, free: 13.93 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.0002565/0.8467, allocations: 4 kB / 1.215 GB, free: 13.93 MB / 0.8107 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.01209/0.8588, allocations: 6.721 MB / 1.221 GB, free: 7.102 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.8588, allocations: 8.031 kB / 1.221 GB, free: 7.094 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005064/0.8594, allocations: 463.8 kB / 1.222 GB, free: 6.629 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.8643, allocations: 1.206 MB / 1.223 GB, free: 5.414 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008571/0.8729, allocations: 5.694 MB / 1.229 GB, free: 15.64 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008942/0.8738, allocations: 431 kB / 1.229 GB, free: 15.22 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000425/0.8743, allocations: 356 kB / 1.229 GB, free: 14.88 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006866/0.8811, allocations: 4.179 MB / 1.233 GB, free: 10.56 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.397e-05/0.8812, allocations: 15.83 kB / 1.233 GB, free: 10.55 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/0.8815, allocations: 143.9 kB / 1.234 GB, free: 10.41 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/0.8816, allocations: 84 kB / 1.234 GB, free: 10.32 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006784/0.8884, allocations: 3.585 MB / 1.237 GB, free: 6.73 MB / 0.8263 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.02151/0.9099, allocations: 19.7 MB / 1.256 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.9144, allocations: 2.477 MB / 1.259 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/0.9172, allocations: 1.478 MB / 1.26 GB, free: 14.03 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.009007/0.9262, allocations: 8.321 MB / 1.268 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002911/0.9291, allocations: 1.512 MB / 1.27 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001161/0.9303, allocations: 229.8 kB / 1.27 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=209): time 3.476e-06/0.9303, allocations: 0 / 1.27 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=209): time 0.01296/0.9432, allocations: 5.14 MB / 1.275 GB, free: 13.85 MB / 0.8732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.9433, allocations: 132.8 kB / 1.275 GB, free: 13.69 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005329/0.9487, allocations: 4.312 MB / 1.279 GB, free: 9.398 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.9489, allocations: 69.7 kB / 1.28 GB, free: 9.324 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.9506, allocations: 2.394 MB / 1.282 GB, free: 6.91 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005707/0.9512, allocations: 0.7202 MB / 1.283 GB, free: 6.18 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007468/0.952, allocations: 0.5481 MB / 1.283 GB, free: 5.625 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.952, allocations: 305.1 kB / 1.283 GB, free: 5.324 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/0.9545, allocations: 1.266 MB / 1.285 GB, free: 4.051 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/0.9576, allocations: 2.151 MB / 1.287 GB, free: 1.512 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04364/1.001, allocations: 10.65 MB / 1.297 GB, free: 6.504 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/1.001, allocations: 8 kB / 1.297 GB, free: 6.496 MB / 0.8888 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008327/1.01, allocations: 4.247 MB / 1.301 GB, free: 2.199 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 6.423e-05/1.01, allocations: 79.39 kB / 1.301 GB, free: 2.109 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/1.01, allocations: 23.98 kB / 1.301 GB, free: 2.086 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/1.011, allocations: 465.6 kB / 1.302 GB, free: 1.625 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/1.014, allocations: 0.6942 MB / 1.303 GB, free: 0.9297 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/1.017, allocations: 4.354 MB / 1.307 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/1.021, allocations: 424.5 kB / 1.307 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/1.021, allocations: 139.9 kB / 1.307 GB, free: 11.79 MB / 0.9044 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 100000.0 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004214/1.025, allocations: 2.358 MB / 1.31 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003037/1.028, allocations: 2.112 MB / 1.312 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04337/1.072, allocations: 10.41 MB / 1.322 GB, free: 12.15 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-05/1.072, allocations: 8 kB / 1.322 GB, free: 12.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.008048/1.08, allocations: 4.142 MB / 1.326 GB, free: 7.949 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/1.08, allocations: 83.38 kB / 1.326 GB, free: 7.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/1.08, allocations: 28.12 kB / 1.326 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/1.081, allocations: 451.4 kB / 1.326 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/1.083, allocations: 0.6514 MB / 1.327 GB, free: 6.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/1.086, allocations: 2.569 MB / 1.33 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00356/1.089, allocations: 405.1 kB / 1.33 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/1.089, allocations: 140 kB / 1.33 GB, free: 3.465 MB / 0.92 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 100000.0 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0007937/1.09, allocations: 0.6026 MB / 1.331 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006412/1.091, allocations: 489.9 kB / 1.331 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008408/1.099, allocations: 4.371 MB / 1.335 GB, free: 13.97 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/1.099, allocations: 31.98 kB / 1.335 GB, free: 13.94 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.099, allocations: 4 kB / 1.335 GB, free: 13.94 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006175/1.106, allocations: 3.43 MB / 1.339 GB, free: 10.37 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/1.121, allocations: 8.899 MB / 1.348 GB, free: 1.297 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/1.121, allocations: 8.031 kB / 1.348 GB, free: 1.289 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.123, allocations: 475.3 kB / 1.348 GB, free: 0.8242 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/1.124, allocations: 364.1 kB / 1.348 GB, free: 476 kB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/1.124, allocations: 71.95 kB / 1.348 GB, free: 404 kB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/1.127, allocations: 4.316 MB / 1.353 GB, free: 11.84 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.127, allocations: 4 kB / 1.353 GB, free: 11.84 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.139, allocations: 5.824 MB / 1.358 GB, free: 5.891 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/1.14, allocations: 0.9397 MB / 1.359 GB, free: 4.926 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004969/1.141, allocations: 51.94 kB / 1.359 GB, free: 4.875 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002696/1.143, allocations: 391.3 kB / 1.36 GB, free: 4.492 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/1.144, allocations: 149.7 kB / 1.36 GB, free: 4.344 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.144, allocations: 99.92 kB / 1.36 GB, free: 4.246 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.003753/1.148, allocations: 2.923 MB / 1.363 GB, free: 1.344 MB / 0.9513 GB Notification: Performance of sort global known variables: time 2e-07/1.148, allocations: 0 / 1.363 GB, free: 1.344 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.005429/1.153, allocations: 2.67 MB / 1.365 GB, free: 14.66 MB / 0.9669 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 (214): * Single equations (assignments): 185 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01331/1.166, allocations: 7.565 MB / 1.373 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01478/1.181, allocations: 5.996 MB / 1.379 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.181, allocations: 0 / 1.379 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003252/1.184, allocations: 1.86 MB / 1.38 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008309/1.193, allocations: 2.65 MB / 1.383 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4156/1.608, allocations: 46.02 MB / 1.428 GB, free: 343.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/1.611, allocations: 2.708 MB / 1.431 GB, free: 342.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004577/1.615, allocations: 1.189 MB / 1.432 GB, free: 342.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/1.617, allocations: 2.237 MB / 1.434 GB, free: 340.9 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/1.617, allocations: 0 / 1.434 GB, free: 340.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.606/6.223, allocations: 148.6 MB / 1.579 GB, free: 213 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/6.224, allocations: 322.7 kB / 1.579 GB, free: 212.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.805/12.03, allocations: 0 / 1.579 GB, free: 212.6 MB / 0.9825 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)