Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.053/0.053, allocations: 9.139 MB / 28.93 MB, free: 0.8516 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.001156/0.001156, allocations: 90.42 kB / 35.24 MB, free: 1.125 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.001174/0.001174, allocations: 161.2 kB / 41.66 MB, free: 1.316 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.9198/0.9198, allocations: 177.1 MB / 225.1 MB, free: 5.547 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.003972/0.003972, allocations: 0.8309 MB / 285.5 MB, free: 14.73 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.617/1.617, allocations: 274.9 MB / 0.6057 GB, free: 15.46 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.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7568 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.686e-05, allocations: 4.984 kB / 0.7568 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.04309/0.04312, allocations: 55.8 MB / 0.8113 GB, free: 15.66 MB / 0.6512 GB Notification: Performance of NFInst.instExpressions: time 0.03935/0.08247, allocations: 23.76 MB / 0.8345 GB, free: 8.211 MB / 0.6668 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01079/0.09326, allocations: 404.6 kB / 0.8349 GB, free: 7.812 MB / 0.6668 GB Notification: Performance of NFTyping.typeComponents: time 0.009663/0.1029, allocations: 2.924 MB / 0.8378 GB, free: 4.871 MB / 0.6668 GB Notification: Performance of NFTyping.typeBindings: time 0.01587/0.1188, allocations: 6.774 MB / 0.8444 GB, free: 14.06 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0126/0.1314, allocations: 6.482 MB / 0.8507 GB, free: 7.582 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.02745/0.1588, allocations: 24.84 MB / 0.875 GB, free: 14.69 MB / 0.7137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008453/0.1673, allocations: 5.072 MB / 0.8799 GB, free: 9.512 MB / 0.7137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01705/0.1843, allocations: 9.495 MB / 0.8892 GB, free: 68 kB / 0.7137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007757/0.1921, allocations: 4.228 MB / 0.8933 GB, free: 11.83 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 0.001655/0.1938, allocations: 0.6797 MB / 0.894 GB, free: 11.15 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.1983, allocations: 1.81 MB / 0.8958 GB, free: 9.34 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.2001, allocations: 2.098 MB / 0.8978 GB, free: 7.234 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.004518/0.2046, allocations: 2.592 MB / 0.9003 GB, free: 4.637 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.009763/0.2144, allocations: 6.463 MB / 0.9067 GB, free: 14.15 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2144, allocations: 4 kB / 0.9067 GB, free: 14.15 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2144, allocations: 0 / 0.9067 GB, free: 14.15 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 0.0001432/0.2145, allocations: 0 / 0.9067 GB, free: 14.15 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 921 * Number of variables: 921 Notification: Performance of Generate backend data structure: time 0.01029/0.2248, allocations: 8.082 MB / 0.9145 GB, free: 5.941 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.2248, allocations: 12.03 kB / 0.9146 GB, free: 5.93 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004113/0.229, allocations: 1.709 MB / 0.9162 GB, free: 4.215 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.2393, allocations: 7.786 MB / 0.9238 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.2395, allocations: 295.1 kB / 0.9241 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005054/0.24, allocations: 388 kB / 0.9245 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004957/0.245, allocations: 3.63 MB / 0.928 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-05/0.2451, allocations: 11.88 kB / 0.928 GB, free: 7.57 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.2453, allocations: 156 kB / 0.9282 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/0.2454, allocations: 92 kB / 0.9283 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.2477, allocations: 1.323 MB / 0.9296 GB, free: 5.977 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 removeSimpleEquations (simulation): time 0.02506/0.2728, allocations: 20.14 MB / 0.9492 GB, free: 1.359 MB / 0.7762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.2746, allocations: 1.195 MB / 0.9504 GB, free: 172 kB / 0.7762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/0.2753, allocations: 0.5187 MB / 0.9509 GB, free: 15.63 MB / 0.7918 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.005851/0.2811, allocations: 3.372 MB / 0.9542 GB, free: 12.26 MB / 0.7918 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.2826, allocations: 1.279 MB / 0.9554 GB, free: 10.82 MB / 0.7918 GB Notification: Performance of pre-optimization done (n=182): time 3.316e-06/0.2826, allocations: 4 kB / 0.9555 GB, free: 10.82 MB / 0.7918 GB Notification: Performance of matching and sorting (n=182): time 0.005952/0.2885, allocations: 2.897 MB / 0.9583 GB, free: 7.871 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.2886, allocations: 191.5 kB / 0.9585 GB, free: 7.648 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005449/0.2941, allocations: 4.592 MB / 0.9629 GB, free: 3.062 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.0003501/0.2944, allocations: 69.7 kB / 0.963 GB, free: 2.988 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.00244/0.2969, allocations: 3.366 MB / 0.9663 GB, free: 15.6 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006789/0.2975, allocations: 0.6506 MB / 0.9669 GB, free: 14.94 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006097/0.2982, allocations: 0.5775 MB / 0.9675 GB, free: 14.36 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2983, allocations: 480.8 kB / 0.968 GB, free: 13.88 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/0.299, allocations: 435.2 kB / 0.9684 GB, free: 13.44 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.3009, allocations: 3.076 MB / 0.9714 GB, free: 9.387 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.3034, allocations: 2.687 MB / 0.974 GB, free: 6.109 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.3034, allocations: 8 kB / 0.974 GB, free: 6.102 MB / 0.8074 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.004717/0.3081, allocations: 2.754 MB / 0.9767 GB, free: 3.309 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.3082, allocations: 87.64 kB / 0.9768 GB, free: 3.211 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.3082, allocations: 28 kB / 0.9768 GB, free: 3.184 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008011/0.309, allocations: 412.5 kB / 0.9772 GB, free: 2.773 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.3102, allocations: 0.6084 MB / 0.9778 GB, free: 2.164 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.312, allocations: 3.677 MB / 0.9814 GB, free: 14.37 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.3144, allocations: 354.3 kB / 0.9817 GB, free: 14.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.3145, allocations: 132 kB / 0.9818 GB, free: 13.89 MB / 0.823 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002094/0.3166, allocations: 0.733 MB / 0.9826 GB, free: 13.14 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002028/0.3187, allocations: 3.064 MB / 0.9856 GB, free: 9.098 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002971/0.3216, allocations: 2.667 MB / 0.9882 GB, free: 5.844 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.494e-05/0.3217, allocations: 8 kB / 0.9882 GB, free: 5.836 MB / 0.823 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.004504/0.3262, allocations: 2.745 MB / 0.9909 GB, free: 3.047 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.3262, allocations: 84.33 kB / 0.9909 GB, free: 2.953 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.3262, allocations: 28.12 kB / 0.991 GB, free: 2.926 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006879/0.3269, allocations: 387 kB / 0.9913 GB, free: 2.539 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.328, allocations: 0.5772 MB / 0.9919 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009695/0.3289, allocations: 1.869 MB / 0.9937 GB, free: 32 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/0.3316, allocations: 323.4 kB / 0.994 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.3318, allocations: 124 kB / 0.9941 GB, free: 15.59 MB / 0.8387 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * 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 (298): * Single equations (assignments): 290 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007245/0.3325, allocations: 0.6621 MB / 0.9948 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008642/0.3334, allocations: 0.6446 MB / 0.9954 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.3369, allocations: 2.459 MB / 0.9978 GB, free: 11.8 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.3369, allocations: 27.97 kB / 0.9978 GB, free: 11.77 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3369, allocations: 4 kB / 0.9979 GB, free: 11.77 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001766/0.3387, allocations: 1.313 MB / 0.9991 GB, free: 10.41 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009338/0.348, allocations: 5.628 MB / 1.005 GB, free: 4.664 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.348, allocations: 4 kB / 1.005 GB, free: 4.66 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.3488, allocations: 351.9 kB / 1.005 GB, free: 4.316 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000644/0.3494, allocations: 342.2 kB / 1.005 GB, free: 3.977 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.3495, allocations: 63.95 kB / 1.005 GB, free: 3.914 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.3515, allocations: 3.702 MB / 1.009 GB, free: 92 kB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3515, allocations: 4 kB / 1.009 GB, free: 88 kB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/0.3565, allocations: 3.203 MB / 1.012 GB, free: 12.77 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/0.3587, allocations: 0.9897 MB / 1.013 GB, free: 11.78 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005954/0.3593, allocations: 51.86 kB / 1.013 GB, free: 11.73 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.3606, allocations: 127.9 kB / 1.013 GB, free: 11.6 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3608, allocations: 133.8 kB / 1.013 GB, free: 11.47 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.3609, allocations: 79.94 kB / 1.013 GB, free: 11.39 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.002743/0.3636, allocations: 2.417 MB / 1.016 GB, free: 8.988 MB / 0.8543 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3636, allocations: 0 / 1.016 GB, free: 8.988 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.00488/0.3685, allocations: 2.615 MB / 1.018 GB, free: 6.367 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * 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 (168): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007964/0.3693, allocations: 456.5 kB / 1.019 GB, free: 5.91 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.004025/0.3733, allocations: 2.858 MB / 1.022 GB, free: 2.973 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.3733, allocations: 4 kB / 1.022 GB, free: 2.969 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.3748, allocations: 0.892 MB / 1.022 GB, free: 2.043 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00704/0.3818, allocations: 3.168 MB / 1.026 GB, free: 15.19 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.3937, allocations: 8.984 MB / 1.034 GB, free: 6.074 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008914/0.3946, allocations: 1.073 MB / 1.035 GB, free: 4.984 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 0.003711/0.3983, allocations: 1.068 MB / 1.036 GB, free: 3.965 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004649/0.403, allocations: 2.32 MB / 1.039 GB, free: 1.641 MB / 0.8699 GB Notification: Performance of SimCode: time 2.134e-06/0.403, allocations: 0 / 1.039 GB, free: 1.641 MB / 0.8699 GB Notification: Performance of Templates: time 0.4439/0.8469, allocations: 119.8 MB / 1.156 GB, free: 132.4 MB / 0.8699 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.70192787097767]