Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 173.3 kB / 22.76 MB, free: 1.641 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06886/0.06886, allocations: 9.132 MB / 268.7 MB, free: 4.281 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.001205/0.001205, allocations: 31.67 kB / 328.2 MB, free: 20.44 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 2.532/2.532, allocations: 275 MB / 0.6471 GB, free: 2.406 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 177] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/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.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.7975 GB, free: 8.078 MB / 0.6512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.678e-05, allocations: 2.312 kB / 0.7975 GB, free: 8.074 MB / 0.6512 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.6133/0.6133, allocations: 253.2 MB / 1.045 GB, free: 1.902 MB / 0.7918 GB Notification: Performance of NFInst.instExpressions: time 0.09947/0.7128, allocations: 52.36 MB / 1.096 GB, free: 13.48 MB / 0.8543 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01451/0.7273, allocations: 400.7 kB / 1.096 GB, free: 13.09 MB / 0.8543 GB Notification: Performance of NFTyping.typeComponents: time 0.01608/0.7434, allocations: 4.33 MB / 1.1 GB, free: 8.734 MB / 0.8543 GB Notification: Performance of NFTyping.typeBindings: time 0.03415/0.7775, allocations: 9.563 MB / 1.11 GB, free: 15.13 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.02053/0.7981, allocations: 7.091 MB / 1.117 GB, free: 8.051 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.04568/0.8437, allocations: 25.22 MB / 1.141 GB, free: 14.79 MB / 0.9012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.8553, allocations: 5.072 MB / 1.146 GB, free: 9.621 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4633/1.319, allocations: 10.74 MB / 1.157 GB, free: 71.41 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008307/1.327, allocations: 4.327 MB / 1.161 GB, free: 71.41 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.00214/1.329, allocations: 0.6953 MB / 1.162 GB, free: 71.41 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009536/1.339, allocations: 3.188 MB / 1.165 GB, free: 71.41 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.003141/1.342, allocations: 2.123 MB / 1.167 GB, free: 71.41 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.006528/1.348, allocations: 2.64 MB / 1.169 GB, free: 71.41 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.02118/1.369, allocations: 13.14 MB / 1.182 GB, free: 71.11 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.369, allocations: 0 / 1.182 GB, free: 71.11 MB / 0.9012 GB Notification: Performance of FrontEnd: time 1.944e-06/1.369, allocations: 1.281 kB / 1.182 GB, free: 71.11 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0004704/1.37, allocations: 0.625 kB / 1.182 GB, free: 71.11 MB / 0.9012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 921 * Number of variables: 921 Notification: Performance of Generate backend data structure: time 0.02647/1.396, allocations: 9.274 MB / 1.191 GB, free: 67.31 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.396, allocations: 11.83 kB / 1.191 GB, free: 67.31 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008098/1.405, allocations: 1.715 MB / 1.193 GB, free: 66.86 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0195/1.424, allocations: 8.426 MB / 1.201 GB, free: 65.54 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005066/1.425, allocations: 288.2 kB / 1.202 GB, free: 65.54 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001807/1.426, allocations: 388.1 kB / 1.202 GB, free: 65.54 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/1.438, allocations: 5.472 MB / 1.207 GB, free: 63.88 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.971e-05/1.438, allocations: 18.33 kB / 1.207 GB, free: 63.88 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004924/1.438, allocations: 152.9 kB / 1.207 GB, free: 63.88 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.53e-05/1.438, allocations: 93.72 kB / 1.208 GB, free: 63.88 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008063/1.446, allocations: 3.422 MB / 1.211 GB, free: 63.78 MB / 0.9012 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.04452/1.491, allocations: 34.09 MB / 1.244 GB, free: 48.62 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00451/1.495, allocations: 2.156 MB / 1.246 GB, free: 48.51 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/1.498, allocations: 1.11 MB / 1.247 GB, free: 48.43 MB / 0.9012 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.01307/1.511, allocations: 4.145 MB / 1.251 GB, free: 47.89 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002913/1.514, allocations: 1.908 MB / 1.253 GB, free: 47.09 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=182): time 5.46e-06/1.514, allocations: 1.453 kB / 1.253 GB, free: 47.09 MB / 0.9012 GB Notification: Performance of matching and sorting (n=182): time 0.01486/1.528, allocations: 4.46 MB / 1.258 GB, free: 46.41 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/1.528, allocations: 181.1 kB / 1.258 GB, free: 46.22 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.54, allocations: 7.322 MB / 1.265 GB, free: 45.66 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006982/1.541, allocations: 69.48 kB / 1.265 GB, free: 45.62 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004035/1.545, allocations: 3.876 MB / 1.269 GB, free: 44.68 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.546, allocations: 0.7125 MB / 1.269 GB, free: 44.26 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/1.547, allocations: 0.7094 MB / 1.27 GB, free: 44.2 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/1.547, allocations: 476.8 kB / 1.271 GB, free: 43.73 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/1.549, allocations: 0.9817 MB / 1.272 GB, free: 43.63 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003071/1.552, allocations: 3.702 MB / 1.275 GB, free: 40.35 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006572/1.559, allocations: 4.321 MB / 1.279 GB, free: 38.5 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-05/1.559, allocations: 11.38 kB / 1.279 GB, free: 38.5 MB / 0.9012 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.009795/1.569, allocations: 4 MB / 1.283 GB, free: 37.91 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 7.483e-05/1.569, allocations: 86.14 kB / 1.283 GB, free: 37.85 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-05/1.569, allocations: 28.06 kB / 1.283 GB, free: 37.85 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/1.571, allocations: 0.6159 MB / 1.284 GB, free: 37.8 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/1.573, allocations: 0.6071 MB / 1.285 GB, free: 37.79 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/1.576, allocations: 4.177 MB / 1.289 GB, free: 34.37 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005085/1.581, allocations: 348.7 kB / 1.289 GB, free: 34.23 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005117/1.582, allocations: 148.1 kB / 1.289 GB, free: 34.23 MB / 0.9012 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.004954/1.587, allocations: 2.021 MB / 1.291 GB, free: 33.97 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002986/1.59, allocations: 3.683 MB / 1.295 GB, free: 30.39 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006273/1.596, allocations: 4.264 MB / 1.299 GB, free: 27.49 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.649e-05/1.596, allocations: 12.36 kB / 1.299 GB, free: 27.49 MB / 0.9012 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.009468/1.605, allocations: 3.959 MB / 1.303 GB, free: 26.04 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/1.605, allocations: 80.22 kB / 1.303 GB, free: 25.97 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/1.606, allocations: 30.09 kB / 1.303 GB, free: 25.97 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/1.607, allocations: 0.5779 MB / 1.303 GB, free: 25.8 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/1.609, allocations: 0.5776 MB / 1.304 GB, free: 25.79 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/1.611, allocations: 2.34 MB / 1.306 GB, free: 23.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005088/1.616, allocations: 309 kB / 1.307 GB, free: 23.75 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/1.617, allocations: 147.9 kB / 1.307 GB, free: 23.73 MB / 0.9012 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: 131 * 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 (298): * Single equations (assignments): 290 * 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.001095/1.618, allocations: 0.6693 MB / 1.307 GB, free: 23.25 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002001/1.62, allocations: 0.6485 MB / 1.308 GB, free: 22.89 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008627/1.628, allocations: 3.685 MB / 1.312 GB, free: 21.5 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/1.628, allocations: 21.31 kB / 1.312 GB, free: 21.5 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.628, allocations: 1.078 kB / 1.312 GB, free: 21.5 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005466/1.634, allocations: 2.406 MB / 1.314 GB, free: 20.59 MB / 0.9012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/1.655, allocations: 9.627 MB / 1.323 GB, free: 12.21 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.655, allocations: 4 kB / 1.323 GB, free: 12.2 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.657, allocations: 347.8 kB / 1.324 GB, free: 11.93 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/1.659, allocations: 0.5381 MB / 1.324 GB, free: 11.49 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/1.659, allocations: 62.22 kB / 1.324 GB, free: 11.44 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/1.662, allocations: 4.196 MB / 1.328 GB, free: 7.242 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.662, allocations: 6.25 kB / 1.328 GB, free: 7.238 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.674, allocations: 5.164 MB / 1.333 GB, free: 2.039 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003526/1.678, allocations: 0.9895 MB / 1.334 GB, free: 1.055 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.679, allocations: 44 kB / 1.334 GB, free: 1.012 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002929/1.682, allocations: 135.7 kB / 1.335 GB, free: 0.8828 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/1.682, allocations: 136.5 kB / 1.335 GB, free: 0.7539 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/1.683, allocations: 95.94 kB / 1.335 GB, free: 0.6602 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.008705/1.691, allocations: 3.918 MB / 1.339 GB, free: 12.76 MB / 0.9168 GB Notification: Performance of sort global known variables: time 2.1e-07/1.691, allocations: 4 kB / 1.339 GB, free: 12.75 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.01487/1.706, allocations: 2.907 MB / 1.342 GB, free: 9.84 MB / 0.9168 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 (168): * Single equations (assignments): 148 * 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.003307/1.709, allocations: 1.294 MB / 1.343 GB, free: 8.73 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.723, allocations: 4.761 MB / 1.347 GB, free: 4.074 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.723, allocations: 5.938 kB / 1.347 GB, free: 4.07 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.004227/1.727, allocations: 1.459 MB / 1.349 GB, free: 2.613 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01958/1.747, allocations: 3.176 MB / 1.352 GB, free: 15.78 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02451/1.771, allocations: 9.894 MB / 1.362 GB, free: 5.793 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004369/1.776, allocations: 2.654 MB / 1.364 GB, free: 3.109 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.006286/1.782, allocations: 1.21 MB / 1.365 GB, free: 1.977 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/1.783, allocations: 426.7 kB / 1.366 GB, free: 1.559 MB / 0.9324 GB Notification: Performance of SimCode: time 2.244e-06/1.783, allocations: 0 / 1.366 GB, free: 1.559 MB / 0.9324 GB Notification: Performance of Templates: time 0.2452/2.029, allocations: 121.4 MB / 1.484 GB, free: 10.09 MB / 1.057 GB " [Timeout remaining time 658] make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 13.38093603902962]