Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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-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.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_latest_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.007948/0.007948, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001903/0.001903, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.1843/0.1843, allocations: 12.02 MB / 302.6 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004839/0.000484, allocations: 35.92 kB / 355.7 MB, free: 3.695 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.863/1.863, allocations: 272.2 MB / 0.665 GB, free: 12.85 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 111.8 kB / 0.8923 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.214, allocations: 109.2 MB / 0.9989 GB, free: 14.35 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.7243/0.9384, allocations: 242.2 MB / 1.235 GB, free: 9.297 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.08261/1.021, allocations: 48.7 MB / 1.283 GB, free: 8.488 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01574/1.037, allocations: 286.4 kB / 1.283 GB, free: 8.207 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.01435/1.051, allocations: 3.432 MB / 1.287 GB, free: 4.754 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.03175/1.083, allocations: 8.507 MB / 1.295 GB, free: 12.21 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01758/1.101, allocations: 6.471 MB / 1.301 GB, free: 5.801 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02874/1.129, allocations: 17.37 MB / 1.318 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01634/1.146, allocations: 6.301 MB / 1.324 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01828/1.164, allocations: 6.979 MB / 1.331 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009876/1.174, allocations: 4.695 MB / 1.336 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002928/1.177, allocations: 0.6914 MB / 1.336 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01184/1.189, allocations: 3.764 MB / 1.34 GB, free: 13.84 MB / 0.9982 GB Notification: Performance of NFScalarize.scalarize: time 0.003493/1.192, allocations: 1.717 MB / 1.342 GB, free: 12.12 MB / 0.9982 GB Notification: Performance of NFVerifyModel.verify: time 0.008906/1.201, allocations: 3.714 MB / 1.345 GB, free: 8.391 MB / 0.9982 GB Notification: Performance of NFConvertDAE.convert: time 0.02535/1.227, allocations: 12.01 MB / 1.357 GB, free: 12.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.227, allocations: 0 / 1.357 GB, free: 12.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.275e-06/1.227, allocations: 4 kB / 1.357 GB, free: 12.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003871/1.227, allocations: 0 / 1.357 GB, free: 12.35 MB / 1.014 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.02103/1.248, allocations: 7.196 MB / 1.364 GB, free: 5.039 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/1.248, allocations: 12.02 kB / 1.364 GB, free: 5.027 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001787/1.25, allocations: 481.4 kB / 1.365 GB, free: 4.547 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007687/1.258, allocations: 1.335 MB / 1.366 GB, free: 3.203 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/1.274, allocations: 6.212 MB / 1.372 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/1.274, allocations: 291.1 kB / 1.372 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/1.276, allocations: 376 kB / 1.373 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/1.288, allocations: 4.526 MB / 1.377 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.414e-05/1.288, allocations: 15.78 kB / 1.377 GB, free: 7.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005832/1.289, allocations: 152 kB / 1.377 GB, free: 7.371 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-05/1.289, allocations: 95.94 kB / 1.377 GB, free: 7.277 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/1.299, allocations: 3.738 MB / 1.381 GB, free: 3.531 MB / 1.029 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.04053/1.34, allocations: 22.99 MB / 1.403 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00667/1.347, allocations: 3.003 MB / 1.406 GB, free: 8.137 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003381/1.35, allocations: 1.297 MB / 1.408 GB, free: 6.836 MB / 1.061 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.01602/1.366, allocations: 8.466 MB / 1.416 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004379/1.37, allocations: 1.474 MB / 1.417 GB, free: 11.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=184): time 8.857e-06/1.37, allocations: 0 / 1.417 GB, free: 11.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=184): time 0.0203/1.391, allocations: 5.145 MB / 1.422 GB, free: 6.715 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.391, allocations: 191.5 kB / 1.423 GB, free: 6.492 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.401, allocations: 4.86 MB / 1.427 GB, free: 1.613 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0007177/1.402, allocations: 69.7 kB / 1.427 GB, free: 1.539 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.003536/1.406, allocations: 2.671 MB / 1.43 GB, free: 14.85 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.407, allocations: 0.624 MB / 1.431 GB, free: 14.21 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/1.408, allocations: 0.5555 MB / 1.431 GB, free: 13.65 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.408, allocations: 305.1 kB / 1.431 GB, free: 13.35 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/1.411, allocations: 1.18 MB / 1.433 GB, free: 12.16 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004336/1.416, allocations: 2.252 MB / 1.435 GB, free: 9.426 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.071/2.487, allocations: 89.32 MB / 1.522 GB, free: 341.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.143e-05/2.487, allocations: 8 kB / 1.522 GB, free: 341.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.009268/2.497, allocations: 4.159 MB / 1.526 GB, free: 338.4 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/2.497, allocations: 79.02 kB / 1.526 GB, free: 338.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.622e-05/2.497, allocations: 32.06 kB / 1.526 GB, free: 338.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/2.499, allocations: 0.6525 MB / 1.527 GB, free: 337.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/2.501, allocations: 0.6308 MB / 1.527 GB, free: 337.1 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/2.504, allocations: 3.032 MB / 1.53 GB, free: 334.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/2.508, allocations: 422.9 kB / 1.531 GB, free: 334.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004001/2.509, allocations: 152.5 kB / 1.531 GB, free: 334 MB / 1.092 GB Warning: Assuming fixed start value for the following 4 variables: 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004795/2.514, allocations: 2.31 MB / 1.533 GB, free: 331.9 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002915/2.517, allocations: 2.207 MB / 1.535 GB, free: 329.2 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5594/3.076, allocations: 89.06 MB / 1.622 GB, free: 240.1 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.394e-05/3.076, allocations: 11.94 kB / 1.622 GB, free: 240.1 MB / 1.092 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.01008/3.086, allocations: 4.051 MB / 1.626 GB, free: 236.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/3.086, allocations: 83.33 kB / 1.626 GB, free: 236.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/3.086, allocations: 28 kB / 1.626 GB, free: 236.2 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/3.088, allocations: 0.6273 MB / 1.627 GB, free: 235.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/3.091, allocations: 0.5967 MB / 1.628 GB, free: 234.9 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/3.093, allocations: 1.838 MB / 1.629 GB, free: 233.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/3.098, allocations: 344.6 kB / 1.63 GB, free: 232.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005734/3.098, allocations: 143.8 kB / 1.63 GB, free: 232.7 MB / 1.092 GB Warning: Assuming fixed start value for the following 4 variables: 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * 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 (300): * Single equations (assignments): 292 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001048/3.099, allocations: 0.5797 MB / 1.63 GB, free: 232.1 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001697/3.101, allocations: 0.511 MB / 1.631 GB, free: 231.6 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/3.112, allocations: 4.028 MB / 1.635 GB, free: 227.6 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/3.112, allocations: 27.92 kB / 1.635 GB, free: 227.6 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/3.112, allocations: 0 / 1.635 GB, free: 227.6 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007734/3.12, allocations: 2.881 MB / 1.638 GB, free: 224.7 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02233/3.142, allocations: 8.821 MB / 1.646 GB, free: 215.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/3.142, allocations: 0 / 1.646 GB, free: 215.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/3.144, allocations: 367.8 kB / 1.647 GB, free: 215.4 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/3.146, allocations: 0.591 MB / 1.647 GB, free: 214.9 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003024/3.146, allocations: 59.97 kB / 1.647 GB, free: 214.8 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003958/3.15, allocations: 3.116 MB / 1.65 GB, free: 211.6 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/3.15, allocations: 7.938 kB / 1.65 GB, free: 211.6 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/3.164, allocations: 5.623 MB / 1.656 GB, free: 205.9 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003217/3.168, allocations: 0.9736 MB / 1.657 GB, free: 204.9 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/3.169, allocations: 51.89 kB / 1.657 GB, free: 204.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003771/3.173, allocations: 178 kB / 1.657 GB, free: 204.7 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/3.173, allocations: 137.6 kB / 1.657 GB, free: 204.6 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002938/3.174, allocations: 95.92 kB / 1.657 GB, free: 204.5 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00623/3.18, allocations: 3.311 MB / 1.66 GB, free: 201.2 MB / 1.092 GB Notification: Performance of sort global known variables: time 5.01e-07/3.18, allocations: 0 / 1.66 GB, free: 201.2 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00965/3.19, allocations: 2.721 MB / 1.663 GB, free: 198.6 MB / 1.092 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 (170): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01429/3.204, allocations: 7.001 MB / 1.67 GB, free: 191.7 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01162/3.216, allocations: 5.045 MB / 1.675 GB, free: 186.6 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/3.216, allocations: 7.938 kB / 1.675 GB, free: 186.6 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004526/3.22, allocations: 1.646 MB / 1.676 GB, free: 184.9 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01291/3.233, allocations: 2.647 MB / 1.679 GB, free: 182.6 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06608/3.299, allocations: 35.6 MB / 1.714 GB, free: 146 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/3.302, allocations: 2.805 MB / 1.717 GB, free: 143.2 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004758/3.306, allocations: 1.125 MB / 1.718 GB, free: 142.1 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003302/3.31, allocations: 2.362 MB / 1.72 GB, free: 139.8 MB / 1.092 GB Notification: Performance of SimCode: time 1.623e-06/3.31, allocations: 4 kB / 1.72 GB, free: 139.8 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6708/3.981, allocations: 152.8 MB / 1.869 GB, free: 358.2 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.59/28.57, allocations: 10.38 kB / 1.869 GB, free: 358.2 MB / 1.092 GB (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller.fmu > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)