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/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.001077/0.001077, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001253/0.001253, 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.9182/0.9182, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03672/0.03672, allocations: 9.118 MB / 268.3 MB, free: 4.496 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.0004462/0.0004462, allocations: 31.39 kB / 327.8 MB, free: 5.812 MB / 298.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.602/1.602, allocations: 275 MB / 0.6467 GB, free: 2.84 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.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.928 GB, free: 21.14 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.397e-05, allocations: 4.469 kB / 0.928 GB, free: 21.13 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.1451/0.1451, allocations: 221.2 MB / 1.144 GB, free: 2.086 MB / 0.9012 GB Notification: Performance of NFInst.instExpressions: time 0.05021/0.1953, allocations: 47.57 MB / 1.19 GB, free: 2.391 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01118/0.2065, allocations: 400.6 kB / 1.191 GB, free: 1.996 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01064/0.2171, allocations: 4.337 MB / 1.195 GB, free: 13.64 MB / 0.9637 GB Notification: Performance of NFTyping.typeBindings: time 0.01907/0.2362, allocations: 9.559 MB / 1.204 GB, free: 4.035 MB / 0.9637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.2498, allocations: 7.133 MB / 1.211 GB, free: 12.96 MB / 0.9793 GB Notification: Performance of NFFlatten.flatten: time 0.02743/0.2773, allocations: 25.2 MB / 1.236 GB, free: 3.707 MB / 0.9949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007982/0.2852, allocations: 4.836 MB / 1.241 GB, free: 14.77 MB / 1.011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01814/0.3034, allocations: 10.67 MB / 1.251 GB, free: 4.102 MB / 1.011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007008/0.3104, allocations: 4.237 MB / 1.255 GB, free: 15.85 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.3121, allocations: 0.6953 MB / 1.256 GB, free: 15.16 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006848/0.3189, allocations: 3.197 MB / 1.259 GB, free: 11.95 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.3209, allocations: 2.102 MB / 1.261 GB, free: 9.844 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.005071/0.326, allocations: 2.63 MB / 1.264 GB, free: 7.207 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.4845/0.8106, allocations: 13.09 MB / 1.276 GB, free: 91.91 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.8106, allocations: 0.7812 kB / 1.276 GB, free: 91.91 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8106, allocations: 0 / 1.276 GB, free: 91.91 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0007303/0.8113, allocations: 0.5 kB / 1.276 GB, free: 91.91 MB / 1.026 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.02655/0.8378, allocations: 8.093 MB / 1.284 GB, free: 88.46 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.8379, allocations: 10.06 kB / 1.284 GB, free: 88.46 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001766/0.8397, allocations: 494.3 kB / 1.285 GB, free: 88.41 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00605/0.8457, allocations: 1.599 MB / 1.286 GB, free: 87.98 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0177/0.8634, allocations: 9.101 MB / 1.295 GB, free: 86.67 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003693/0.8638, allocations: 292.3 kB / 1.296 GB, free: 86.66 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.8651, allocations: 374.2 kB / 1.296 GB, free: 86.66 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007967/0.8731, allocations: 5.186 MB / 1.301 GB, free: 85.26 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.906e-05/0.8731, allocations: 14.64 kB / 1.301 GB, free: 85.26 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/0.8735, allocations: 154.7 kB / 1.301 GB, free: 85.26 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.692e-05/0.8736, allocations: 92.97 kB / 1.301 GB, free: 85.26 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007224/0.8808, allocations: 3.85 MB / 1.305 GB, free: 85.16 MB / 1.026 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.02947/0.9103, allocations: 18.3 MB / 1.323 GB, free: 78.29 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004014/0.9143, allocations: 2.3 MB / 1.325 GB, free: 78.15 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.9162, allocations: 1.25 MB / 1.326 GB, free: 78.07 MB / 1.026 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.009702/0.9259, allocations: 4.09 MB / 1.33 GB, free: 77.63 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002444/0.9283, allocations: 1.959 MB / 1.332 GB, free: 76.83 MB / 1.026 GB Notification: Performance of pre-optimization done (n=182): time 3.717e-06/0.9283, allocations: 0 / 1.332 GB, free: 76.83 MB / 1.026 GB Notification: Performance of matching and sorting (n=182): time 0.01164/0.94, allocations: 5.329 MB / 1.337 GB, free: 76.09 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.94, allocations: 184 kB / 1.338 GB, free: 75.91 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007347/0.9474, allocations: 5.9 MB / 1.343 GB, free: 75.44 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0006512/0.948, allocations: 68.14 kB / 1.343 GB, free: 75.41 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.002039/0.9501, allocations: 3.107 MB / 1.346 GB, free: 74.59 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008959/0.951, allocations: 0.6457 MB / 1.347 GB, free: 74.17 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006488/0.9516, allocations: 0.5526 MB / 1.348 GB, free: 74.12 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 3.266e-05/0.9516, allocations: 304 kB / 1.348 GB, free: 73.82 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.9533, allocations: 1.196 MB / 1.349 GB, free: 73.72 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.9556, allocations: 3.355 MB / 1.352 GB, free: 71.07 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2487/1.204, allocations: 89.18 MB / 1.439 GB, free: 16.17 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.963e-05/1.204, allocations: 12 kB / 1.44 GB, free: 16.16 MB / 1.026 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.007611/1.212, allocations: 4.277 MB / 1.444 GB, free: 13.03 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 7.245e-05/1.212, allocations: 79.83 kB / 1.444 GB, free: 12.95 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/1.212, allocations: 32 kB / 1.444 GB, free: 12.91 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/1.213, allocations: 0.6466 MB / 1.444 GB, free: 12.39 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.215, allocations: 0.6372 MB / 1.445 GB, free: 11.81 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/1.217, allocations: 3.045 MB / 1.448 GB, free: 8.973 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/1.221, allocations: 451.9 kB / 1.448 GB, free: 8.574 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005829/1.222, allocations: 149.9 kB / 1.449 GB, free: 8.449 MB / 1.026 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.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005344/1.227, allocations: 2.624 MB / 1.451 GB, free: 6.84 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002399/1.23, allocations: 3.332 MB / 1.454 GB, free: 3.227 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2553/1.485, allocations: 89.06 MB / 1.541 GB, free: 13.52 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.267e-05/1.485, allocations: 8 kB / 1.541 GB, free: 13.51 MB / 1.12 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.007862/1.493, allocations: 4.242 MB / 1.546 GB, free: 10.39 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/1.493, allocations: 89.81 kB / 1.546 GB, free: 10.3 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/1.493, allocations: 28 kB / 1.546 GB, free: 10.27 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/1.494, allocations: 0.6196 MB / 1.546 GB, free: 9.762 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.496, allocations: 0.6098 MB / 1.547 GB, free: 9.211 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/1.497, allocations: 1.832 MB / 1.549 GB, free: 7.602 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/1.502, allocations: 385.1 kB / 1.549 GB, free: 7.27 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003811/1.502, allocations: 150.2 kB / 1.549 GB, free: 7.145 MB / 1.12 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.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (300): * Single equations (assignments): 292 * 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.001028/1.503, allocations: 0.572 MB / 1.55 GB, free: 6.668 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002016/1.505, allocations: 0.6307 MB / 1.55 GB, free: 6.035 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007135/1.512, allocations: 4.177 MB / 1.554 GB, free: 2.375 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.17e-05/1.512, allocations: 23.98 kB / 1.554 GB, free: 2.352 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.512, allocations: 0 / 1.554 GB, free: 2.352 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004465/1.517, allocations: 2.958 MB / 1.557 GB, free: 15.36 MB / 1.136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01855/1.535, allocations: 8.527 MB / 1.566 GB, free: 6.789 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/1.535, allocations: 0 / 1.566 GB, free: 6.789 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000993/1.536, allocations: 377.5 kB / 1.566 GB, free: 6.434 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/1.538, allocations: 0.589 MB / 1.567 GB, free: 5.844 MB / 1.136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/1.538, allocations: 61.28 kB / 1.567 GB, free: 5.785 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002899/1.541, allocations: 3.119 MB / 1.57 GB, free: 2.574 MB / 1.136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.541, allocations: 0 / 1.57 GB, free: 2.574 MB / 1.136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.552, allocations: 5.88 MB / 1.575 GB, free: 12.62 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004733/1.556, allocations: 1.012 MB / 1.576 GB, free: 11.61 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002048/1.558, allocations: 51.94 kB / 1.576 GB, free: 11.56 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003776/1.562, allocations: 195.8 kB / 1.577 GB, free: 11.37 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/1.562, allocations: 136.8 kB / 1.577 GB, free: 11.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003/1.563, allocations: 95.94 kB / 1.577 GB, free: 11.14 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00708/1.57, allocations: 4.025 MB / 1.581 GB, free: 7.141 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/1.57, allocations: 0 / 1.581 GB, free: 7.141 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01219/1.582, allocations: 2.857 MB / 1.584 GB, free: 4.277 MB / 1.151 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.01268/1.595, allocations: 7.241 MB / 1.591 GB, free: 13.08 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008955/1.604, allocations: 4.9 MB / 1.595 GB, free: 8.301 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.604, allocations: 4 kB / 1.595 GB, free: 8.297 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002791/1.606, allocations: 1.586 MB / 1.597 GB, free: 6.715 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01261/1.619, allocations: 3.317 MB / 1.6 GB, free: 3.762 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08109/1.7, allocations: 40.73 MB / 1.64 GB, free: 10.41 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/1.703, allocations: 2.728 MB / 1.643 GB, free: 7.66 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.005985/1.709, allocations: 1.322 MB / 1.644 GB, free: 6.418 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003982/1.713, allocations: 2.738 MB / 1.647 GB, free: 3.676 MB / 1.214 GB Notification: Performance of SimCode: time 1.422e-06/1.713, allocations: 0 / 1.647 GB, free: 3.676 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6944/2.407, allocations: 182 MB / 1.824 GB, free: 327.4 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/17.79, allocations: 3.938 kB / 1.824 GB, free: 327.4 MB / 1.292 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller_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_DHCSubstationHeatPumpChiller.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.969290730543435] Failed to read output from testmodel.py, exit status != 0: 17.969690188765526 17.97731214 17.164999645 Calling exit ...