Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001242/0.001242, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.172/0.172, allocations: 12.02 MB / 303.1 MB, free: 1.684 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002405/0.0002406, allocations: 7.984 kB / 357.2 MB, free: 3.203 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.927/1.927, allocations: 266.8 MB / 0.6622 GB, free: 3.25 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007221/0.0007223, allocations: 15.28 kB / 0.7827 GB, free: 32.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2589, allocations: 110.2 MB / 0.8903 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.778/1.037, allocations: 223.4 MB / 1.108 GB, free: 38.78 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05829/1.095, allocations: 45.71 MB / 1.153 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01163/1.107, allocations: 247.6 kB / 1.153 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.009108/1.116, allocations: 2.288 MB / 1.156 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02247/1.139, allocations: 6.723 MB / 1.162 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01798/1.157, allocations: 4.31 MB / 1.166 GB, free: 13.65 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.03022/1.187, allocations: 18.96 MB / 1.185 GB, free: 13.85 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009964/1.197, allocations: 4.31 MB / 1.189 GB, free: 9.48 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/1.211, allocations: 5.153 MB / 1.194 GB, free: 4.305 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009702/1.221, allocations: 4.196 MB / 1.198 GB, free: 92 kB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.002338/1.223, allocations: 220 kB / 1.198 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009899/1.233, allocations: 2.407 MB / 1.201 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002683/1.236, allocations: 1.159 MB / 1.202 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003302/1.239, allocations: 1.401 MB / 1.203 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/1.252, allocations: 9.195 MB / 1.212 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.252, allocations: 0 / 1.212 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.434e-06/1.252, allocations: 0 / 1.212 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002873/1.253, allocations: 0 / 1.212 GB, free: 1.676 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01259/1.265, allocations: 5.971 MB / 1.218 GB, free: 11.6 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.265, allocations: 8.031 kB / 1.218 GB, free: 11.59 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001291/1.267, allocations: 497.4 kB / 1.218 GB, free: 11.1 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006144/1.273, allocations: 1.448 MB / 1.22 GB, free: 9.641 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/1.285, allocations: 5.995 MB / 1.226 GB, free: 3.578 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00128/1.287, allocations: 0.5347 MB / 1.226 GB, free: 3.043 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008971/1.288, allocations: 372 kB / 1.227 GB, free: 2.68 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009855/1.297, allocations: 4.522 MB / 1.231 GB, free: 13.99 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/1.298, allocations: 7.938 kB / 1.231 GB, free: 13.98 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/1.298, allocations: 152 kB / 1.231 GB, free: 13.83 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/1.298, allocations: 88 kB / 1.231 GB, free: 13.75 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008664/1.307, allocations: 3.859 MB / 1.235 GB, free: 9.879 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.03173/1.338, allocations: 22.27 MB / 1.257 GB, free: 2.391 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005743/1.344, allocations: 3.209 MB / 1.26 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/1.347, allocations: 1.434 MB / 1.261 GB, free: 13.62 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.01481/1.362, allocations: 8.745 MB / 1.27 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00318/1.365, allocations: 1.613 MB / 1.271 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00238/1.368, allocations: 261.7 kB / 1.272 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=186): time 5.19e-06/1.368, allocations: 0 / 1.272 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=186): time 0.01829/1.386, allocations: 6.012 MB / 1.278 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.386, allocations: 184.2 kB / 1.278 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00854/1.395, allocations: 4.733 MB / 1.282 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0006275/1.395, allocations: 73.7 kB / 1.282 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002711/1.398, allocations: 2.632 MB / 1.285 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.399, allocations: 0.6278 MB / 1.286 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/1.399, allocations: 52 kB / 1.286 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.399, allocations: 407.1 kB / 1.286 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002804/1.402, allocations: 1.239 MB / 1.287 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003662/1.406, allocations: 2.291 MB / 1.29 GB, free: 15.21 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/1.409, allocations: 1.552 MB / 1.291 GB, free: 13.65 MB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/1.409, allocations: 12 kB / 1.291 GB, free: 13.64 MB / 0.8732 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.01031/1.42, allocations: 4.276 MB / 1.295 GB, free: 9.328 MB / 0.8732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009555/1.421, allocations: 0.9076 MB / 1.296 GB, free: 8.062 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/1.421, allocations: 27.94 kB / 1.296 GB, free: 8.035 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/1.423, allocations: 0.7062 MB / 1.297 GB, free: 7.324 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/1.426, allocations: 0.6436 MB / 1.297 GB, free: 6.68 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/1.429, allocations: 3.13 MB / 1.3 GB, free: 3.453 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005392/1.435, allocations: 462.5 kB / 1.301 GB, free: 3 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004875/1.435, allocations: 147.9 kB / 1.301 GB, free: 2.855 MB / 0.8732 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/1.435, allocations: 3.125 kB / 1.301 GB, free: 2.855 MB / 0.8732 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01085/1.446, allocations: 3.832 MB / 1.305 GB, free: 15 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-05/1.446, allocations: 24 kB / 1.305 GB, free: 14.98 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/1.448, allocations: 0.6814 MB / 1.306 GB, free: 14.29 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/1.451, allocations: 0.6085 MB / 1.306 GB, free: 13.68 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/1.454, allocations: 1.916 MB / 1.308 GB, free: 11.71 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005311/1.46, allocations: 454.3 kB / 1.308 GB, free: 11.27 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004671/1.46, allocations: 140 kB / 1.309 GB, free: 11.14 MB / 0.8888 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,$PRE.coolingDemand.nextEvent,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,$PRE.heatDemand.nextEvent,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 12,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.004464/1.465, allocations: 1.5 MB / 1.31 GB, free: 9.621 MB / 0.8888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/1.466, allocations: 0.5054 MB / 1.311 GB, free: 9.109 MB / 0.8888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.476, allocations: 4.338 MB / 1.315 GB, free: 4.789 MB / 0.8888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-05/1.476, allocations: 27.98 kB / 1.315 GB, free: 4.762 MB / 0.8888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.476, allocations: 0 / 1.315 GB, free: 4.762 MB / 0.8888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007273/1.484, allocations: 3.167 MB / 1.318 GB, free: 1.566 MB / 0.8888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/1.505, allocations: 9.045 MB / 1.327 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.505, allocations: 0 / 1.327 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.507, allocations: 395.8 kB / 1.327 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/1.509, allocations: 0.6599 MB / 1.328 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000329/1.509, allocations: 67.91 kB / 1.328 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/1.513, allocations: 3.073 MB / 1.331 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.513, allocations: 11.88 kB / 1.331 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/1.528, allocations: 5.74 MB / 1.336 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004632/1.532, allocations: 1.01 MB / 1.337 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001964/1.534, allocations: 44 kB / 1.337 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004763/1.539, allocations: 439.2 kB / 1.338 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/1.539, allocations: 129.8 kB / 1.338 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002696/1.54, allocations: 99.92 kB / 1.338 GB, free: 12.55 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.006804/1.547, allocations: 3.212 MB / 1.341 GB, free: 9.371 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.21e-07/1.547, allocations: 0 / 1.341 GB, free: 9.371 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01124/1.558, allocations: 2.716 MB / 1.344 GB, free: 6.648 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 12,3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01496/1.573, allocations: 7.131 MB / 1.351 GB, free: 15.48 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.01276/1.586, allocations: 5.253 MB / 1.356 GB, free: 10.19 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.586, allocations: 0 / 1.356 GB, free: 10.19 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.003881/1.59, allocations: 1.628 MB / 1.358 GB, free: 8.539 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01541/1.605, allocations: 2.58 MB / 1.36 GB, free: 6.043 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6841/2.289, allocations: 39.45 MB / 1.399 GB, free: 350.1 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003005/2.292, allocations: 2.798 MB / 1.401 GB, free: 349.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.006726/2.299, allocations: 1.122 MB / 1.402 GB, free: 349.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004954/2.304, allocations: 2.374 MB / 1.405 GB, free: 349.2 MB / 0.9669 GB Notification: Performance of SimCode: time 1.773e-06/2.304, allocations: 2.188 kB / 1.405 GB, free: 349.2 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2415/2.546, allocations: 156.8 MB / 1.558 GB, free: 225.7 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/2.546, allocations: 289.2 kB / 1.558 GB, free: 225.3 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.501/9.047, allocations: 0 / 1.558 GB, free: 225.3 MB / 0.9669 GB (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1) Environment - environmentSimulation: