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.001525/0.001525, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00147/0.00147, allocations: 163.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.437/1.437, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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.05733/0.05733, allocations: 9.136 MB / 268.3 MB, free: 7.922 MB / 254.1 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.0007345/0.0007345, allocations: 35.88 kB / 327.8 MB, free: 42.34 MB / 286.1 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.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.393/2.393, allocations: 275 MB / 0.6467 GB, free: 6.234 MB / 0.4982 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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/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.225e-06/2.225e-06, allocations: 0 / 0.9285 GB, free: 22.56 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/3.007e-05, allocations: 2.281 kB / 0.9285 GB, free: 22.55 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.3909/0.3909, allocations: 199 MB / 1.123 GB, free: 11.7 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.1123/0.5032, allocations: 44.45 MB / 1.166 GB, free: 15.15 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01142/0.5146, allocations: 368.9 kB / 1.167 GB, free: 14.79 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.01363/0.5283, allocations: 4.042 MB / 1.17 GB, free: 10.72 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02683/0.5551, allocations: 8.74 MB / 1.179 GB, free: 1.941 MB / 0.9357 GB Notification: Performance of NFTyping.typeClassSections: time 0.02522/0.5803, allocations: 7.368 MB / 1.186 GB, free: 10.62 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.06072/0.641, allocations: 24.52 MB / 1.21 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01586/0.6569, allocations: 4.554 MB / 1.215 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03908/0.696, allocations: 10.21 MB / 1.225 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01357/0.7096, allocations: 4.085 MB / 1.229 GB, free: 15.09 MB / 0.9982 GB Notification: Performance of NFPackage.collectConstants: time 0.003291/0.7128, allocations: 0.6523 MB / 1.229 GB, free: 14.43 MB / 0.9982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/0.7281, allocations: 3.127 MB / 1.232 GB, free: 11.3 MB / 0.9982 GB Notification: Performance of NFScalarize.scalarize: time 0.004727/0.7329, allocations: 2.012 MB / 1.234 GB, free: 9.281 MB / 0.9982 GB Notification: Performance of NFVerifyModel.verify: time 0.008673/0.7415, allocations: 2.506 MB / 1.237 GB, free: 6.77 MB / 0.9982 GB Notification: Performance of NFConvertDAE.convert: time 0.03126/0.7728, allocations: 12.42 MB / 1.249 GB, free: 10.31 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.7728, allocations: 3.984 kB / 1.249 GB, free: 10.31 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7728, allocations: 0 / 1.249 GB, free: 10.31 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003281/0.7731, allocations: 4 kB / 1.249 GB, free: 10.3 MB / 1.014 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.02664/0.7998, allocations: 7.598 MB / 1.256 GB, free: 2.598 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.7998, allocations: 8.031 kB / 1.256 GB, free: 2.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.8124, allocations: 1.479 MB / 1.258 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0285/0.8409, allocations: 8.602 MB / 1.266 GB, free: 8.422 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004846/0.8413, allocations: 266.7 kB / 1.266 GB, free: 8.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/0.8428, allocations: 356 kB / 1.267 GB, free: 7.812 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.8592, allocations: 4.779 MB / 1.271 GB, free: 2.742 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.8593, allocations: 11.89 kB / 1.271 GB, free: 2.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000741/0.86, allocations: 140 kB / 1.271 GB, free: 2.594 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.8601, allocations: 91.94 kB / 1.272 GB, free: 2.504 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4819/1.342, allocations: 3.652 MB / 1.275 GB, free: 306.9 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04765/1.39, allocations: 15.43 MB / 1.29 GB, free: 298.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008808/1.399, allocations: 2.292 MB / 1.292 GB, free: 297.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005339/1.404, allocations: 1.417 MB / 1.294 GB, free: 296.7 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01676/1.421, allocations: 4.128 MB / 1.298 GB, free: 294.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005856/1.426, allocations: 1.891 MB / 1.3 GB, free: 293.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=205): time 7.574e-06/1.426, allocations: 1.438 kB / 1.3 GB, free: 293.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=205): time 0.01802/1.444, allocations: 5.005 MB / 1.305 GB, free: 291.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/1.445, allocations: 129.1 kB / 1.305 GB, free: 291.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01478/1.459, allocations: 5.129 MB / 1.31 GB, free: 289.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0007666/1.46, allocations: 70.36 kB / 1.31 GB, free: 289.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.004703/1.465, allocations: 2.847 MB / 1.313 GB, free: 287.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001928/1.467, allocations: 0.7303 MB / 1.313 GB, free: 287.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00204/1.469, allocations: 0.539 MB / 1.314 GB, free: 286.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/1.469, allocations: 307.3 kB / 1.314 GB, free: 286.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/1.472, allocations: 1.255 MB / 1.315 GB, free: 286.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003958/1.476, allocations: 2.976 MB / 1.318 GB, free: 283.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04813/1.524, allocations: 10.23 MB / 1.328 GB, free: 280.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.397e-05/1.524, allocations: 6.75 kB / 1.328 GB, free: 280.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01185/1.536, allocations: 4.203 MB / 1.332 GB, free: 278.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/1.536, allocations: 82.38 kB / 1.332 GB, free: 278.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.477e-05/1.536, allocations: 23.69 kB / 1.332 GB, free: 278.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/1.537, allocations: 389.6 kB / 1.333 GB, free: 278.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/1.54, allocations: 0.7019 MB / 1.333 GB, free: 278.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/1.543, allocations: 4.173 MB / 1.338 GB, free: 274.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/1.548, allocations: 405.1 kB / 1.338 GB, free: 274.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005631/1.549, allocations: 143.7 kB / 1.338 GB, free: 274.6 MB / 1.029 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.006143/1.555, allocations: 2.643 MB / 1.341 GB, free: 273.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004287/1.559, allocations: 2.967 MB / 1.344 GB, free: 270.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04518/1.604, allocations: 10.13 MB / 1.353 GB, free: 264.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.239e-05/1.604, allocations: 6.156 kB / 1.353 GB, free: 264.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.0111/1.616, allocations: 4.17 MB / 1.358 GB, free: 262.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-05/1.616, allocations: 90.56 kB / 1.358 GB, free: 262.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.445e-05/1.616, allocations: 25.09 kB / 1.358 GB, free: 262.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.617, allocations: 364.2 kB / 1.358 GB, free: 262.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/1.619, allocations: 0.6602 MB / 1.359 GB, free: 262.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/1.622, allocations: 2.401 MB / 1.361 GB, free: 260 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005616/1.627, allocations: 375.4 kB / 1.361 GB, free: 259.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007122/1.628, allocations: 138.1 kB / 1.361 GB, free: 259.7 MB / 1.029 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.002097/1.63, allocations: 0.6062 MB / 1.362 GB, free: 259.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002943/1.633, allocations: 0.5572 MB / 1.363 GB, free: 258.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.644, allocations: 4.444 MB / 1.367 GB, free: 254.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.666e-05/1.644, allocations: 31.98 kB / 1.367 GB, free: 254.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.644, allocations: 0 / 1.367 GB, free: 254.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007269/1.652, allocations: 3.459 MB / 1.37 GB, free: 250.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02342/1.675, allocations: 8.016 MB / 1.378 GB, free: 242.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.675, allocations: 0 / 1.378 GB, free: 242.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/1.677, allocations: 471.6 kB / 1.379 GB, free: 242.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/1.679, allocations: 333.4 kB / 1.379 GB, free: 241.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003049/1.679, allocations: 71.94 kB / 1.379 GB, free: 241.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/1.682, allocations: 4.214 MB / 1.383 GB, free: 237.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.682, allocations: 448 / 1.383 GB, free: 237.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.695, allocations: 5.818 MB / 1.389 GB, free: 231.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003006/1.698, allocations: 0.9782 MB / 1.39 GB, free: 230.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/1.699, allocations: 55.94 kB / 1.39 GB, free: 230.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003687/1.703, allocations: 187.8 kB / 1.39 GB, free: 230.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/1.703, allocations: 153.6 kB / 1.39 GB, free: 230.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/1.703, allocations: 103.9 kB / 1.39 GB, free: 230 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.007516/1.711, allocations: 3.497 MB / 1.394 GB, free: 226.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.711, allocations: 0 / 1.394 GB, free: 226.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.009126/1.72, allocations: 2.841 MB / 1.396 GB, free: 223.6 MB / 1.029 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.002612/1.723, allocations: 1.309 MB / 1.398 GB, free: 222.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01179/1.734, allocations: 5.342 MB / 1.403 GB, free: 216.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.734, allocations: 0 / 1.403 GB, free: 216.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003979/1.738, allocations: 1.809 MB / 1.405 GB, free: 215.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01307/1.751, allocations: 3.091 MB / 1.408 GB, free: 212.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/1.771, allocations: 10.66 MB / 1.418 GB, free: 201.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/1.774, allocations: 2.596 MB / 1.421 GB, free: 199 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.005088/1.779, allocations: 1.342 MB / 1.422 GB, free: 197.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.78, allocations: 456.2 kB / 1.422 GB, free: 197.3 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/1.78, allocations: 0 / 1.422 GB, free: 197.3 MB / 1.029 GB Notification: Performance of Templates: time 0.1547/1.935, allocations: 121.7 MB / 1.541 GB, free: 76.85 MB / 1.029 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: 13.10084929689765] Failed to read output from testmodel.py, exit status != 0: 1.9452532157301903 1.952113067 1.1768283800000001 Calling exit ...