Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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-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_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_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.001102/0.001102, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.1432/0.1432, allocations: 12.02 MB / 302.4 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005275/0.0005276, allocations: 35.92 kB / 355.5 MB, free: 3.832 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.671/1.671, allocations: 268.1 MB / 0.6608 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 113.5 kB / 0.7802 GB, free: 32.68 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1542, allocations: 108.4 MB / 0.8861 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5058/0.66, allocations: 217.6 MB / 1.099 GB, free: 27.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04566/0.7057, allocations: 45.34 MB / 1.143 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007976/0.7137, allocations: 262.6 kB / 1.143 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006751/0.7205, allocations: 3.143 MB / 1.146 GB, free: 144 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.019/0.7395, allocations: 7.747 MB / 1.154 GB, free: 9.852 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.0157/0.7553, allocations: 6.65 MB / 1.16 GB, free: 4.715 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.02087/0.7761, allocations: 16.63 MB / 1.176 GB, free: 7.328 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.7862, allocations: 5.917 MB / 1.182 GB, free: 1.32 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01372/0.7999, allocations: 6.465 MB / 1.189 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007425/0.8074, allocations: 4.497 MB / 1.193 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001976/0.8094, allocations: 0.6484 MB / 1.194 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009524/0.8189, allocations: 3.71 MB / 1.197 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002336/0.8213, allocations: 1.628 MB / 1.199 GB, free: 356 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.006007/0.8273, allocations: 3.477 MB / 1.202 GB, free: 12.86 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01675/0.8441, allocations: 11.19 MB / 1.213 GB, free: 1.629 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8441, allocations: 0 / 1.213 GB, free: 1.629 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8441, allocations: 8 kB / 1.213 GB, free: 1.621 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002756/0.8444, allocations: 0 / 1.213 GB, free: 1.621 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.01483/0.8592, allocations: 6.713 MB / 1.22 GB, free: 10.8 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.8593, allocations: 8.031 kB / 1.22 GB, free: 10.8 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00107/0.8604, allocations: 459.9 kB / 1.22 GB, free: 10.34 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006079/0.8665, allocations: 1.21 MB / 1.221 GB, free: 9.117 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.8772, allocations: 5.485 MB / 1.227 GB, free: 3.559 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001147/0.8783, allocations: 431 kB / 1.227 GB, free: 3.137 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007371/0.8791, allocations: 363.9 kB / 1.227 GB, free: 2.781 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0083/0.8874, allocations: 4.186 MB / 1.232 GB, free: 14.45 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.787e-05/0.8875, allocations: 11.88 kB / 1.232 GB, free: 14.43 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/0.8879, allocations: 143.9 kB / 1.232 GB, free: 14.29 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.8879, allocations: 84 kB / 1.232 GB, free: 14.21 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007996/0.8959, allocations: 3.565 MB / 1.235 GB, free: 10.64 MB / 0.8263 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02574/0.9217, allocations: 20.19 MB / 1.255 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005175/0.9269, allocations: 2.435 MB / 1.257 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003093/0.93, allocations: 1.451 MB / 1.259 GB, free: 1.516 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.01015/0.9402, allocations: 8.31 MB / 1.267 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003236/0.9434, allocations: 1.489 MB / 1.268 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=207): time 3.607e-06/0.9434, allocations: 0 / 1.268 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=207): time 0.0149/0.9583, allocations: 5.093 MB / 1.273 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.9584, allocations: 132.8 kB / 1.273 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006788/0.9652, allocations: 4.394 MB / 1.278 GB, free: 13.11 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0002106/0.9654, allocations: 73.7 kB / 1.278 GB, free: 13.03 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.002174/0.9676, allocations: 2.405 MB / 1.28 GB, free: 10.61 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007253/0.9684, allocations: 0.7008 MB / 1.281 GB, free: 9.898 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008697/0.9692, allocations: 0.5481 MB / 1.281 GB, free: 9.344 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.9693, allocations: 305.1 kB / 1.282 GB, free: 9.043 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/0.9723, allocations: 1.247 MB / 1.283 GB, free: 7.789 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003654/0.976, allocations: 2.158 MB / 1.285 GB, free: 5.238 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04701/1.023, allocations: 10.44 MB / 1.295 GB, free: 10.43 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.099e-05/1.023, allocations: 11.94 kB / 1.295 GB, free: 10.41 MB / 0.8888 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.009984/1.033, allocations: 4.216 MB / 1.299 GB, free: 6.148 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 7.512e-05/1.033, allocations: 80.8 kB / 1.299 GB, free: 6.059 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/1.033, allocations: 20 kB / 1.299 GB, free: 6.039 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/1.034, allocations: 392.3 kB / 1.3 GB, free: 5.652 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/1.037, allocations: 0.6982 MB / 1.3 GB, free: 4.953 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/1.041, allocations: 4.32 MB / 1.305 GB, free: 408 kB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/1.044, allocations: 402.3 kB / 1.305 GB, free: 4 kB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/1.045, allocations: 144 kB / 1.305 GB, free: 15.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004827/1.05, allocations: 2.354 MB / 1.308 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003536/1.053, allocations: 2.111 MB / 1.31 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04632/1.099, allocations: 10.23 MB / 1.32 GB, free: 412 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.775e-05/1.1, allocations: 4 kB / 1.32 GB, free: 408 kB / 0.9044 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009436/1.109, allocations: 4.11 MB / 1.324 GB, free: 12.24 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.395e-05/1.109, allocations: 83.38 kB / 1.324 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/1.109, allocations: 24 kB / 1.324 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/1.11, allocations: 362 kB / 1.324 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/1.113, allocations: 0.6591 MB / 1.325 GB, free: 11.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/1.115, allocations: 2.543 MB / 1.327 GB, free: 8.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/1.119, allocations: 347.7 kB / 1.327 GB, free: 8.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/1.119, allocations: 136 kB / 1.328 GB, free: 7.918 MB / 0.92 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 304 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000835/1.12, allocations: 0.607 MB / 1.328 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.121, allocations: 485.9 kB / 1.329 GB, free: 6.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009406/1.13, allocations: 4.281 MB / 1.333 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-05/1.131, allocations: 31.98 kB / 1.333 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.131, allocations: 0 / 1.333 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0069/1.137, allocations: 3.344 MB / 1.336 GB, free: 15 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/1.156, allocations: 8.967 MB / 1.345 GB, free: 5.895 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/1.156, allocations: 7.984 kB / 1.345 GB, free: 5.887 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/1.159, allocations: 475.6 kB / 1.345 GB, free: 5.422 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/1.16, allocations: 343.1 kB / 1.346 GB, free: 5.082 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/1.16, allocations: 71.95 kB / 1.346 GB, free: 5.012 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/1.164, allocations: 4.354 MB / 1.35 GB, free: 436 kB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.164, allocations: 0 / 1.35 GB, free: 436 kB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/1.177, allocations: 5.728 MB / 1.356 GB, free: 10.58 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.179, allocations: 0.9668 MB / 1.357 GB, free: 9.586 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008165/1.18, allocations: 55.84 kB / 1.357 GB, free: 9.531 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002706/1.182, allocations: 183.8 kB / 1.357 GB, free: 9.352 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/1.183, allocations: 141.8 kB / 1.357 GB, free: 9.215 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.183, allocations: 111.9 kB / 1.357 GB, free: 9.105 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.00471/1.188, allocations: 2.981 MB / 1.36 GB, free: 6.145 MB / 0.9513 GB Notification: Performance of sort global known variables: time 1.3e-07/1.188, allocations: 0 / 1.36 GB, free: 6.145 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.006681/1.194, allocations: 2.67 MB / 1.363 GB, free: 3.469 MB / 0.9513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01591/1.21, allocations: 7.53 MB / 1.37 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01668/1.227, allocations: 5.91 MB / 1.376 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.227, allocations: 4 kB / 1.376 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004223/1.231, allocations: 1.895 MB / 1.378 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/1.242, allocations: 2.647 MB / 1.38 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3498/1.592, allocations: 44.21 MB / 1.423 GB, free: 355.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/1.594, allocations: 2.701 MB / 1.426 GB, free: 354.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004849/1.599, allocations: 1.183 MB / 1.427 GB, free: 354.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/1.601, allocations: 2.249 MB / 1.429 GB, free: 352.6 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/1.601, allocations: 0 / 1.429 GB, free: 352.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.269/2.87, allocations: 150 MB / 1.576 GB, free: 222.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/19.04, allocations: 8 kB / 1.576 GB, free: 222.4 MB / 0.9825 GB (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)