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.0007009/0.0007009, allocations: 79.69 kB / 20.02 MB, free: 4.492 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.0007342/0.0007342, allocations: 166 kB / 23.32 MB, free: 1.191 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.8558/0.8558, allocations: 177.1 MB / 203.6 MB, free: 5.719 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.03417/0.03417, allocations: 9.121 MB / 269.2 MB, free: 4.457 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.0004134/0.0004134, allocations: 27.95 kB / 328.7 MB, free: 20.62 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.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.465/1.465, allocations: 275 MB / 0.6476 GB, free: 2.5 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.403e-06/1.403e-06, allocations: 0 / 0.9294 GB, free: 8.137 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.666e-05, allocations: 2.969 kB / 0.9294 GB, free: 8.133 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.1567/0.1567, allocations: 198.9 MB / 1.124 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.05672/0.2134, allocations: 44.46 MB / 1.167 GB, free: 4.012 MB / 0.9324 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009172/0.2226, allocations: 368.9 kB / 1.167 GB, free: 3.648 MB / 0.9324 GB Notification: Performance of NFTyping.typeComponents: time 0.5042/0.7268, allocations: 4.034 MB / 1.171 GB, free: 36.52 MB / 0.9324 GB Notification: Performance of NFTyping.typeBindings: time 0.02428/0.7511, allocations: 8.74 MB / 1.18 GB, free: 36.08 MB / 0.9324 GB Notification: Performance of NFTyping.typeClassSections: time 0.01233/0.7634, allocations: 7.368 MB / 1.187 GB, free: 35.87 MB / 0.9324 GB Notification: Performance of NFFlatten.flatten: time 0.02624/0.7897, allocations: 24.52 MB / 1.211 GB, free: 32.62 MB / 0.9324 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006617/0.7963, allocations: 4.547 MB / 1.216 GB, free: 32.07 MB / 0.9324 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01472/0.811, allocations: 10.22 MB / 1.226 GB, free: 31.06 MB / 0.9324 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00503/0.816, allocations: 4.086 MB / 1.23 GB, free: 30.55 MB / 0.9324 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.8173, allocations: 0.6498 MB / 1.23 GB, free: 30.55 MB / 0.9324 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0056/0.8229, allocations: 3.129 MB / 1.233 GB, free: 30.38 MB / 0.9324 GB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.8241, allocations: 2.01 MB / 1.235 GB, free: 30.02 MB / 0.9324 GB Notification: Performance of NFVerifyModel.verify: time 0.002953/0.827, allocations: 2.506 MB / 1.238 GB, free: 29.71 MB / 0.9324 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.8378, allocations: 12.42 MB / 1.25 GB, free: 28.39 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.8378, allocations: 0 / 1.25 GB, free: 28.39 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8378, allocations: 2.562 kB / 1.25 GB, free: 28.39 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 8.562e-05/0.8379, allocations: 0 / 1.25 GB, free: 28.39 MB / 0.9324 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.007178/0.8451, allocations: 7.602 MB / 1.257 GB, free: 24.14 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.8451, allocations: 12 kB / 1.257 GB, free: 24.14 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.8482, allocations: 1.469 MB / 1.259 GB, free: 23.45 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007853/0.8561, allocations: 8.604 MB / 1.267 GB, free: 20.58 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.8562, allocations: 268 kB / 1.267 GB, free: 20.46 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.8565, allocations: 360.5 kB / 1.268 GB, free: 20.34 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004834/0.8614, allocations: 4.783 MB / 1.272 GB, free: 17.05 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/0.8614, allocations: 11.59 kB / 1.272 GB, free: 17.05 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.8616, allocations: 143.1 kB / 1.272 GB, free: 16.95 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.8617, allocations: 84.12 kB / 1.273 GB, free: 16.95 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004384/0.866, allocations: 3.644 MB / 1.276 GB, free: 15.11 MB / 0.9324 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.0131/0.8791, allocations: 15.44 MB / 1.291 GB, free: 1.07 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/0.882, allocations: 2.289 MB / 1.293 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.8839, allocations: 1.415 MB / 1.295 GB, free: 13.37 MB / 0.948 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.005494/0.8894, allocations: 4.142 MB / 1.299 GB, free: 9.262 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002109/0.8916, allocations: 1.898 MB / 1.301 GB, free: 7.238 MB / 0.948 GB Notification: Performance of pre-optimization done (n=205): time 3.526e-06/0.8916, allocations: 0 / 1.301 GB, free: 7.238 MB / 0.948 GB Notification: Performance of matching and sorting (n=205): time 0.007857/0.8994, allocations: 4.992 MB / 1.306 GB, free: 2.203 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.8995, allocations: 128.8 kB / 1.306 GB, free: 2.055 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/0.9044, allocations: 5.125 MB / 1.311 GB, free: 12.93 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.9046, allocations: 77.7 kB / 1.311 GB, free: 12.84 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001815/0.9064, allocations: 2.848 MB / 1.314 GB, free: 9.992 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/0.9069, allocations: 0.7282 MB / 1.314 GB, free: 9.273 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007191/0.9076, allocations: 0.5354 MB / 1.315 GB, free: 8.734 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.9076, allocations: 309.1 kB / 1.315 GB, free: 8.43 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.9093, allocations: 1.252 MB / 1.316 GB, free: 7.16 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.9115, allocations: 2.978 MB / 1.319 GB, free: 3.586 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.023/0.9345, allocations: 10.23 MB / 1.329 GB, free: 9.09 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/0.9346, allocations: 4 kB / 1.329 GB, free: 9.086 MB / 0.9793 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.006763/0.9413, allocations: 4.215 MB / 1.333 GB, free: 4.977 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.9414, allocations: 83.64 kB / 1.333 GB, free: 4.883 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.9414, allocations: 24 kB / 1.333 GB, free: 4.859 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007184/0.9421, allocations: 377.4 kB / 1.334 GB, free: 4.484 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.9437, allocations: 0.7135 MB / 1.334 GB, free: 3.812 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.9462, allocations: 4.18 MB / 1.339 GB, free: 15.46 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/0.9494, allocations: 390.1 kB / 1.339 GB, free: 15.08 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.9495, allocations: 147.9 kB / 1.339 GB, free: 14.94 MB / 0.9949 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.004075/0.9536, allocations: 2.643 MB / 1.342 GB, free: 12.27 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002758/0.9564, allocations: 2.957 MB / 1.345 GB, free: 8.723 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02237/0.9787, allocations: 10.13 MB / 1.354 GB, free: 14.31 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-05/0.9788, allocations: 8 kB / 1.354 GB, free: 14.3 MB / 1.011 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.007054/0.9858, allocations: 4.166 MB / 1.358 GB, free: 10.24 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.9859, allocations: 90.84 kB / 1.359 GB, free: 10.14 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.9859, allocations: 28.81 kB / 1.359 GB, free: 10.12 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.9865, allocations: 369.4 kB / 1.359 GB, free: 9.75 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.9879, allocations: 0.6693 MB / 1.36 GB, free: 9.117 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.9895, allocations: 2.389 MB / 1.362 GB, free: 6.625 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/0.9925, allocations: 375.1 kB / 1.362 GB, free: 6.258 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.9927, allocations: 138 kB / 1.362 GB, free: 6.125 MB / 1.011 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.0009824/0.9937, allocations: 0.6183 MB / 1.363 GB, free: 5.523 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006494/0.9944, allocations: 0.555 MB / 1.364 GB, free: 4.965 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006679/1.001, allocations: 4.43 MB / 1.368 GB, free: 0.5625 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.153e-05/1.001, allocations: 31.98 kB / 1.368 GB, free: 0.5312 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.001, allocations: 0 / 1.368 GB, free: 0.5312 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004691/1.006, allocations: 3.461 MB / 1.371 GB, free: 12.95 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/1.018, allocations: 8.021 MB / 1.379 GB, free: 4.898 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.018, allocations: 4 kB / 1.379 GB, free: 4.895 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.019, allocations: 478 kB / 1.38 GB, free: 4.449 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006078/1.019, allocations: 335.2 kB / 1.38 GB, free: 4.117 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.02, allocations: 71.95 kB / 1.38 GB, free: 4.047 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/1.022, allocations: 4.188 MB / 1.384 GB, free: 15.68 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.022, allocations: 0 / 1.384 GB, free: 15.68 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008141/1.03, allocations: 5.818 MB / 1.39 GB, free: 9.746 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/1.032, allocations: 0.9819 MB / 1.391 GB, free: 8.766 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/1.032, allocations: 51.95 kB / 1.391 GB, free: 8.715 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.034, allocations: 199.8 kB / 1.391 GB, free: 8.52 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004282/1.034, allocations: 152.9 kB / 1.391 GB, free: 8.371 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.034, allocations: 99.92 kB / 1.391 GB, free: 8.273 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.003965/1.038, allocations: 3.496 MB / 1.395 GB, free: 4.781 MB / 1.042 GB Notification: Performance of sort global known variables: time 3.61e-07/1.038, allocations: 0 / 1.395 GB, free: 4.781 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.005106/1.043, allocations: 2.837 MB / 1.397 GB, free: 1.938 MB / 1.042 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.002081/1.045, allocations: 1.312 MB / 1.399 GB, free: 0.7422 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.007425/1.053, allocations: 5.349 MB / 1.404 GB, free: 11.47 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.053, allocations: 0.5 kB / 1.404 GB, free: 11.47 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002625/1.056, allocations: 1.812 MB / 1.406 GB, free: 9.656 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007085/1.063, allocations: 3.082 MB / 1.409 GB, free: 6.898 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/1.075, allocations: 10.65 MB / 1.419 GB, free: 12.25 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/1.078, allocations: 2.606 MB / 1.422 GB, free: 9.617 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.003831/1.081, allocations: 1.338 MB / 1.423 GB, free: 8.379 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007435/1.082, allocations: 451.4 kB / 1.423 GB, free: 7.941 MB / 1.073 GB Notification: Performance of SimCode: time 1.342e-06/1.082, allocations: 4 kB / 1.423 GB, free: 7.938 MB / 1.073 GB Notification: Performance of Templates: time 0.1291/1.211, allocations: 121.3 MB / 1.542 GB, free: 424 kB / 1.182 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.800971444696188] Failed to read output from testmodel.py, exit status != 0: 1.217814558185637 1.225692297 0.385922424 Calling exit ...