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.04388/0.04388, allocations: 9.134 MB / 19.04 MB, free: 0.6602 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.007116/0.051, allocations: 3.425 MB / 22.46 MB, free: 3.73 MB / 24.77 MB " [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.0006922/0.0006922, allocations: 86.77 kB / 23.3 MB, free: 2.902 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.001978, allocations: 443.8 kB / 23.74 MB, free: 2.465 MB / 24.77 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.0007124/0.0007124, allocations: 152.8 kB / 24.64 MB, free: 1.562 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001725, allocations: 478.6 kB / 25.11 MB, free: 1.094 MB / 24.77 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.9037/0.9037, allocations: 177.2 MB / 203 MB, free: 8.242 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1619/1.066, allocations: 53.66 MB / 256.7 MB, free: 5.301 MB / 250.7 MB " [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.003675/0.003675, allocations: 0.836 MB / 258.3 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001918/0.005593, allocations: 0.6619 MB / 259 MB, free: 3.168 MB / 250.7 MB " [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.744/1.744, allocations: 275 MB / 0.5222 GB, free: 0.9961 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1393/1.883, allocations: 78.89 MB / 0.5992 GB, free: 2.113 MB / 0.573 GB " [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.834e-06/1.834e-06, allocations: 0 / 0.6006 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.737e-05, allocations: 2.312 kB / 0.6006 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.03545/0.03547, allocations: 49.76 MB / 0.6491 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03873/0.0742, allocations: 23.14 MB / 0.6717 GB, free: 7.664 MB / 0.6512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009095/0.08329, allocations: 368.9 kB / 0.6721 GB, free: 7.301 MB / 0.6512 GB Notification: Performance of NFTyping.typeComponents: time 0.007985/0.09128, allocations: 2.792 MB / 0.6748 GB, free: 4.496 MB / 0.6512 GB Notification: Performance of NFTyping.typeBindings: time 0.01422/0.1055, allocations: 6.431 MB / 0.6811 GB, free: 14.03 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.1159, allocations: 6.2 MB / 0.6872 GB, free: 7.832 MB / 0.6668 GB Notification: Performance of NFFlatten.flatten: time 0.02655/0.1425, allocations: 23.39 MB / 0.71 GB, free: 400 kB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008235/0.1507, allocations: 4.797 MB / 0.7147 GB, free: 11.54 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02003/0.1707, allocations: 9.456 MB / 0.7239 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008213/0.1789, allocations: 3.882 MB / 0.7277 GB, free: 14.15 MB / 0.7137 GB Notification: Performance of NFPackage.collectConstants: time 0.002205/0.1811, allocations: 0.6406 MB / 0.7283 GB, free: 13.51 MB / 0.7137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005703/0.1868, allocations: 1.806 MB / 0.7301 GB, free: 11.7 MB / 0.7137 GB Notification: Performance of NFScalarize.scalarize: time 0.002239/0.1891, allocations: 1.717 MB / 0.7318 GB, free: 9.98 MB / 0.7137 GB Notification: Performance of NFVerifyModel.verify: time 0.004942/0.194, allocations: 2.152 MB / 0.7339 GB, free: 7.824 MB / 0.7137 GB Notification: Performance of NFConvertDAE.convert: time 0.009533/0.2036, allocations: 5.774 MB / 0.7395 GB, free: 2.031 MB / 0.7137 GB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.2036, allocations: 0 / 0.7395 GB, free: 2.031 MB / 0.7137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2036, allocations: 0 / 0.7395 GB, free: 2.031 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 0.0002681/0.2038, allocations: 0 / 0.7395 GB, free: 2.031 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.01116/0.215, allocations: 8.665 MB / 0.748 GB, free: 9.242 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.215, allocations: 12.03 kB / 0.748 GB, free: 9.23 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.2181, allocations: 1.291 MB / 0.7493 GB, free: 7.938 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009412/0.2275, allocations: 4.935 MB / 0.7541 GB, free: 2.895 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.2277, allocations: 270.7 kB / 0.7543 GB, free: 2.629 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005367/0.2282, allocations: 371.9 kB / 0.7547 GB, free: 2.266 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/0.2323, allocations: 3.226 MB / 0.7578 GB, free: 14.75 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.717e-05/0.2324, allocations: 3.938 kB / 0.7578 GB, free: 14.74 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.2326, allocations: 144 kB / 0.758 GB, free: 14.6 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-05/0.2327, allocations: 88 kB / 0.7581 GB, free: 14.52 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.2344, allocations: 1.15 MB / 0.7592 GB, free: 13.33 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.01813/0.2526, allocations: 11.99 MB / 0.7709 GB, free: 1.02 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.2542, allocations: 1.236 MB / 0.7721 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007426/0.255, allocations: 0.61 MB / 0.7727 GB, free: 15.14 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.006268/0.2613, allocations: 2.703 MB / 0.7753 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.2623, allocations: 1.153 MB / 0.7765 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=205): time 4.047e-06/0.2623, allocations: 4 kB / 0.7765 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of matching and sorting (n=205): time 0.00394/0.2663, allocations: 2.08 MB / 0.7785 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/0.2665, allocations: 299 kB / 0.7788 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004463/0.2709, allocations: 4.047 MB / 0.7827 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002961/0.2712, allocations: 69.7 kB / 0.7828 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.2725, allocations: 1.746 MB / 0.7845 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007144/0.2732, allocations: 0.7319 MB / 0.7852 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005294/0.2737, allocations: 0.5322 MB / 0.7857 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2739, allocations: 301.1 kB / 0.786 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008167/0.2747, allocations: 467.6 kB / 0.7865 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3355/0.6101, allocations: 2.143 MB / 0.7886 GB, free: 100 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/0.6135, allocations: 2.447 MB / 0.791 GB, free: 98.9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/0.6135, allocations: 11.91 kB / 0.791 GB, free: 98.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003923/0.6174, allocations: 1.999 MB / 0.7929 GB, free: 98.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/0.6175, allocations: 84.03 kB / 0.793 GB, free: 98.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/0.6175, allocations: 24.41 kB / 0.793 GB, free: 98.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/0.6182, allocations: 231.4 kB / 0.7932 GB, free: 98.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.62, allocations: 0.7628 MB / 0.794 GB, free: 98.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.6216, allocations: 3.753 MB / 0.7977 GB, free: 95.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.6242, allocations: 337.7 kB / 0.798 GB, free: 95.08 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/0.6245, allocations: 113 kB / 0.7981 GB, free: 95.08 MB / 0.7605 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.002111/0.6266, allocations: 0.7565 MB / 0.7988 GB, free: 94.86 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00133/0.628, allocations: 2.149 MB / 0.8009 GB, free: 92.76 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003201/0.6312, allocations: 2.433 MB / 0.8033 GB, free: 91.65 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.135e-05/0.6312, allocations: 7.562 kB / 0.8033 GB, free: 91.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.004013/0.6352, allocations: 2.003 MB / 0.8053 GB, free: 91.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.6352, allocations: 83.73 kB / 0.8053 GB, free: 91.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.6353, allocations: 24.03 kB / 0.8054 GB, free: 91.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/0.6358, allocations: 217 kB / 0.8056 GB, free: 91.35 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.6375, allocations: 0.7471 MB / 0.8063 GB, free: 91.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009389/0.6384, allocations: 2 MB / 0.8083 GB, free: 89.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.641, allocations: 314.1 kB / 0.8086 GB, free: 89.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.6413, allocations: 111.5 kB / 0.8087 GB, free: 89.57 MB / 0.7605 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.0009178/0.6422, allocations: 0.6 MB / 0.8092 GB, free: 89.26 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009733/0.6431, allocations: 381.2 kB / 0.8096 GB, free: 89.26 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/0.6466, allocations: 2.191 MB / 0.8117 GB, free: 88.97 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.6466, allocations: 29.42 kB / 0.8118 GB, free: 88.97 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6466, allocations: 0 / 0.8118 GB, free: 88.97 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/0.6478, allocations: 1.252 MB / 0.813 GB, free: 88.45 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00768/0.6555, allocations: 4.325 MB / 0.8172 GB, free: 87.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.6555, allocations: 0 / 0.8172 GB, free: 87.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.6565, allocations: 495.4 kB / 0.8177 GB, free: 87.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/0.6586, allocations: 0.7159 MB / 0.8184 GB, free: 87.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.6591, allocations: 187.6 kB / 0.8186 GB, free: 87.89 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.6592, allocations: 60.92 kB / 0.8186 GB, free: 87.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.6606, allocations: 3.737 MB / 0.8223 GB, free: 84.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.6606, allocations: 3.062 kB / 0.8223 GB, free: 84.35 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/0.665, allocations: 2.345 MB / 0.8246 GB, free: 83.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/0.6662, allocations: 51.08 kB / 0.8246 GB, free: 83.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/0.6683, allocations: 131.3 kB / 0.8247 GB, free: 83.78 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.6685, allocations: 143.2 kB / 0.8249 GB, free: 83.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/0.6686, allocations: 77.62 kB / 0.825 GB, free: 83.77 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002832/0.6715, allocations: 2.155 MB / 0.8271 GB, free: 83.58 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6715, allocations: 0 / 0.8271 GB, free: 83.58 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007107/0.6786, allocations: 2.51 MB / 0.8295 GB, free: 83.58 MB / 0.7605 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.0009783/0.6796, allocations: 439.4 kB / 0.8299 GB, free: 83.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005321/0.6849, allocations: 3.137 MB / 0.833 GB, free: 82.71 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 0.0001611/0.685, allocations: 80.36 kB / 0.8331 GB, free: 82.7 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.6871, allocations: 1.259 MB / 0.8343 GB, free: 82.36 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01282/0.6999, allocations: 23.81 MB / 0.8576 GB, free: 58.47 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/0.7255, allocations: 8.718 MB / 0.8661 GB, free: 54.56 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009931/0.7265, allocations: 1.012 MB / 0.8671 GB, free: 54.39 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004289/0.7308, allocations: 1.15 MB / 0.8682 GB, free: 54.06 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004323/0.7351, allocations: 1.996 MB / 0.8701 GB, free: 53.93 MB / 0.7605 GB Notification: Performance of SimCode: time 1.603e-06/0.7351, allocations: 2.734 kB / 0.8701 GB, free: 53.93 MB / 0.7605 GB Notification: Performance of Templates: time 0.1373/0.8724, allocations: 128 MB / 0.9951 GB, free: 14.5 MB / 0.8387 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.637813056819141]