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.00063/0.00063, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.000696/0.000696, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8274/0.8274, allocations: 177.2 MB / 203.5 MB, free: 5.746 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.03235/0.03235, allocations: 9.115 MB / 269.1 MB, free: 4.496 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.0003955/0.0003955, allocations: 31.89 kB / 328.5 MB, free: 5.836 MB / 298.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.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 1.394/1.394, allocations: 274.9 MB / 0.6474 GB, free: 2.875 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.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 1.894e-06/1.894e-06, allocations: 1.062 kB / 0.9292 GB, free: 20.92 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.292e-05, allocations: 9.234 kB / 0.9292 GB, free: 20.91 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.1221/0.1221, allocations: 198.9 MB / 1.123 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.04801/0.1701, allocations: 44.43 MB / 1.167 GB, free: 11.39 MB / 0.9324 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008509/0.1786, allocations: 368.9 kB / 1.167 GB, free: 11.03 MB / 0.9324 GB Notification: Performance of NFTyping.typeComponents: time 0.009279/0.1879, allocations: 4.051 MB / 1.171 GB, free: 6.961 MB / 0.9324 GB Notification: Performance of NFTyping.typeBindings: time 0.01734/0.2052, allocations: 8.733 MB / 1.18 GB, free: 14.19 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01182/0.2171, allocations: 7.37 MB / 1.187 GB, free: 6.867 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.02432/0.2414, allocations: 24.53 MB / 1.211 GB, free: 14.29 MB / 0.9793 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007125/0.2485, allocations: 4.546 MB / 1.215 GB, free: 9.652 MB / 0.9793 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0189/0.2674, allocations: 10.22 MB / 1.225 GB, free: 15.43 MB / 0.9949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006715/0.2741, allocations: 4.077 MB / 1.229 GB, free: 11.34 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.2759, allocations: 0.6523 MB / 1.23 GB, free: 10.69 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006715/0.2826, allocations: 3.131 MB / 1.233 GB, free: 7.551 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.00252/0.2851, allocations: 2.016 MB / 1.235 GB, free: 5.527 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.004978/0.2901, allocations: 2.506 MB / 1.237 GB, free: 3.016 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.01527/0.3054, allocations: 12.43 MB / 1.25 GB, free: 6.559 MB / 1.011 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3054, allocations: 4 kB / 1.25 GB, free: 6.555 MB / 1.011 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3054, allocations: 0 / 1.25 GB, free: 6.555 MB / 1.011 GB Notification: Performance of Transformations before backend: time 0.0002991/0.3057, allocations: 0 / 1.25 GB, free: 6.555 MB / 1.011 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.01207/0.3178, allocations: 7.594 MB / 1.257 GB, free: 14.85 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3178, allocations: 16.03 kB / 1.257 GB, free: 14.84 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004223/0.322, allocations: 1.467 MB / 1.258 GB, free: 13.36 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/0.3339, allocations: 8.599 MB / 1.267 GB, free: 4.68 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.3341, allocations: 270.7 kB / 1.267 GB, free: 4.414 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006822/0.3348, allocations: 356 kB / 1.267 GB, free: 4.066 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3237/0.6585, allocations: 4.777 MB / 1.272 GB, free: 303.4 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-05/0.6585, allocations: 10.19 kB / 1.272 GB, free: 303.4 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003866/0.6589, allocations: 149.7 kB / 1.272 GB, free: 303.4 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.32e-05/0.659, allocations: 83 kB / 1.272 GB, free: 303.4 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006288/0.6653, allocations: 3.658 MB / 1.276 GB, free: 302.1 MB / 1.026 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.01881/0.6841, allocations: 15.43 MB / 1.291 GB, free: 293.2 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.6872, allocations: 2.291 MB / 1.293 GB, free: 292.3 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.6891, allocations: 1.416 MB / 1.295 GB, free: 291.8 MB / 1.026 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.006437/0.6955, allocations: 4.135 MB / 1.299 GB, free: 289.8 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002041/0.6976, allocations: 1.892 MB / 1.3 GB, free: 288.7 MB / 1.026 GB Notification: Performance of pre-optimization done (n=205): time 3.727e-06/0.6976, allocations: 0 / 1.3 GB, free: 288.7 MB / 1.026 GB Notification: Performance of matching and sorting (n=205): time 0.008546/0.7061, allocations: 4.999 MB / 1.305 GB, free: 287 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.7062, allocations: 133.1 kB / 1.305 GB, free: 286.8 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00602/0.7122, allocations: 5.135 MB / 1.31 GB, free: 285 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0003589/0.7125, allocations: 71.98 kB / 1.31 GB, free: 284.9 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.7142, allocations: 2.841 MB / 1.313 GB, free: 282.9 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006554/0.7148, allocations: 0.7283 MB / 1.314 GB, free: 282.4 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006091/0.7154, allocations: 0.5385 MB / 1.315 GB, free: 282.1 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 2.736e-05/0.7155, allocations: 303.2 kB / 1.315 GB, free: 281.8 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.7171, allocations: 1.256 MB / 1.316 GB, free: 281.4 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.7194, allocations: 2.979 MB / 1.319 GB, free: 278.8 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02151/0.7409, allocations: 10.23 MB / 1.329 GB, free: 275.1 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/0.7409, allocations: 6.438 kB / 1.329 GB, free: 275.1 MB / 1.026 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.006406/0.7473, allocations: 4.21 MB / 1.333 GB, free: 272.9 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.7474, allocations: 82.03 kB / 1.333 GB, free: 272.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.7474, allocations: 23.56 kB / 1.333 GB, free: 272.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007431/0.7481, allocations: 385.7 kB / 1.334 GB, free: 272.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.7497, allocations: 0.7015 MB / 1.334 GB, free: 272.5 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.7516, allocations: 4.187 MB / 1.338 GB, free: 268.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/0.7546, allocations: 403 kB / 1.339 GB, free: 268.4 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/0.7548, allocations: 143.9 kB / 1.339 GB, free: 268.3 MB / 1.026 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.003831/0.7587, allocations: 2.636 MB / 1.341 GB, free: 266.8 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001948/0.7606, allocations: 2.974 MB / 1.344 GB, free: 264 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0197/0.7803, allocations: 10.12 MB / 1.354 GB, free: 258.5 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.55e-05/0.7803, allocations: 10.34 kB / 1.354 GB, free: 258.5 MB / 1.026 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.005273/0.7856, allocations: 4.174 MB / 1.358 GB, free: 255.2 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.7856, allocations: 79.39 kB / 1.358 GB, free: 255.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.7857, allocations: 24 kB / 1.358 GB, free: 255.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.7862, allocations: 367.2 kB / 1.359 GB, free: 254.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.7873, allocations: 0.6631 MB / 1.359 GB, free: 254 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.7885, allocations: 2.398 MB / 1.362 GB, free: 251.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.791, allocations: 376.8 kB / 1.362 GB, free: 251.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.7911, allocations: 143.9 kB / 1.362 GB, free: 251 MB / 1.026 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.000734/0.7919, allocations: 0.6043 MB / 1.363 GB, free: 250.4 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000639/0.7925, allocations: 0.5589 MB / 1.363 GB, free: 249.9 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005271/0.7978, allocations: 4.436 MB / 1.368 GB, free: 245.4 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.7978, allocations: 35.97 kB / 1.368 GB, free: 245.4 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7978, allocations: 0 / 1.368 GB, free: 245.4 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003583/0.8014, allocations: 3.467 MB / 1.371 GB, free: 241.8 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.8115, allocations: 8.007 MB / 1.379 GB, free: 233.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.8115, allocations: 4 kB / 1.379 GB, free: 233.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009968/0.8125, allocations: 471.6 kB / 1.379 GB, free: 233.3 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/0.8131, allocations: 331.4 kB / 1.38 GB, free: 233 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.92e-05/0.8132, allocations: 71.89 kB / 1.38 GB, free: 232.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.8147, allocations: 4.202 MB / 1.384 GB, free: 228.5 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8147, allocations: 8 kB / 1.384 GB, free: 228.5 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006526/0.8212, allocations: 5.81 MB / 1.39 GB, free: 222.6 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/0.8228, allocations: 0.984 MB / 1.39 GB, free: 221.6 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/0.8232, allocations: 51.94 kB / 1.391 GB, free: 221.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.8244, allocations: 193.9 kB / 1.391 GB, free: 221.4 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.8246, allocations: 145.7 kB / 1.391 GB, free: 221.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.8247, allocations: 111.9 kB / 1.391 GB, free: 221.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.003091/0.8278, allocations: 3.493 MB / 1.394 GB, free: 217.7 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8278, allocations: 0 / 1.394 GB, free: 217.7 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.004476/0.8323, allocations: 2.839 MB / 1.397 GB, free: 215.1 MB / 1.026 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.00144/0.8337, allocations: 1.311 MB / 1.398 GB, free: 213.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.006243/0.8399, allocations: 5.353 MB / 1.404 GB, free: 208.4 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.8399, allocations: 4 kB / 1.404 GB, free: 208.4 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.8419, allocations: 1.805 MB / 1.405 GB, free: 206.6 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006644/0.8485, allocations: 3.09 MB / 1.408 GB, free: 203.8 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.8604, allocations: 10.86 MB / 1.419 GB, free: 192.9 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/0.8621, allocations: 2.588 MB / 1.422 GB, free: 190.3 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/0.8634, allocations: 480.2 kB / 1.422 GB, free: 189.8 MB / 1.026 GB Notification: Performance of SimCode: time 1.252e-06/0.8634, allocations: 0 / 1.422 GB, free: 189.8 MB / 1.026 GB Notification: Performance of Templates: time 0.1502/1.014, allocations: 262.1 MB / 1.678 GB, free: 8.227 MB / 1.104 GB " [Timeout remaining time 659] 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: 23.16914275754243] Failed to read output from testmodel.py, exit status != 0: 1.0197638291865587 1.37433434 1.066650613 Calling exit ...