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.0008346/0.0008348, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004852/0.004852, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.168/1.168, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.141/0.141, allocations: 12.04 MB / 303.5 MB, free: 1.602 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000199/0.000199, allocations: 15.97 kB / 357.6 MB, free: 3.098 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.517/1.517, allocations: 270.9 MB / 0.6666 GB, free: 15.25 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 15.75 kB / 0.7882 GB, free: 31.31 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 111 MB / 0.8966 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.4767/0.6317, allocations: 212.8 MB / 1.104 GB, free: 22.67 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04018/0.672, allocations: 45.01 MB / 1.148 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005843/0.6778, allocations: 233 kB / 1.149 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00481/0.6827, allocations: 2.629 MB / 1.151 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01443/0.6971, allocations: 7.26 MB / 1.158 GB, free: 12.62 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.7086, allocations: 6.114 MB / 1.164 GB, free: 7.988 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.01952/0.7282, allocations: 21.34 MB / 1.185 GB, free: 8.117 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005648/0.7339, allocations: 4.687 MB / 1.19 GB, free: 3.344 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008303/0.7422, allocations: 5.242 MB / 1.195 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00463/0.7468, allocations: 4.27 MB / 1.199 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004352/0.7473, allocations: 215.9 kB / 1.199 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006365/0.7536, allocations: 3.303 MB / 1.202 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.7547, allocations: 1.171 MB / 1.203 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002691/0.7574, allocations: 2.971 MB / 1.206 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.7674, allocations: 10.71 MB / 1.217 GB, free: 7.352 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.7675, allocations: 4 kB / 1.217 GB, free: 7.348 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7675, allocations: 0 / 1.217 GB, free: 7.348 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.448e-05/0.7675, allocations: 0 / 1.217 GB, free: 7.348 MB / 0.795 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.00813/0.7757, allocations: 5.511 MB / 1.222 GB, free: 1.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.7757, allocations: 16.02 kB / 1.222 GB, free: 1.719 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005238/0.7762, allocations: 455.9 kB / 1.223 GB, free: 1.262 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.781, allocations: 1.31 MB / 1.224 GB, free: 15.94 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008174/0.7892, allocations: 5.705 MB / 1.229 GB, free: 10.16 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/0.7903, allocations: 455 kB / 1.23 GB, free: 9.719 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004622/0.7907, allocations: 359.9 kB / 1.23 GB, free: 9.367 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007026/0.7978, allocations: 4.223 MB / 1.234 GB, free: 5.008 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-05/0.7978, allocations: 4 kB / 1.234 GB, free: 5.004 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003108/0.7982, allocations: 143.9 kB / 1.235 GB, free: 4.863 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.327e-05/0.7982, allocations: 91.92 kB / 1.235 GB, free: 4.773 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00714/0.8054, allocations: 3.663 MB / 1.238 GB, free: 1.102 MB / 0.8107 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.02139/0.8268, allocations: 19.78 MB / 1.258 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00478/0.8316, allocations: 2.567 MB / 1.26 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002947/0.8345, allocations: 1.513 MB / 1.261 GB, free: 8.203 MB / 0.8419 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.009056/0.8436, allocations: 8.333 MB / 1.27 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002953/0.8466, allocations: 1.547 MB / 1.271 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009764/0.8475, allocations: 261.7 kB / 1.271 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=209): time 2.956e-06/0.8476, allocations: 0 / 1.271 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=209): time 0.01345/0.861, allocations: 5.394 MB / 1.277 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.8611, allocations: 140.8 kB / 1.277 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005221/0.8663, allocations: 4.304 MB / 1.281 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.8665, allocations: 69.69 kB / 1.281 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00188/0.8684, allocations: 2.402 MB / 1.283 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005647/0.869, allocations: 0.7085 MB / 1.284 GB, free: 32 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/0.8693, allocations: 219.2 kB / 1.284 GB, free: 15.81 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.8693, allocations: 309 kB / 1.285 GB, free: 15.51 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.8721, allocations: 1.293 MB / 1.286 GB, free: 14.21 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/0.8753, allocations: 2.19 MB / 1.288 GB, free: 11.63 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04487/0.9202, allocations: 11.71 MB / 1.299 GB, free: 15.56 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.9203, allocations: 4 kB / 1.299 GB, free: 15.55 MB / 0.8888 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007908/0.9282, allocations: 4.314 MB / 1.304 GB, free: 11.19 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004581/0.9286, allocations: 0.8169 MB / 1.304 GB, free: 10.06 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.9287, allocations: 24 kB / 1.304 GB, free: 10.04 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.9299, allocations: 405.4 kB / 1.305 GB, free: 9.633 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/0.9325, allocations: 0.7177 MB / 1.306 GB, free: 8.914 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.9357, allocations: 4.189 MB / 1.31 GB, free: 4.5 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/0.939, allocations: 444.5 kB / 1.31 GB, free: 4.066 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.9392, allocations: 143.9 kB / 1.31 GB, free: 3.926 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-06/0.9392, allocations: 4 kB / 1.31 GB, free: 3.922 MB / 0.8888 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007116/0.9464, allocations: 3.806 MB / 1.314 GB, free: 80 kB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.9464, allocations: 20 kB / 1.314 GB, free: 60 kB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.9475, allocations: 393.9 kB / 1.314 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.9498, allocations: 0.667 MB / 1.315 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.952, allocations: 2.414 MB / 1.317 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/0.955, allocations: 432.6 kB / 1.318 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.9552, allocations: 140 kB / 1.318 GB, free: 11.86 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: 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 (314): * Single equations (assignments): 305 * 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.002181/0.9574, allocations: 1.447 MB / 1.319 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000524/0.9579, allocations: 486 kB / 1.32 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008407/0.9663, allocations: 4.407 MB / 1.324 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/0.9664, allocations: 31.98 kB / 1.324 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9664, allocations: 0 / 1.324 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00639/0.9728, allocations: 3.477 MB / 1.327 GB, free: 1.855 MB / 0.9044 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 postOpt removeSimpleEquations (simulation): time 0.01669/0.9895, allocations: 9.124 MB / 1.336 GB, free: 8.539 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.9895, allocations: 0 / 1.336 GB, free: 8.539 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/0.9916, allocations: 487.5 kB / 1.337 GB, free: 8.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.9927, allocations: 365.3 kB / 1.337 GB, free: 7.699 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.9928, allocations: 71.95 kB / 1.337 GB, free: 7.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003563/0.9964, allocations: 4.245 MB / 1.341 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9964, allocations: 3.938 kB / 1.341 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.007, allocations: 5.715 MB / 1.347 GB, free: 13.32 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.008, allocations: 0.9904 MB / 1.348 GB, free: 12.3 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/1.009, allocations: 48 kB / 1.348 GB, free: 12.25 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.012, allocations: 423.3 kB / 1.348 GB, free: 11.84 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/1.012, allocations: 153.7 kB / 1.349 GB, free: 11.69 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/1.012, allocations: 99.92 kB / 1.349 GB, free: 11.59 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.003837/1.016, allocations: 2.926 MB / 1.352 GB, free: 8.684 MB / 0.9357 GB Notification: Performance of sort global known variables: time 1.7e-07/1.016, allocations: 0 / 1.352 GB, free: 8.684 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.005504/1.021, allocations: 2.658 MB / 1.354 GB, free: 6.02 MB / 0.9357 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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01247/1.034, allocations: 7.476 MB / 1.361 GB, free: 14.44 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.01059/1.044, allocations: 5.695 MB / 1.367 GB, free: 8.664 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.044, allocations: 4 kB / 1.367 GB, free: 8.66 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.003845/1.048, allocations: 1.95 MB / 1.369 GB, free: 6.676 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/1.059, allocations: 2.557 MB / 1.371 GB, free: 4.215 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4235/1.483, allocations: 46.31 MB / 1.417 GB, free: 356.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/1.485, allocations: 2.705 MB / 1.419 GB, free: 355.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004866/1.49, allocations: 1.178 MB / 1.42 GB, free: 355.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00248/1.492, allocations: 2.245 MB / 1.423 GB, free: 355.7 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/1.492, allocations: 0 / 1.423 GB, free: 355.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.081/5.573, allocations: 144.3 MB / 1.563 GB, free: 240.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/5.573, allocations: 325.4 kB / 1.564 GB, free: 239.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.137/10.71, allocations: 2.953 kB / 1.564 GB, free: 239.8 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)