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.002209/0.002209, allocations: 85.48 kB / 19.44 MB, free: 344 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.002787/0.002787, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.603/1.603, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.06736/0.06736, allocations: 9.138 MB / 268.7 MB, free: 4.301 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.00116/0.00116, allocations: 27.69 kB / 328.2 MB, free: 20.44 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 2.875/2.875, allocations: 274.9 MB / 0.6471 GB, free: 2.391 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.334e-06/2.334e-06, allocations: 0 / 0.7975 GB, free: 8.066 MB / 0.6512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.377e-05, allocations: 2.312 kB / 0.7975 GB, free: 8.062 MB / 0.6512 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.6252/0.6253, allocations: 227.5 MB / 1.02 GB, free: 11.62 MB / 0.7762 GB Notification: Performance of NFInst.instExpressions: time 0.0837/0.709, allocations: 48.86 MB / 1.067 GB, free: 10.69 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01258/0.7215, allocations: 372.9 kB / 1.068 GB, free: 10.32 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01404/0.7356, allocations: 4.032 MB / 1.072 GB, free: 6.27 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02773/0.7633, allocations: 8.736 MB / 1.08 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of NFTyping.typeClassSections: time 0.02023/0.7836, allocations: 7.343 MB / 1.087 GB, free: 6.152 MB / 0.8387 GB Notification: Performance of NFFlatten.flatten: time 0.04368/0.8272, allocations: 24.55 MB / 1.111 GB, free: 13.56 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.8382, allocations: 4.771 MB / 1.116 GB, free: 8.699 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03206/0.8703, allocations: 10.3 MB / 1.126 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/0.881, allocations: 4.166 MB / 1.13 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.002933/0.884, allocations: 0.6523 MB / 1.131 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01137/0.8953, allocations: 3.131 MB / 1.134 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.004271/0.8996, allocations: 2.028 MB / 1.136 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.008358/0.908, allocations: 2.518 MB / 1.138 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.02722/0.9352, allocations: 12.46 MB / 1.15 GB, free: 5.438 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.9352, allocations: 0 / 1.15 GB, free: 5.438 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9352, allocations: 0 / 1.15 GB, free: 5.438 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0005019/0.9357, allocations: 0 / 1.15 GB, free: 5.438 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: 865 * Number of variables: 865 Notification: Performance of Generate backend data structure: time 0.5059/1.442, allocations: 8.678 MB / 1.159 GB, free: 292.7 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 6.84e-05/1.442, allocations: 12.38 kB / 1.159 GB, free: 292.7 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008618/1.45, allocations: 1.587 MB / 1.16 GB, free: 292.2 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01999/1.47, allocations: 7.885 MB / 1.168 GB, free: 288.8 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004268/1.471, allocations: 271.8 kB / 1.168 GB, free: 288.6 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/1.472, allocations: 374 kB / 1.169 GB, free: 288.5 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/1.486, allocations: 4.967 MB / 1.174 GB, free: 285.7 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000198/1.486, allocations: 10.75 kB / 1.174 GB, free: 285.7 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/1.488, allocations: 142.6 kB / 1.174 GB, free: 285.6 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/1.488, allocations: 88.17 kB / 1.174 GB, free: 285.6 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009976/1.498, allocations: 3.268 MB / 1.177 GB, free: 284.4 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.04974/1.547, allocations: 28.61 MB / 1.205 GB, free: 267.1 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006342/1.554, allocations: 2.171 MB / 1.207 GB, free: 266.3 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003533/1.557, allocations: 1.282 MB / 1.208 GB, free: 265.8 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.01498/1.572, allocations: 4.219 MB / 1.213 GB, free: 263.6 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003974/1.576, allocations: 1.791 MB / 1.214 GB, free: 262.6 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=205): time 5.561e-06/1.576, allocations: 0.5625 kB / 1.214 GB, free: 262.6 MB / 0.9012 GB Notification: Performance of matching and sorting (n=205): time 0.01652/1.593, allocations: 4.343 MB / 1.218 GB, free: 261 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/1.593, allocations: 135.5 kB / 1.219 GB, free: 260.9 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01903/1.612, allocations: 6.64 MB / 1.225 GB, free: 258.1 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006936/1.613, allocations: 73.48 kB / 1.225 GB, free: 258.1 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004998/1.618, allocations: 3.541 MB / 1.229 GB, free: 255.6 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/1.619, allocations: 0.7971 MB / 1.229 GB, free: 255 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002381/1.621, allocations: 0.6882 MB / 1.23 GB, free: 254.6 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.622, allocations: 481.2 kB / 1.231 GB, free: 254.2 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00323/1.625, allocations: 1.05 MB / 1.232 GB, free: 253.8 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004414/1.629, allocations: 3.245 MB / 1.235 GB, free: 250.2 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009151/1.638, allocations: 4.378 MB / 1.239 GB, free: 245.7 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.934e-05/1.638, allocations: 8.984 kB / 1.239 GB, free: 245.7 MB / 0.9012 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.0125/1.651, allocations: 3.967 MB / 1.243 GB, free: 242 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.651, allocations: 80.7 kB / 1.243 GB, free: 241.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.605e-05/1.651, allocations: 24.56 kB / 1.243 GB, free: 241.9 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/1.652, allocations: 360.1 kB / 1.243 GB, free: 241.6 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/1.656, allocations: 0.6675 MB / 1.244 GB, free: 241 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/1.659, allocations: 6.002 MB / 1.25 GB, free: 234.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005896/1.665, allocations: 332.5 kB / 1.25 GB, free: 234.6 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000907/1.666, allocations: 141.7 kB / 1.25 GB, free: 234.5 MB / 0.9012 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.006672/1.673, allocations: 2.063 MB / 1.252 GB, free: 232.6 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004096/1.677, allocations: 3.237 MB / 1.255 GB, free: 228.8 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008873/1.686, allocations: 4.339 MB / 1.26 GB, free: 224.2 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.799e-05/1.686, allocations: 8 kB / 1.26 GB, free: 224.2 MB / 0.9012 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.01225/1.698, allocations: 3.938 MB / 1.264 GB, free: 220.6 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.698, allocations: 81.27 kB / 1.264 GB, free: 220.5 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.831e-05/1.698, allocations: 24 kB / 1.264 GB, free: 220.5 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.699, allocations: 348.8 kB / 1.264 GB, free: 220.2 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/1.702, allocations: 0.6238 MB / 1.265 GB, free: 219.7 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/1.704, allocations: 3.263 MB / 1.268 GB, free: 216.4 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005306/1.71, allocations: 301.6 kB / 1.268 GB, free: 216.1 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007766/1.71, allocations: 144.6 kB / 1.268 GB, free: 216 MB / 0.9012 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: 108 * 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 (312): * Single equations (assignments): 303 * 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.001724/1.712, allocations: 0.6895 MB / 1.269 GB, free: 215.3 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002743/1.715, allocations: 0.6253 MB / 1.27 GB, free: 214.7 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/1.727, allocations: 3.886 MB / 1.273 GB, free: 211.4 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/1.727, allocations: 30.47 kB / 1.273 GB, free: 211.4 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-05/1.727, allocations: 5.078 kB / 1.273 GB, free: 211.4 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006389/1.734, allocations: 2.872 MB / 1.276 GB, free: 208.7 MB / 0.9012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/1.758, allocations: 9.264 MB / 1.285 GB, free: 200.1 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/1.758, allocations: 1.312 kB / 1.285 GB, free: 200.1 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00215/1.76, allocations: 439.9 kB / 1.286 GB, free: 199.7 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009923/1.761, allocations: 319.4 kB / 1.286 GB, free: 199.4 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003488/1.761, allocations: 72.83 kB / 1.286 GB, free: 199.3 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/1.764, allocations: 5.984 MB / 1.292 GB, free: 193.1 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.764, allocations: 0 / 1.292 GB, free: 193.1 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.776, allocations: 5.052 MB / 1.297 GB, free: 187.9 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003622/1.78, allocations: 0.984 MB / 1.298 GB, free: 186.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001726/1.781, allocations: 52.59 kB / 1.298 GB, free: 186.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003903/1.785, allocations: 126.1 kB / 1.298 GB, free: 186.8 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004245/1.786, allocations: 153.6 kB / 1.298 GB, free: 186.6 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004461/1.786, allocations: 103.9 kB / 1.298 GB, free: 186.5 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.008083/1.794, allocations: 3.571 MB / 1.302 GB, free: 182.9 MB / 0.9012 GB Notification: Performance of sort global known variables: time 2.1e-07/1.794, allocations: 0 / 1.302 GB, free: 182.9 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.01392/1.808, allocations: 2.838 MB / 1.304 GB, free: 180.1 MB / 0.9012 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.003136/1.811, allocations: 1.311 MB / 1.306 GB, free: 179 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.01205/1.823, allocations: 5.299 MB / 1.311 GB, free: 173.7 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/1.823, allocations: 0 / 1.311 GB, free: 173.7 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.003828/1.827, allocations: 1.746 MB / 1.313 GB, free: 171.9 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01709/1.844, allocations: 3.21 MB / 1.316 GB, free: 169.1 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/1.866, allocations: 9.849 MB / 1.325 GB, free: 159.1 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004262/1.871, allocations: 2.552 MB / 1.328 GB, free: 156.6 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.00685/1.878, allocations: 1.265 MB / 1.329 GB, free: 155.4 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/1.879, allocations: 456.2 kB / 1.329 GB, free: 155 MB / 0.9012 GB Notification: Performance of SimCode: time 1.373e-06/1.879, allocations: 0 / 1.329 GB, free: 155 MB / 0.9012 GB Notification: Performance of Templates: time 0.1645/2.044, allocations: 121.7 MB / 1.448 GB, free: 34.54 MB / 0.9012 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=240 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 14.087930784095079]