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.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.001598/0.001598, allocations: 88.72 kB / 19.44 MB, free: 356 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.001735/0.001735, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.277 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.088/0.088, allocations: 9.127 MB / 268.7 MB, free: 4.156 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.0008058/0.0008058, allocations: 35.64 kB / 328.2 MB, free: 20.45 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.594/2.594, 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.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7975 GB, free: 8.078 MB / 0.6512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.663e-05/3.873e-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.DHCSubstationHeatPumpDirectCooling): time 0.6978/0.6978, allocations: 198.9 MB / 0.9917 GB, free: 7.289 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.09223/0.7901, allocations: 44.44 MB / 1.035 GB, free: 10.79 MB / 0.7918 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01323/0.8033, allocations: 368.9 kB / 1.035 GB, free: 10.42 MB / 0.7918 GB Notification: Performance of NFTyping.typeComponents: time 0.016/0.8193, allocations: 4.031 MB / 1.039 GB, free: 6.367 MB / 0.7918 GB Notification: Performance of NFTyping.typeBindings: time 0.0331/0.8524, allocations: 8.73 MB / 1.048 GB, free: 13.59 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.02328/0.8757, allocations: 7.345 MB / 1.055 GB, free: 6.258 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.04364/0.9193, allocations: 24.56 MB / 1.079 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01586/0.9352, allocations: 4.689 MB / 1.084 GB, free: 8.883 MB / 0.8387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03597/0.9711, allocations: 10.29 MB / 1.094 GB, free: 14.64 MB / 0.8543 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.9822, allocations: 4.095 MB / 1.098 GB, free: 10.55 MB / 0.8543 GB Notification: Performance of NFPackage.collectConstants: time 0.003298/0.9855, allocations: 0.6562 MB / 1.098 GB, free: 9.895 MB / 0.8543 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01178/0.9973, allocations: 3.135 MB / 1.101 GB, free: 6.754 MB / 0.8543 GB Notification: Performance of NFScalarize.scalarize: time 0.004064/1.001, allocations: 2.016 MB / 1.103 GB, free: 4.73 MB / 0.8543 GB Notification: Performance of NFVerifyModel.verify: time 0.008387/1.01, allocations: 2.514 MB / 1.106 GB, free: 2.211 MB / 0.8543 GB Notification: Performance of NFConvertDAE.convert: time 0.02644/1.036, allocations: 12.47 MB / 1.118 GB, free: 5.703 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.036, allocations: 0 / 1.118 GB, free: 5.703 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.733e-06/1.036, allocations: 0 / 1.118 GB, free: 5.703 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.0004293/1.037, allocations: 4 kB / 1.118 GB, free: 5.699 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 865 * Number of variables: 865 Notification: Performance of Generate backend data structure: time 0.02449/1.061, allocations: 7.61 MB / 1.125 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.061, allocations: 12.62 kB / 1.125 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/1.072, allocations: 1.784 MB / 1.127 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02371/1.096, allocations: 9.23 MB / 1.136 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004847/1.096, allocations: 270.7 kB / 1.136 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/1.098, allocations: 371.9 kB / 1.137 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/1.112, allocations: 4.69 MB / 1.141 GB, free: 13.25 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/1.112, allocations: 7.938 kB / 1.141 GB, free: 13.24 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/1.113, allocations: 140 kB / 1.142 GB, free: 13.11 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/1.113, allocations: 84 kB / 1.142 GB, free: 13.02 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/1.124, allocations: 3.487 MB / 1.145 GB, free: 9.516 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.04036/1.165, allocations: 15.41 MB / 1.16 GB, free: 9.812 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006383/1.171, allocations: 2.157 MB / 1.162 GB, free: 7.66 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003836/1.175, allocations: 1.337 MB / 1.164 GB, free: 6.312 MB / 0.9168 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.01341/1.188, allocations: 4.045 MB / 1.167 GB, free: 2.238 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00411/1.193, allocations: 1.806 MB / 1.169 GB, free: 316 kB / 0.9168 GB Notification: Performance of pre-optimization done (n=205): time 5.831e-06/1.193, allocations: 0 / 1.169 GB, free: 316 kB / 0.9168 GB Notification: Performance of matching and sorting (n=205): time 0.4099/1.602, allocations: 4.819 MB / 1.174 GB, free: 302 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/1.603, allocations: 136.1 kB / 1.174 GB, free: 301.9 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008847/1.611, allocations: 5.114 MB / 1.179 GB, free: 300.1 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.0005491/1.612, allocations: 71.78 kB / 1.179 GB, free: 300 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.002469/1.614, allocations: 2.847 MB / 1.182 GB, free: 298.4 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.000906/1.615, allocations: 0.7356 MB / 1.183 GB, free: 297.9 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009823/1.616, allocations: 0.5303 MB / 1.183 GB, free: 297.6 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 5.248e-05/1.616, allocations: 304 kB / 1.183 GB, free: 297.3 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/1.619, allocations: 1.172 MB / 1.185 GB, free: 296.9 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/1.623, allocations: 2.895 MB / 1.187 GB, free: 294.3 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04529/1.668, allocations: 9.842 MB / 1.197 GB, free: 291.4 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.635e-05/1.668, allocations: 11.53 kB / 1.197 GB, free: 291.4 MB / 0.9168 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01141/1.679, allocations: 4.173 MB / 1.201 GB, free: 289.7 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.679, allocations: 78.02 kB / 1.201 GB, free: 289.6 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.109e-05/1.68, allocations: 24.22 kB / 1.201 GB, free: 289.6 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/1.681, allocations: 381.6 kB / 1.202 GB, free: 289.6 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/1.684, allocations: 0.6742 MB / 1.202 GB, free: 289.5 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/1.688, allocations: 4.193 MB / 1.206 GB, free: 285.6 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005412/1.693, allocations: 376.1 kB / 1.207 GB, free: 285.5 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000677/1.694, allocations: 147.7 kB / 1.207 GB, free: 285.5 MB / 0.9168 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.007319/1.701, allocations: 2.557 MB / 1.209 GB, free: 284.3 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004458/1.705, allocations: 2.877 MB / 1.212 GB, free: 281.7 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05056/1.756, allocations: 9.733 MB / 1.222 GB, free: 278.8 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.649e-05/1.756, allocations: 6.969 kB / 1.222 GB, free: 278.8 MB / 0.9168 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01526/1.771, allocations: 4.133 MB / 1.226 GB, free: 277.1 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/1.771, allocations: 83.05 kB / 1.226 GB, free: 277.1 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/1.772, allocations: 23.34 kB / 1.226 GB, free: 277.1 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/1.773, allocations: 367.7 kB / 1.226 GB, free: 277 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/1.777, allocations: 0.6353 MB / 1.227 GB, free: 276.9 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/1.78, allocations: 2.399 MB / 1.229 GB, free: 274.8 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005851/1.786, allocations: 350.9 kB / 1.229 GB, free: 274.7 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008184/1.786, allocations: 138.1 kB / 1.23 GB, free: 274.7 MB / 0.9168 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: 107 * 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.001908/1.788, allocations: 0.6147 MB / 1.23 GB, free: 274.3 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00317/1.791, allocations: 0.6215 MB / 1.231 GB, free: 273.9 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/1.807, allocations: 4.278 MB / 1.235 GB, free: 272.4 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-05/1.807, allocations: 27.8 kB / 1.235 GB, free: 272.4 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-05/1.807, allocations: 8.094 kB / 1.235 GB, free: 272.4 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008788/1.816, allocations: 3.306 MB / 1.238 GB, free: 270.9 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02691/1.843, allocations: 7.706 MB / 1.246 GB, free: 267.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.843, allocations: 4.344 kB / 1.246 GB, free: 267.7 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/1.845, allocations: 438.9 kB / 1.246 GB, free: 267.7 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/1.846, allocations: 343.4 kB / 1.246 GB, free: 267.6 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003348/1.847, allocations: 70.22 kB / 1.247 GB, free: 267.6 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/1.85, allocations: 4.199 MB / 1.251 GB, free: 263.7 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.85, allocations: 7.719 kB / 1.251 GB, free: 263.7 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.864, allocations: 5.639 MB / 1.256 GB, free: 260.4 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00518/1.869, allocations: 0.9722 MB / 1.257 GB, free: 259.6 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002296/1.871, allocations: 47.94 kB / 1.257 GB, free: 259.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004965/1.876, allocations: 171.5 kB / 1.257 GB, free: 259.4 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005234/1.877, allocations: 152 kB / 1.257 GB, free: 259.3 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005153/1.877, allocations: 106 kB / 1.258 GB, free: 259.2 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.01062/1.888, allocations: 3.48 MB / 1.261 GB, free: 256.3 MB / 0.9168 GB Notification: Performance of sort global known variables: time 1e-07/1.888, allocations: 0 / 1.261 GB, free: 256.3 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.0135/1.901, allocations: 2.831 MB / 1.264 GB, free: 253.8 MB / 0.9168 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 (210): * Single equations (assignments): 181 * 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.003444/1.905, allocations: 1.311 MB / 1.265 GB, free: 252.9 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.918, allocations: 5.097 MB / 1.27 GB, free: 248.1 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.918, allocations: 1.938 kB / 1.27 GB, free: 248.1 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.004285/1.923, allocations: 1.732 MB / 1.272 GB, free: 246.4 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01722/1.94, allocations: 3.206 MB / 1.275 GB, free: 243.6 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/1.965, allocations: 10.66 MB / 1.285 GB, free: 232.9 MB / 0.9168 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005077/1.971, allocations: 2.602 MB / 1.288 GB, free: 230.2 MB / 0.9168 GB Notification: Performance of simCode: alias equations: time 0.008329/1.979, allocations: 1.341 MB / 1.289 GB, free: 229 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/1.981, allocations: 456.2 kB / 1.29 GB, free: 228.5 MB / 0.9168 GB Notification: Performance of SimCode: time 2.114e-06/1.981, allocations: 0 / 1.29 GB, free: 228.5 MB / 0.9168 GB Notification: Performance of Templates: time 0.1733/2.154, allocations: 121.1 MB / 1.408 GB, free: 108.8 MB / 0.9168 GB " [Timeout remaining time 658] make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile [Timeout 660] (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 & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.033672374906018]