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/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.03961/0.03961, allocations: 9.137 MB / 28.7 MB, free: 0.5352 MB / 18.57 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/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.0009309/0.0009309, allocations: 87.31 kB / 34.99 MB, free: 1.129 MB / 24.77 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/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.001017/0.001017, allocations: 166.1 kB / 41.38 MB, free: 1.469 MB / 24.77 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/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.921/0.921, allocations: 177.1 MB / 224.8 MB, free: 8.699 MB / 202.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 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.00387/0.00387, allocations: 0.8267 MB / 285.2 MB, free: 15.32 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.602/1.602, allocations: 274.9 MB / 0.6054 GB, free: 15.59 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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.433e-06/1.433e-06, allocations: 0 / 0.7563 GB, free: 8.918 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/2.965e-05, allocations: 6.391 kB / 0.7563 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.05458/0.05461, allocations: 50.48 MB / 0.8056 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.036/0.09061, allocations: 22.48 MB / 0.8276 GB, free: 15.17 MB / 0.6668 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008767/0.09938, allocations: 368.9 kB / 0.8279 GB, free: 14.8 MB / 0.6668 GB Notification: Performance of NFTyping.typeComponents: time 0.00812/0.1075, allocations: 2.783 MB / 0.8306 GB, free: 12.01 MB / 0.6668 GB Notification: Performance of NFTyping.typeBindings: time 0.01449/0.122, allocations: 6.427 MB / 0.8369 GB, free: 5.547 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/0.1336, allocations: 6.315 MB / 0.8431 GB, free: 15.23 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.02591/0.1595, allocations: 24.26 MB / 0.8668 GB, free: 6.918 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008195/0.1677, allocations: 4.778 MB / 0.8714 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01629/0.184, allocations: 9.078 MB / 0.8803 GB, free: 9.016 MB / 0.7137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007657/0.1917, allocations: 4.1 MB / 0.8843 GB, free: 4.91 MB / 0.7137 GB Notification: Performance of NFPackage.collectConstants: time 0.002286/0.194, allocations: 0.6445 MB / 0.8849 GB, free: 4.266 MB / 0.7137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005179/0.1991, allocations: 1.759 MB / 0.8867 GB, free: 2.504 MB / 0.7137 GB Notification: Performance of NFScalarize.scalarize: time 0.002614/0.2017, allocations: 2.005 MB / 0.8886 GB, free: 0.4922 MB / 0.7137 GB Notification: Performance of NFVerifyModel.verify: time 0.005472/0.2072, allocations: 2.479 MB / 0.891 GB, free: 14.01 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.009721/0.2169, allocations: 6.183 MB / 0.8971 GB, free: 7.805 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.2169, allocations: 0 / 0.8971 GB, free: 7.805 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2169, allocations: 0 / 0.8971 GB, free: 7.805 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 0.0002337/0.2172, allocations: 0 / 0.8971 GB, free: 7.805 MB / 0.7293 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.009917/0.2271, allocations: 7.532 MB / 0.9044 GB, free: 160 kB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2271, allocations: 8.625 kB / 0.9044 GB, free: 152 kB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/0.2306, allocations: 1.584 MB / 0.906 GB, free: 14.55 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008543/0.2391, allocations: 7.36 MB / 0.9132 GB, free: 7.109 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.2393, allocations: 266.7 kB / 0.9134 GB, free: 6.848 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004308/0.2397, allocations: 375.9 kB / 0.9138 GB, free: 6.48 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004671/0.2444, allocations: 3.493 MB / 0.9172 GB, free: 2.648 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-05/0.2445, allocations: 7.938 kB / 0.9172 GB, free: 2.641 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003541/0.2448, allocations: 144 kB / 0.9173 GB, free: 2.5 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.2449, allocations: 80 kB / 0.9174 GB, free: 2.422 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.2477, allocations: 1.555 MB / 0.9189 GB, free: 0.8438 MB / 0.7449 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.01996/0.2676, allocations: 16.6 MB / 0.9351 GB, free: 15.87 MB / 0.7762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.2699, allocations: 1.426 MB / 0.9365 GB, free: 14.45 MB / 0.7762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.271, allocations: 0.7428 MB / 0.9373 GB, free: 13.69 MB / 0.7762 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.005985/0.277, allocations: 3.418 MB / 0.9406 GB, free: 10.24 MB / 0.7762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.2783, allocations: 1.226 MB / 0.9418 GB, free: 8.887 MB / 0.7762 GB Notification: Performance of pre-optimization done (n=205): time 5.039e-06/0.2783, allocations: 0 / 0.9418 GB, free: 8.887 MB / 0.7762 GB Notification: Performance of matching and sorting (n=205): time 0.006309/0.2846, allocations: 2.918 MB / 0.9446 GB, free: 5.918 MB / 0.7762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.2847, allocations: 136.8 kB / 0.9448 GB, free: 5.758 MB / 0.7762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007085/0.2917, allocations: 4.353 MB / 0.949 GB, free: 1.387 MB / 0.7762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003465/0.2921, allocations: 73.7 kB / 0.9491 GB, free: 1.309 MB / 0.7762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002653/0.2947, allocations: 3.013 MB / 0.952 GB, free: 14.28 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009197/0.2957, allocations: 0.7242 MB / 0.9527 GB, free: 13.55 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007665/0.2964, allocations: 0.5466 MB / 0.9533 GB, free: 13 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2965, allocations: 480.8 kB / 0.9537 GB, free: 12.52 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.2976, allocations: 0.5073 MB / 0.9542 GB, free: 12 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.2997, allocations: 2.57 MB / 0.9567 GB, free: 8.664 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/0.3036, allocations: 2.751 MB / 0.9594 GB, free: 5.418 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/0.3037, allocations: 8 kB / 0.9594 GB, free: 5.41 MB / 0.7918 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005878/0.3095, allocations: 2.855 MB / 0.9622 GB, free: 2.512 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 7.598e-05/0.3096, allocations: 79.39 kB / 0.9623 GB, free: 2.422 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/0.3096, allocations: 27.98 kB / 0.9623 GB, free: 2.395 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007583/0.3104, allocations: 247.7 kB / 0.9626 GB, free: 2.145 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/0.3123, allocations: 0.6669 MB / 0.9632 GB, free: 1.477 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.3151, allocations: 5.668 MB / 0.9688 GB, free: 11.57 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/0.3179, allocations: 342.2 kB / 0.9691 GB, free: 11.23 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/0.3181, allocations: 143.9 kB / 0.9692 GB, free: 11.09 MB / 0.8074 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.steBal.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.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.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.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.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.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.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.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.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.002228/0.3203, allocations: 0.8554 MB / 0.9701 GB, free: 10.21 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002171/0.3225, allocations: 2.558 MB / 0.9725 GB, free: 6.895 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003638/0.3262, allocations: 2.735 MB / 0.9752 GB, free: 3.668 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.587e-05/0.3262, allocations: 8 kB / 0.9752 GB, free: 3.66 MB / 0.8074 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.005601/0.3318, allocations: 2.843 MB / 0.978 GB, free: 0.7734 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.3318, allocations: 75.39 kB / 0.9781 GB, free: 0.6875 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.3319, allocations: 24 kB / 0.9781 GB, free: 0.6641 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.3324, allocations: 251.5 kB / 0.9783 GB, free: 420 kB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.3344, allocations: 0.6202 MB / 0.9789 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.3361, allocations: 2.961 MB / 0.9818 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/0.3388, allocations: 314.9 kB / 0.9821 GB, free: 12.37 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.3391, allocations: 139.9 kB / 0.9823 GB, free: 12.23 MB / 0.823 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.steBal.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.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.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.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.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.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.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.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.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.0009554/0.34, allocations: 0.6868 MB / 0.9829 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/0.3415, allocations: 0.6214 MB / 0.9835 GB, free: 10.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/0.3466, allocations: 2.73 MB / 0.9862 GB, free: 8.195 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.3466, allocations: 27.92 kB / 0.9862 GB, free: 8.168 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3466, allocations: 0 / 0.9862 GB, free: 8.168 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002125/0.3487, allocations: 1.793 MB / 0.988 GB, free: 6.277 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.3595, allocations: 6.355 MB / 0.9942 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.3595, allocations: 0 / 0.9942 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.3606, allocations: 435.6 kB / 0.9946 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/0.361, allocations: 205 kB / 0.9948 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.3612, allocations: 71.95 kB / 0.9949 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.3635, allocations: 5.671 MB / 1 GB, free: 9.18 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3635, allocations: 7.938 kB / 1 GB, free: 9.172 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004976/0.3684, allocations: 3.256 MB / 1.004 GB, free: 5.812 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/0.3707, allocations: 0.9704 MB / 1.005 GB, free: 4.836 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007799/0.3714, allocations: 55.94 kB / 1.005 GB, free: 4.781 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.3729, allocations: 119.9 kB / 1.005 GB, free: 4.664 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.3731, allocations: 149.7 kB / 1.005 GB, free: 4.52 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/0.3733, allocations: 103.9 kB / 1.005 GB, free: 4.418 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.004872/0.3781, allocations: 2.446 MB / 1.007 GB, free: 1.977 MB / 0.8387 GB Notification: Performance of sort global known variables: time 4.4e-07/0.3781, allocations: 0 / 1.007 GB, free: 1.977 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.006949/0.3851, allocations: 2.518 MB / 1.01 GB, free: 15.45 MB / 0.8543 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 (207): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 19 * 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.0009979/0.3861, allocations: 446.8 kB / 1.01 GB, free: 15.01 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.005669/0.3918, allocations: 3.471 MB / 1.014 GB, free: 11.42 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3918, allocations: 0 / 1.014 GB, free: 11.42 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.3936, allocations: 1.206 MB / 1.015 GB, free: 10.16 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009801/0.4034, allocations: 3.183 MB / 1.018 GB, free: 7.297 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.4169, allocations: 8.928 MB / 1.027 GB, free: 14.25 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.4179, allocations: 1.036 MB / 1.028 GB, free: 13.19 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 0.00461/0.4225, allocations: 1.252 MB / 1.029 GB, free: 12.01 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.4236, allocations: 448.3 kB / 1.029 GB, free: 11.57 MB / 0.8699 GB Notification: Performance of SimCode: time 2.474e-06/0.4236, allocations: 0 / 1.029 GB, free: 11.57 MB / 0.8699 GB Notification: Performance of Templates: time 0.4536/0.8772, allocations: 117.7 MB / 1.144 GB, free: 145.3 MB / 0.8699 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=240 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.927879531402141]