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.0009129/0.0009129, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009874/0.0009874, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9801/0.9801, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.04259/0.04259, allocations: 9.135 MB / 269.4 MB, free: 4.34 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.0004529/0.0004529, allocations: 35.72 kB / 328.9 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 1.606/1.606, allocations: 274.9 MB / 0.6478 GB, free: 2.434 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 178] 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.983e-06/1.983e-06, allocations: 4 kB / 0.7981 GB, free: 8.09 MB / 0.6512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.488e-06/1.147e-05, allocations: 6.312 kB / 0.7981 GB, free: 8.082 MB / 0.6512 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.4549/0.4549, allocations: 253.9 MB / 1.046 GB, free: 1.305 MB / 0.7918 GB Notification: Performance of NFInst.instExpressions: time 0.05742/0.5123, allocations: 52.34 MB / 1.097 GB, free: 12.89 MB / 0.8543 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01082/0.5231, allocations: 404.6 kB / 1.098 GB, free: 12.5 MB / 0.8543 GB Notification: Performance of NFTyping.typeComponents: time 0.008608/0.5317, allocations: 4.326 MB / 1.102 GB, free: 8.145 MB / 0.8543 GB Notification: Performance of NFTyping.typeBindings: time 0.02005/0.5518, allocations: 9.559 MB / 1.111 GB, free: 14.54 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.01254/0.5643, allocations: 7.09 MB / 1.118 GB, free: 7.469 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.02833/0.5927, allocations: 25.22 MB / 1.143 GB, free: 14.2 MB / 0.9012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007825/0.6005, allocations: 5.074 MB / 1.148 GB, free: 9.035 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4283/1.029, allocations: 10.75 MB / 1.158 GB, free: 71.7 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008479/1.037, allocations: 4.334 MB / 1.162 GB, free: 71.7 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.001647/1.039, allocations: 0.6952 MB / 1.163 GB, free: 71.7 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007319/1.046, allocations: 3.188 MB / 1.166 GB, free: 71.7 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.001642/1.048, allocations: 2.122 MB / 1.168 GB, free: 71.7 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.004664/1.053, allocations: 2.647 MB / 1.171 GB, free: 71.7 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.01316/1.066, allocations: 7.752 MB / 1.178 GB, free: 71.39 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.066, allocations: 0 / 1.178 GB, free: 71.39 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.044e-06/1.066, allocations: 0 / 1.178 GB, free: 71.39 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0003165/1.066, allocations: 1 kB / 1.178 GB, free: 71.39 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.01346/1.079, allocations: 8.341 MB / 1.187 GB, free: 67.6 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.08, allocations: 13.81 kB / 1.187 GB, free: 67.6 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/1.084, allocations: 1.708 MB / 1.188 GB, free: 67.14 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/1.095, allocations: 8.336 MB / 1.196 GB, free: 65.82 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/1.096, allocations: 293.4 kB / 1.197 GB, free: 65.81 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004954/1.096, allocations: 389 kB / 1.197 GB, free: 65.81 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005698/1.102, allocations: 3.861 MB / 1.201 GB, free: 64.15 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.83e-05/1.102, allocations: 15.94 kB / 1.201 GB, free: 64.15 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/1.102, allocations: 153.4 kB / 1.201 GB, free: 64.15 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.024e-05/1.102, allocations: 90.28 kB / 1.201 GB, free: 64.15 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/1.106, allocations: 1.616 MB / 1.203 GB, free: 64.04 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.01854/1.124, allocations: 19.98 MB / 1.222 GB, free: 54.3 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/1.127, allocations: 1.324 MB / 1.223 GB, free: 54.19 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009402/1.127, allocations: 0.5952 MB / 1.224 GB, free: 54.11 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.005945/1.133, allocations: 3.571 MB / 1.227 GB, free: 53.6 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/1.135, allocations: 1.341 MB / 1.229 GB, free: 52.8 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=182): time 5.29e-06/1.135, allocations: 3.75 kB / 1.229 GB, free: 52.8 MB / 0.9012 GB Notification: Performance of matching and sorting (n=182): time 0.006163/1.141, allocations: 3.081 MB / 1.232 GB, free: 52.16 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/1.141, allocations: 185.4 kB / 1.232 GB, free: 51.97 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/1.146, allocations: 4.705 MB / 1.237 GB, free: 51.41 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/1.146, allocations: 73.25 kB / 1.237 GB, free: 51.38 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002216/1.148, allocations: 3.275 MB / 1.24 GB, free: 50.43 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/1.149, allocations: 0.6483 MB / 1.24 GB, free: 50.01 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006071/1.149, allocations: 0.5615 MB / 1.241 GB, free: 49.95 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 4.49e-05/1.149, allocations: 476.8 kB / 1.241 GB, free: 49.48 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008338/1.15, allocations: 482.7 kB / 1.242 GB, free: 49.39 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.152, allocations: 3.033 MB / 1.245 GB, free: 46.11 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/1.155, allocations: 2.791 MB / 1.248 GB, free: 44.28 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/1.155, allocations: 7.719 kB / 1.248 GB, free: 44.28 MB / 0.9012 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.004152/1.159, allocations: 2.881 MB / 1.25 GB, free: 43.7 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/1.159, allocations: 85.34 kB / 1.25 GB, free: 43.64 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/1.159, allocations: 29.66 kB / 1.251 GB, free: 43.64 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008555/1.16, allocations: 406.7 kB / 1.251 GB, free: 43.59 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.161, allocations: 0.6091 MB / 1.252 GB, free: 43.59 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/1.162, allocations: 3.709 MB / 1.255 GB, free: 40.18 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.164, allocations: 342.8 kB / 1.255 GB, free: 40.04 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/1.165, allocations: 153 kB / 1.256 GB, free: 40.04 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.001753/1.166, allocations: 0.7806 MB / 1.256 GB, free: 39.78 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00153/1.168, allocations: 3.025 MB / 1.259 GB, free: 36.51 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002854/1.171, allocations: 2.779 MB / 1.262 GB, free: 34.68 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-05/1.171, allocations: 7.844 kB / 1.262 GB, free: 34.68 MB / 0.9012 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.003861/1.175, allocations: 2.864 MB / 1.265 GB, free: 34.1 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/1.175, allocations: 81.34 kB / 1.265 GB, free: 34.04 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.175, allocations: 29.3 kB / 1.265 GB, free: 34.04 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007084/1.175, allocations: 385.5 kB / 1.265 GB, free: 33.99 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/1.176, allocations: 0.5814 MB / 1.266 GB, free: 33.99 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008201/1.177, allocations: 1.899 MB / 1.268 GB, free: 32.38 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/1.179, allocations: 314.9 kB / 1.268 GB, free: 32.27 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.18, allocations: 143.8 kB / 1.268 GB, free: 32.27 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.0006386/1.18, allocations: 0.6651 MB / 1.269 GB, free: 31.87 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006005/1.181, allocations: 0.6392 MB / 1.269 GB, free: 31.54 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/1.185, allocations: 2.622 MB / 1.272 GB, free: 31.16 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/1.185, allocations: 23.61 kB / 1.272 GB, free: 31.16 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.185, allocations: 2.047 kB / 1.272 GB, free: 31.16 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002247/1.187, allocations: 1.475 MB / 1.273 GB, free: 30.88 MB / 0.9012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008772/1.196, allocations: 6.649 MB / 1.28 GB, free: 29.79 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/1.196, allocations: 3.781 kB / 1.28 GB, free: 29.79 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/1.196, allocations: 345.3 kB / 1.28 GB, free: 29.78 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005912/1.197, allocations: 348.8 kB / 1.281 GB, free: 29.74 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.804e-05/1.197, allocations: 63.27 kB / 1.281 GB, free: 29.74 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/1.198, allocations: 3.737 MB / 1.284 GB, free: 26.32 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.198, allocations: 7.062 kB / 1.284 GB, free: 26.31 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004622/1.203, allocations: 3.452 MB / 1.288 GB, free: 25.07 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.204, allocations: 0.9882 MB / 1.289 GB, free: 24.71 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004641/1.205, allocations: 52.73 kB / 1.289 GB, free: 24.71 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.206, allocations: 138.5 kB / 1.289 GB, free: 24.7 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/1.206, allocations: 133.5 kB / 1.289 GB, free: 24.7 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.206, allocations: 98.64 kB / 1.289 GB, free: 24.7 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.003187/1.209, allocations: 2.642 MB / 1.292 GB, free: 24.44 MB / 0.9012 GB Notification: Performance of sort global known variables: time 2.71e-07/1.209, allocations: 0 / 1.292 GB, free: 24.44 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.005322/1.215, allocations: 2.909 MB / 1.295 GB, free: 23.96 MB / 0.9012 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.001608/1.216, allocations: 1.288 MB / 1.296 GB, free: 23.64 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.004314/1.221, allocations: 3.029 MB / 1.299 GB, free: 23.07 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.221, allocations: 0 / 1.299 GB, free: 23.07 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/1.222, allocations: 0.9709 MB / 1.3 GB, free: 22.85 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006449/1.228, allocations: 3.162 MB / 1.303 GB, free: 22.45 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.239, allocations: 8.998 MB / 1.312 GB, free: 18.19 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008906/1.239, allocations: 1.075 MB / 1.313 GB, free: 18.02 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.003355/1.243, allocations: 1.201 MB / 1.314 GB, free: 17.69 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/1.244, allocations: 434.1 kB / 1.314 GB, free: 17.67 MB / 0.9012 GB Notification: Performance of SimCode: time 1.473e-06/1.244, allocations: 0 / 1.314 GB, free: 17.67 MB / 0.9012 GB Notification: Performance of Templates: time 0.1333/1.377, allocations: 121.6 MB / 1.433 GB, free: 11.97 MB / 1.011 GB " [Timeout remaining time 659] 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: 7.8841900650877506]