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.06992/0.06992, allocations: 9.135 MB / 29.72 MB, free: 356 kB / 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.000892/0.000892, allocations: 91.03 kB / 36.03 MB, free: 0.9688 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.001021/0.001021, allocations: 159.3 kB / 42.45 MB, free: 1.297 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.8777/0.8777, allocations: 177.1 MB / 225.9 MB, free: 8.594 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.003892/0.003892, allocations: 0.8315 MB / 286.3 MB, free: 15.16 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.683/1.683, allocations: 274.9 MB / 0.6065 GB, free: 0.6445 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.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.213e-06/1.213e-06, allocations: 0 / 0.7576 GB, free: 34.61 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.682e-05, allocations: 5.453 kB / 0.7576 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.05987/0.05989, allocations: 49.41 MB / 0.8059 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03368/0.09358, allocations: 22.36 MB / 0.8277 GB, free: 1.605 MB / 0.6512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00614/0.09972, allocations: 367.9 kB / 0.8281 GB, free: 1.414 MB / 0.6512 GB Notification: Performance of NFTyping.typeComponents: time 0.005152/0.1049, allocations: 2.787 MB / 0.8308 GB, free: 184 kB / 0.6512 GB Notification: Performance of NFTyping.typeBindings: time 0.01759/0.1225, allocations: 6.442 MB / 0.8371 GB, free: 12.18 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.01835/0.1408, allocations: 6.33 MB / 0.8433 GB, free: 8.652 MB / 0.6668 GB Notification: Performance of NFFlatten.flatten: time 0.03866/0.1795, allocations: 24.19 MB / 0.8669 GB, free: 4.379 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/0.1912, allocations: 4.767 MB / 0.8715 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02752/0.2187, allocations: 9.081 MB / 0.8804 GB, free: 6.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/0.2302, allocations: 4.105 MB / 0.8844 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002757/0.2329, allocations: 0.6406 MB / 0.885 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005148/0.2381, allocations: 1.756 MB / 0.8868 GB, free: 15.99 MB / 0.7137 GB Notification: Performance of NFScalarize.scalarize: time 0.002783/0.2408, allocations: 2.005 MB / 0.8887 GB, free: 13.98 MB / 0.7137 GB Notification: Performance of NFVerifyModel.verify: time 0.005732/0.2466, allocations: 2.479 MB / 0.8911 GB, free: 11.5 MB / 0.7137 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.2569, allocations: 6.175 MB / 0.8972 GB, free: 5.305 MB / 0.7137 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2569, allocations: 4 kB / 0.8972 GB, free: 5.301 MB / 0.7137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2569, allocations: 0 / 0.8972 GB, free: 5.301 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 0.0002653/0.2572, allocations: 3.938 kB / 0.8972 GB, free: 5.297 MB / 0.7137 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.01069/0.2679, allocations: 7.582 MB / 0.9046 GB, free: 13.6 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.2679, allocations: 8.625 kB / 0.9046 GB, free: 13.59 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/0.2716, allocations: 1.588 MB / 0.9061 GB, free: 12 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009769/0.2813, allocations: 7.239 MB / 0.9132 GB, free: 4.668 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.2815, allocations: 270.7 kB / 0.9135 GB, free: 4.402 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007105/0.2822, allocations: 364 kB / 0.9138 GB, free: 4.047 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/0.2865, allocations: 3.266 MB / 0.917 GB, free: 452 kB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.526e-05/0.2866, allocations: 7.938 kB / 0.917 GB, free: 444 kB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.2868, allocations: 144 kB / 0.9171 GB, free: 300 kB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.2869, allocations: 80 kB / 0.9172 GB, free: 220 kB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.2888, allocations: 1.275 MB / 0.9185 GB, free: 14.91 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.01926/0.3081, allocations: 16.72 MB / 0.9348 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.3099, allocations: 1.295 MB / 0.9361 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008065/0.3107, allocations: 0.649 MB / 0.9367 GB, free: 11.88 MB / 0.7605 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.005662/0.3164, allocations: 3.391 MB / 0.94 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.3175, allocations: 1.152 MB / 0.9411 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=205): time 5.24e-06/0.3175, allocations: 0 / 0.9411 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=205): time 0.005324/0.3228, allocations: 2.664 MB / 0.9437 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.3229, allocations: 136.8 kB / 0.9439 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004611/0.3275, allocations: 4.268 MB / 0.948 GB, free: 16 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.3277, allocations: 69.7 kB / 0.9481 GB, free: 15.94 MB / 0.7762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002353/0.33, allocations: 3.059 MB / 0.9511 GB, free: 12.87 MB / 0.7762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006627/0.3307, allocations: 0.7358 MB / 0.9518 GB, free: 12.12 MB / 0.7762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006376/0.3313, allocations: 0.562 MB / 0.9523 GB, free: 11.55 MB / 0.7762 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3315, allocations: 480.8 kB / 0.9528 GB, free: 11.08 MB / 0.7762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008212/0.3323, allocations: 471.4 kB / 0.9533 GB, free: 10.6 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.334, allocations: 2.535 MB / 0.9557 GB, free: 7.305 MB / 0.7762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.3368, allocations: 2.633 MB / 0.9583 GB, free: 4.176 MB / 0.7762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/0.3369, allocations: 8 kB / 0.9583 GB, free: 4.168 MB / 0.7762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004839/0.3417, allocations: 2.715 MB / 0.961 GB, free: 1.41 MB / 0.7762 GB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/0.3418, allocations: 83.39 kB / 0.961 GB, free: 1.316 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.3418, allocations: 25.36 kB / 0.9611 GB, free: 1.293 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/0.3424, allocations: 241.5 kB / 0.9613 GB, free: 1.055 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.344, allocations: 0.663 MB / 0.9619 GB, free: 400 kB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.3462, allocations: 5.624 MB / 0.9674 GB, free: 10.54 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.3488, allocations: 336.5 kB / 0.9678 GB, free: 10.21 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.349, allocations: 123.9 kB / 0.9679 GB, free: 10.09 MB / 0.7918 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.001896/0.3509, allocations: 0.8067 MB / 0.9687 GB, free: 9.262 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001713/0.3526, allocations: 2.523 MB / 0.9711 GB, free: 5.973 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002812/0.3554, allocations: 2.63 MB / 0.9737 GB, free: 2.852 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.857e-05/0.3554, allocations: 15.92 kB / 0.9737 GB, free: 2.836 MB / 0.7918 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.005/0.3604, allocations: 2.722 MB / 0.9764 GB, free: 76 kB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.3605, allocations: 79.47 kB / 0.9764 GB, free: 15.98 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.3605, allocations: 24 kB / 0.9765 GB, free: 15.96 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/0.361, allocations: 227.9 kB / 0.9767 GB, free: 15.73 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.3623, allocations: 0.624 MB / 0.9773 GB, free: 15.11 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.3638, allocations: 2.921 MB / 0.9801 GB, free: 12.05 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.3664, allocations: 307 kB / 0.9804 GB, free: 11.75 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.3666, allocations: 124 kB / 0.9806 GB, free: 11.63 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: 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.0008465/0.3674, allocations: 0.6895 MB / 0.9812 GB, free: 10.92 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/0.3685, allocations: 0.6292 MB / 0.9818 GB, free: 10.29 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.3723, allocations: 2.543 MB / 0.9843 GB, free: 7.773 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.3723, allocations: 23.98 kB / 0.9843 GB, free: 7.75 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3723, allocations: 4 kB / 0.9844 GB, free: 7.746 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001768/0.374, allocations: 1.594 MB / 0.9859 GB, free: 6.055 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00862/0.3827, allocations: 5.368 MB / 0.9912 GB, free: 0.5742 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3827, allocations: 0 / 0.9912 GB, free: 0.5742 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.3837, allocations: 441.3 kB / 0.9916 GB, free: 148 kB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/0.3842, allocations: 192.5 kB / 0.9918 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/0.3843, allocations: 75.94 kB / 0.9918 GB, free: 15.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.387, allocations: 5.614 MB / 0.9973 GB, free: 10.04 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.387, allocations: 8.219 kB / 0.9973 GB, free: 10.03 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/0.392, allocations: 2.953 MB / 1 GB, free: 6.973 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/0.3943, allocations: 0.9626 MB / 1.001 GB, free: 6.004 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006195/0.3949, allocations: 48 kB / 1.001 GB, free: 5.957 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.3962, allocations: 129.9 kB / 1.001 GB, free: 5.832 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.3963, allocations: 153.6 kB / 1.001 GB, free: 5.684 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.3965, allocations: 87.86 kB / 1.002 GB, free: 5.598 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002671/0.3992, allocations: 2.254 MB / 1.004 GB, free: 3.348 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3992, allocations: 0 / 1.004 GB, free: 3.348 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005044/0.4042, allocations: 2.514 MB / 1.006 GB, free: 0.8281 MB / 0.823 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.0008928/0.4051, allocations: 444.6 kB / 1.007 GB, free: 392 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004775/0.4099, allocations: 3.276 MB / 1.01 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.4099, allocations: 0 / 1.01 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.4114, allocations: 1.118 MB / 1.011 GB, free: 11.82 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009265/0.4207, allocations: 3.174 MB / 1.014 GB, free: 9.012 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.435, allocations: 8.909 MB / 1.023 GB, free: 24 kB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.4361, allocations: 1.051 MB / 1.024 GB, free: 14.95 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.004629/0.4407, allocations: 1.146 MB / 1.025 GB, free: 13.91 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005023/0.4457, allocations: 2.324 MB / 1.027 GB, free: 11.58 MB / 0.8543 GB Notification: Performance of SimCode: time 1.984e-06/0.4457, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.8543 GB Notification: Performance of Templates: time 0.4834/0.9292, allocations: 121.5 MB / 1.146 GB, free: 214.9 MB / 0.9012 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: 8.37779800966382]