Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007448/0.0007448, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008156/0.0008156, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9261/0.9261, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03557/0.03557, allocations: 9.116 MB / 268.3 MB, free: 4.484 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004431/0.0004431, allocations: 23.97 kB / 327.8 MB, free: 20.62 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.533/1.533, allocations: 275 MB / 0.6467 GB, free: 2.492 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.928 GB, free: 8.688 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.582e-05, allocations: 2.281 kB / 0.928 GB, free: 8.684 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.1152/0.1152, allocations: 199 MB / 1.122 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.04836/0.1635, allocations: 44.44 MB / 1.166 GB, free: 4.578 MB / 0.9324 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007478/0.171, allocations: 368.9 kB / 1.166 GB, free: 4.215 MB / 0.9324 GB Notification: Performance of NFTyping.typeComponents: time 0.008089/0.1791, allocations: 4.041 MB / 1.17 GB, free: 156 kB / 0.9324 GB Notification: Performance of NFTyping.typeBindings: time 0.4928/0.6719, allocations: 8.733 MB / 1.178 GB, free: 35.81 MB / 0.9324 GB Notification: Performance of NFTyping.typeClassSections: time 0.01675/0.6886, allocations: 7.388 MB / 1.186 GB, free: 35.59 MB / 0.9324 GB Notification: Performance of NFFlatten.flatten: time 0.0289/0.7175, allocations: 24.52 MB / 1.21 GB, free: 32.36 MB / 0.9324 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0075/0.725, allocations: 4.537 MB / 1.214 GB, free: 31.81 MB / 0.9324 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01912/0.7441, allocations: 10.22 MB / 1.224 GB, free: 30.8 MB / 0.9324 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005818/0.75, allocations: 4.089 MB / 1.228 GB, free: 30.29 MB / 0.9324 GB Notification: Performance of NFPackage.collectConstants: time 0.0008392/0.7508, allocations: 0.6539 MB / 1.229 GB, free: 30.29 MB / 0.9324 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005704/0.7565, allocations: 3.125 MB / 1.232 GB, free: 30.12 MB / 0.9324 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.7576, allocations: 2.01 MB / 1.234 GB, free: 29.76 MB / 0.9324 GB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.7598, allocations: 2.507 MB / 1.236 GB, free: 29.45 MB / 0.9324 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.7713, allocations: 12.42 MB / 1.248 GB, free: 28.42 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7713, allocations: 6.938 kB / 1.248 GB, free: 28.41 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7713, allocations: 7.469 kB / 1.248 GB, free: 28.41 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.0001478/0.7714, allocations: 0 / 1.248 GB, free: 28.41 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 865 * Number of variables: 865 Notification: Performance of Generate backend data structure: time 0.008675/0.7801, allocations: 7.592 MB / 1.256 GB, free: 24.18 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7801, allocations: 12.5 kB / 1.256 GB, free: 24.17 MB / 0.9324 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004043/0.7805, allocations: 461.6 kB / 1.256 GB, free: 24.04 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/0.7837, allocations: 1.474 MB / 1.258 GB, free: 23.34 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008231/0.7919, allocations: 8.598 MB / 1.266 GB, free: 20.57 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.792, allocations: 270.7 kB / 1.266 GB, free: 20.45 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003298/0.7924, allocations: 354.5 kB / 1.267 GB, free: 20.34 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00476/0.7971, allocations: 4.783 MB / 1.271 GB, free: 17.05 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.905e-05/0.7972, allocations: 11.88 kB / 1.271 GB, free: 17.05 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.7974, allocations: 144.2 kB / 1.271 GB, free: 16.94 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.7975, allocations: 82.44 kB / 1.271 GB, free: 16.94 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004583/0.802, allocations: 3.648 MB / 1.275 GB, free: 15.09 MB / 0.9324 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.8168, allocations: 15.92 MB / 1.291 GB, free: 0.7148 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.8199, allocations: 2.285 MB / 1.293 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.8218, allocations: 1.421 MB / 1.294 GB, free: 13.01 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.006105/0.8279, allocations: 4.174 MB / 1.298 GB, free: 8.875 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/0.8299, allocations: 1.899 MB / 1.3 GB, free: 6.852 MB / 0.948 GB Notification: Performance of pre-optimization done (n=205): time 3.817e-06/0.8299, allocations: 0 / 1.3 GB, free: 6.852 MB / 0.948 GB Notification: Performance of matching and sorting (n=205): time 0.008387/0.8383, allocations: 5.007 MB / 1.305 GB, free: 1.801 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.8384, allocations: 140.8 kB / 1.305 GB, free: 1.641 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006123/0.8445, allocations: 5.418 MB / 1.31 GB, free: 12.23 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.8447, allocations: 75.34 kB / 1.311 GB, free: 12.16 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002003/0.8467, allocations: 2.818 MB / 1.313 GB, free: 9.332 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005835/0.8473, allocations: 0.7283 MB / 1.314 GB, free: 8.613 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006069/0.8479, allocations: 0.534 MB / 1.315 GB, free: 8.074 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.848, allocations: 301.1 kB / 1.315 GB, free: 7.777 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.8497, allocations: 1.261 MB / 1.316 GB, free: 6.496 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/0.8522, allocations: 2.978 MB / 1.319 GB, free: 2.922 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02319/0.8754, allocations: 10.23 MB / 1.329 GB, free: 8.426 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.252e-05/0.8754, allocations: 8 kB / 1.329 GB, free: 8.418 MB / 0.9793 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.007195/0.8826, allocations: 4.232 MB / 1.333 GB, free: 4.293 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/0.8826, allocations: 87.31 kB / 1.333 GB, free: 4.195 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.8827, allocations: 24 kB / 1.333 GB, free: 4.172 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/0.8834, allocations: 392.2 kB / 1.334 GB, free: 3.785 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.8849, allocations: 0.7015 MB / 1.334 GB, free: 3.121 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.8872, allocations: 4.194 MB / 1.338 GB, free: 14.75 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.8903, allocations: 437.5 kB / 1.339 GB, free: 14.32 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.8905, allocations: 147.5 kB / 1.339 GB, free: 14.18 MB / 0.9949 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004068/0.8945, allocations: 2.639 MB / 1.341 GB, free: 11.52 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002322/0.8969, allocations: 2.97 MB / 1.344 GB, free: 7.957 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02233/0.9192, allocations: 10.12 MB / 1.354 GB, free: 13.55 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.628e-05/0.9192, allocations: 8 kB / 1.354 GB, free: 13.54 MB / 1.011 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.006636/0.9258, allocations: 4.195 MB / 1.358 GB, free: 9.453 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.9259, allocations: 83.31 kB / 1.358 GB, free: 9.359 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.9259, allocations: 24 kB / 1.358 GB, free: 9.336 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/0.9265, allocations: 369.4 kB / 1.359 GB, free: 8.969 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.9279, allocations: 0.664 MB / 1.359 GB, free: 8.344 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.9296, allocations: 2.415 MB / 1.362 GB, free: 5.816 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/0.9326, allocations: 378.9 kB / 1.362 GB, free: 5.449 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.9328, allocations: 140 kB / 1.362 GB, free: 5.312 MB / 1.011 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 304 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0008119/0.9336, allocations: 0.6082 MB / 1.363 GB, free: 4.719 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006447/0.9343, allocations: 0.586 MB / 1.363 GB, free: 4.129 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006588/0.9408, allocations: 4.453 MB / 1.368 GB, free: 15.7 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/0.9409, allocations: 27.98 kB / 1.368 GB, free: 15.67 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9409, allocations: 0 / 1.368 GB, free: 15.67 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004425/0.9453, allocations: 3.463 MB / 1.371 GB, free: 12.08 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.9578, allocations: 8.404 MB / 1.379 GB, free: 3.645 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.9578, allocations: 4 kB / 1.379 GB, free: 3.641 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.959, allocations: 475.2 kB / 1.38 GB, free: 3.195 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006198/0.9596, allocations: 331.2 kB / 1.38 GB, free: 2.867 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.9597, allocations: 71.95 kB / 1.38 GB, free: 2.797 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.962, allocations: 4.223 MB / 1.384 GB, free: 14.39 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.962, allocations: 8 kB / 1.384 GB, free: 14.38 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007916/0.9699, allocations: 5.84 MB / 1.39 GB, free: 8.426 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002054/0.972, allocations: 1.003 MB / 1.391 GB, free: 7.422 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000448/0.9724, allocations: 55.92 kB / 1.391 GB, free: 7.367 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.9738, allocations: 191.8 kB / 1.391 GB, free: 7.18 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.974, allocations: 149.7 kB / 1.391 GB, free: 7.031 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.9741, allocations: 99.92 kB / 1.392 GB, free: 6.934 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.004782/0.9789, allocations: 3.703 MB / 1.395 GB, free: 3.242 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.9789, allocations: 0 / 1.395 GB, free: 3.242 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.005296/0.9842, allocations: 2.783 MB / 1.398 GB, free: 464 kB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009117/0.9933, allocations: 7.513 MB / 1.405 GB, free: 8.949 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.007638/1.001, allocations: 5.347 MB / 1.41 GB, free: 3.672 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/1.001, allocations: 3.75 kB / 1.41 GB, free: 3.672 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002355/1.003, allocations: 1.813 MB / 1.412 GB, free: 1.855 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008215/1.012, allocations: 3.305 MB / 1.415 GB, free: 14.9 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05574/1.067, allocations: 39.67 MB / 1.454 GB, free: 6.402 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/1.069, allocations: 2.608 MB / 1.457 GB, free: 3.762 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.004733/1.074, allocations: 1.385 MB / 1.458 GB, free: 2.484 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002564/1.077, allocations: 2.612 MB / 1.461 GB, free: 15.87 MB / 1.12 GB Notification: Performance of SimCode: time 1.022e-06/1.077, allocations: 4 kB / 1.461 GB, free: 15.87 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6781/1.755, allocations: 180.2 MB / 1.637 GB, free: 358.7 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/16.98, allocations: 5.016 kB / 1.637 GB, free: 358.7 MB / 1.276 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 60 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.20526854880154] Failed to read output from testmodel.py, exit status != 0: 17.153835890814662 17.165301813 16.391954032 Calling exit ...