Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005115/0.005115, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001278/0.001278, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.1651/0.1651, allocations: 12 MB / 302.5 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005049/0.0005049, allocations: 35.81 kB / 355.7 MB, free: 3.625 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.874/1.874, allocations: 272.2 MB / 0.665 GB, free: 12.85 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 111.8 kB / 0.8923 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2389, allocations: 109.2 MB / 0.9989 GB, free: 14.36 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.pumHeaPri.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.DHCSubstationHeatPumpDirectCooling): time 0.7875/1.026, allocations: 217.6 MB / 1.211 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.06379/1.09, allocations: 45.34 MB / 1.256 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008158/1.098, allocations: 266.4 kB / 1.256 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.008356/1.107, allocations: 3.137 MB / 1.259 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.02181/1.129, allocations: 7.739 MB / 1.267 GB, free: 9.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01529/1.144, allocations: 6.696 MB / 1.273 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02385/1.168, allocations: 16.65 MB / 1.289 GB, free: 2.102 MB / 0.9357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009777/1.178, allocations: 5.919 MB / 1.295 GB, free: 12.09 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01701/1.195, allocations: 6.647 MB / 1.302 GB, free: 5.441 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008832/1.204, allocations: 4.508 MB / 1.306 GB, free: 0.9141 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.002024/1.206, allocations: 0.6484 MB / 1.307 GB, free: 272 kB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/1.216, allocations: 3.71 MB / 1.31 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002407/1.219, allocations: 1.624 MB / 1.312 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.006382/1.225, allocations: 3.477 MB / 1.315 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01982/1.245, allocations: 11.31 MB / 1.326 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.245, allocations: 0 / 1.326 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/1.245, allocations: 4 kB / 1.326 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002441/1.245, allocations: 0 / 1.326 GB, free: 12.09 MB / 0.9825 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.01566/1.261, allocations: 6.713 MB / 1.333 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.261, allocations: 8.031 kB / 1.333 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007189/1.262, allocations: 459.9 kB / 1.333 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/1.268, allocations: 1.214 MB / 1.335 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/1.282, allocations: 5.725 MB / 1.34 GB, free: 13.78 MB / 0.9982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/1.282, allocations: 262.7 kB / 1.34 GB, free: 13.52 MB / 0.9982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008171/1.283, allocations: 363.8 kB / 1.341 GB, free: 13.16 MB / 0.9982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008966/1.292, allocations: 4.17 MB / 1.345 GB, free: 8.844 MB / 0.9982 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-05/1.292, allocations: 11.94 kB / 1.345 GB, free: 8.832 MB / 0.9982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003557/1.292, allocations: 143.9 kB / 1.345 GB, free: 8.691 MB / 0.9982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.694e-05/1.293, allocations: 83.94 kB / 1.345 GB, free: 8.609 MB / 0.9982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008747/1.301, allocations: 3.538 MB / 1.348 GB, free: 5.062 MB / 0.9982 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.03653/1.338, allocations: 20.01 MB / 1.368 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005917/1.344, allocations: 2.412 MB / 1.37 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/1.347, allocations: 1.46 MB / 1.372 GB, free: 12.13 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 evalFunc (simulation): time 0.01392/1.361, allocations: 8.298 MB / 1.38 GB, free: 2.957 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003707/1.365, allocations: 1.477 MB / 1.381 GB, free: 1.457 MB / 1.029 GB Notification: Performance of pre-optimization done (n=207): time 4.799e-06/1.365, allocations: 0 / 1.381 GB, free: 1.457 MB / 1.029 GB Notification: Performance of matching and sorting (n=207): time 0.01715/1.382, allocations: 5.011 MB / 1.386 GB, free: 12.36 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/1.382, allocations: 140.8 kB / 1.386 GB, free: 12.2 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/1.394, allocations: 4.39 MB / 1.391 GB, free: 7.824 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0008118/1.395, allocations: 73.7 kB / 1.391 GB, free: 7.746 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002996/1.398, allocations: 2.401 MB / 1.393 GB, free: 5.324 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001194/1.4, allocations: 0.7047 MB / 1.394 GB, free: 4.609 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/1.401, allocations: 0.552 MB / 1.394 GB, free: 4.051 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.401, allocations: 301.1 kB / 1.395 GB, free: 3.754 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003099/1.404, allocations: 1.239 MB / 1.396 GB, free: 2.508 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/1.408, allocations: 2.127 MB / 1.398 GB, free: 15.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04922/1.457, allocations: 10.37 MB / 1.408 GB, free: 5.254 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.904e-05/1.457, allocations: 12 kB / 1.408 GB, free: 5.242 MB / 1.061 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01131/1.469, allocations: 4.18 MB / 1.412 GB, free: 1.012 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.964e-05/1.469, allocations: 75.39 kB / 1.412 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.106e-05/1.469, allocations: 24 kB / 1.412 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/1.47, allocations: 380.9 kB / 1.413 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/1.473, allocations: 0.6904 MB / 1.413 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/1.477, allocations: 4.319 MB / 1.417 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/1.482, allocations: 402.2 kB / 1.418 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004969/1.482, allocations: 140 kB / 1.418 GB, free: 10.75 MB / 1.076 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 = 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.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 = 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.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 = 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.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 = 1e5 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005678/1.488, allocations: 2.339 MB / 1.42 GB, free: 8.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003942/1.492, allocations: 2.088 MB / 1.422 GB, free: 5.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0486/1.54, allocations: 10.15 MB / 1.432 GB, free: 11.41 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.923e-05/1.54, allocations: 8 kB / 1.432 GB, free: 11.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01094/1.551, allocations: 4.076 MB / 1.436 GB, free: 7.277 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/1.552, allocations: 79.39 kB / 1.436 GB, free: 7.188 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/1.552, allocations: 24 kB / 1.436 GB, free: 7.164 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/1.553, allocations: 353.5 kB / 1.437 GB, free: 6.812 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/1.556, allocations: 0.6513 MB / 1.437 GB, free: 6.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/1.559, allocations: 2.53 MB / 1.44 GB, free: 3.465 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005127/1.564, allocations: 339.8 kB / 1.44 GB, free: 3.129 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006332/1.565, allocations: 136 kB / 1.44 GB, free: 2.996 MB / 1.092 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 = 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.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 = 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.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 = 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.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 = 1e5 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 = 1e5 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.001562/1.566, allocations: 0.5986 MB / 1.441 GB, free: 2.371 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001834/1.568, allocations: 482 kB / 1.441 GB, free: 1.895 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5129/2.081, allocations: 4.247 MB / 1.445 GB, free: 373.6 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.152e-05/2.081, allocations: 30.09 kB / 1.445 GB, free: 373.6 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/2.081, allocations: 3.094 kB / 1.445 GB, free: 373.6 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007542/2.089, allocations: 3.318 MB / 1.449 GB, free: 373 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0219/2.111, allocations: 8.872 MB / 1.457 GB, free: 370.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/2.111, allocations: 5.75 kB / 1.457 GB, free: 370.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/2.113, allocations: 463.2 kB / 1.458 GB, free: 370.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/2.114, allocations: 331 kB / 1.458 GB, free: 370.4 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004416/2.115, allocations: 76.73 kB / 1.458 GB, free: 370.4 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003561/2.118, allocations: 4.331 MB / 1.462 GB, free: 366.4 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/2.119, allocations: 1.906 kB / 1.462 GB, free: 366.4 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/2.135, allocations: 5.681 MB / 1.468 GB, free: 364.2 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003257/2.138, allocations: 0.9742 MB / 1.469 GB, free: 363.9 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/2.139, allocations: 48.94 kB / 1.469 GB, free: 363.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003389/2.142, allocations: 171 kB / 1.469 GB, free: 363.8 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/2.143, allocations: 150 kB / 1.469 GB, free: 363.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000301/2.143, allocations: 106 kB / 1.469 GB, free: 363.8 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.006191/2.149, allocations: 2.983 MB / 1.472 GB, free: 362.6 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.61e-07/2.149, allocations: 0 / 1.472 GB, free: 362.6 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.009622/2.159, allocations: 2.683 MB / 1.475 GB, free: 362.3 MB / 1.092 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.01856/2.178, allocations: 7.488 MB / 1.482 GB, free: 359.3 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0148/2.193, allocations: 5.508 MB / 1.488 GB, free: 357.1 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/2.193, allocations: 1.375 kB / 1.488 GB, free: 357.1 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.005616/2.198, allocations: 1.877 MB / 1.489 GB, free: 356.3 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01678/2.215, allocations: 2.64 MB / 1.492 GB, free: 355.8 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08539/2.3, allocations: 34.64 MB / 1.526 GB, free: 338.4 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003617/2.304, allocations: 2.702 MB / 1.528 GB, free: 335.7 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.006411/2.311, allocations: 1.182 MB / 1.53 GB, free: 334.6 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004666/2.315, allocations: 2.245 MB / 1.532 GB, free: 332.4 MB / 1.092 GB Notification: Performance of SimCode: time 1.904e-06/2.315, allocations: 4 kB / 1.532 GB, free: 332.3 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2023/2.518, allocations: 149.6 MB / 1.678 GB, free: 184.2 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.75/27.26, allocations: 15.39 kB / 1.678 GB, free: 184.2 MB / 1.092 GB (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)