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.0007235/0.0007235, 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.0007516/0.0007516, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9107/0.9107, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.05023/0.05023, allocations: 9.116 MB / 268.3 MB, free: 4.508 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.0004422/0.0004422, allocations: 31.84 kB / 327.8 MB, free: 5.832 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.616/1.616, allocations: 274.9 MB / 0.6467 GB, free: 2.867 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 3.407e-06/3.407e-06, allocations: 0.5156 kB / 0.928 GB, free: 21.2 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.986e-05, allocations: 5.875 kB / 0.928 GB, free: 21.2 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.1354/0.1354, allocations: 199 MB / 1.122 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.05464/0.1901, allocations: 44.43 MB / 1.166 GB, free: 11.89 MB / 0.9324 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009785/0.1998, allocations: 368.9 kB / 1.166 GB, free: 11.53 MB / 0.9324 GB Notification: Performance of NFTyping.typeComponents: time 0.0113/0.2111, allocations: 4.036 MB / 1.17 GB, free: 7.469 MB / 0.9324 GB Notification: Performance of NFTyping.typeBindings: time 0.02415/0.2353, allocations: 8.739 MB / 1.178 GB, free: 14.68 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01411/0.2494, allocations: 7.382 MB / 1.186 GB, free: 7.352 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.02989/0.2793, allocations: 24.52 MB / 1.21 GB, free: 14.77 MB / 0.9793 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.2897, allocations: 4.55 MB / 1.214 GB, free: 10.14 MB / 0.9793 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02402/0.3137, allocations: 10.21 MB / 1.224 GB, free: 15.93 MB / 0.9949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007766/0.3215, allocations: 4.077 MB / 1.228 GB, free: 11.84 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 0.002981/0.3245, allocations: 0.6523 MB / 1.229 GB, free: 11.18 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.3349, allocations: 3.127 MB / 1.232 GB, free: 8.051 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.003527/0.3384, allocations: 2.012 MB / 1.234 GB, free: 6.031 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.006944/0.3454, allocations: 2.51 MB / 1.236 GB, free: 3.516 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.02149/0.3669, allocations: 12.43 MB / 1.248 GB, free: 7.055 MB / 1.011 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3669, allocations: 0 / 1.248 GB, free: 7.055 MB / 1.011 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3669, allocations: 0 / 1.248 GB, free: 7.055 MB / 1.011 GB Notification: Performance of Transformations before backend: time 0.0003416/0.3672, allocations: 0 / 1.248 GB, free: 7.055 MB / 1.011 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.0141/0.3813, allocations: 7.598 MB / 1.256 GB, free: 15.34 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.3814, allocations: 8.031 kB / 1.256 GB, free: 15.34 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006896/0.382, allocations: 471.8 kB / 1.256 GB, free: 14.87 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004382/0.3864, allocations: 1.467 MB / 1.258 GB, free: 13.39 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/0.4005, allocations: 8.608 MB / 1.266 GB, free: 4.707 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002474/0.4008, allocations: 270.7 kB / 1.266 GB, free: 4.441 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000891/0.4016, allocations: 348 kB / 1.267 GB, free: 4.102 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3979/0.7995, allocations: 4.787 MB / 1.271 GB, free: 304.6 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.616e-05/0.7996, allocations: 6.812 kB / 1.271 GB, free: 304.6 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003455/0.8, allocations: 144.9 kB / 1.271 GB, free: 304.6 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.624e-05/0.8, allocations: 91 kB / 1.271 GB, free: 304.6 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007894/0.8079, allocations: 3.65 MB / 1.275 GB, free: 303.4 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.02665/0.8346, allocations: 15.91 MB / 1.291 GB, free: 294.3 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/0.8391, allocations: 2.29 MB / 1.293 GB, free: 293.4 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00233/0.8415, allocations: 1.41 MB / 1.294 GB, free: 292.9 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.00981/0.8513, allocations: 4.165 MB / 1.298 GB, free: 290.8 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002724/0.854, allocations: 1.892 MB / 1.3 GB, free: 289.7 MB / 1.026 GB Notification: Performance of pre-optimization done (n=205): time 4.849e-06/0.854, allocations: 7.312 kB / 1.3 GB, free: 289.7 MB / 1.026 GB Notification: Performance of matching and sorting (n=205): time 0.01056/0.8646, allocations: 5.024 MB / 1.305 GB, free: 288 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.8646, allocations: 134.4 kB / 1.305 GB, free: 287.9 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009555/0.8742, allocations: 5.417 MB / 1.31 GB, free: 285.9 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0004943/0.8747, allocations: 68.33 kB / 1.311 GB, free: 285.8 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/0.8768, allocations: 2.824 MB / 1.313 GB, free: 283.7 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008826/0.8777, allocations: 0.731 MB / 1.314 GB, free: 283.2 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008053/0.8785, allocations: 0.5391 MB / 1.315 GB, free: 282.9 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 3.15e-05/0.8785, allocations: 302.5 kB / 1.315 GB, free: 282.6 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.8805, allocations: 1.255 MB / 1.316 GB, free: 282.1 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/0.883, allocations: 2.978 MB / 1.319 GB, free: 279.5 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02277/0.9057, allocations: 10.23 MB / 1.329 GB, free: 275.9 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-05/0.9058, allocations: 6.594 kB / 1.329 GB, free: 275.9 MB / 1.026 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.007853/0.9136, allocations: 4.235 MB / 1.333 GB, free: 273.7 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.9137, allocations: 79.42 kB / 1.333 GB, free: 273.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.805e-05/0.9137, allocations: 25.69 kB / 1.333 GB, free: 273.7 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007862/0.9145, allocations: 386.4 kB / 1.334 GB, free: 273.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.9162, allocations: 0.702 MB / 1.334 GB, free: 273.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.9181, allocations: 4.207 MB / 1.338 GB, free: 269.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/0.9214, allocations: 440 kB / 1.339 GB, free: 269.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003498/0.9218, allocations: 138.7 kB / 1.339 GB, free: 269 MB / 1.026 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.004392/0.9262, allocations: 2.638 MB / 1.341 GB, free: 267.5 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002191/0.9283, allocations: 2.966 MB / 1.344 GB, free: 264.7 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02118/0.9495, allocations: 10.12 MB / 1.354 GB, free: 259.2 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.582e-05/0.9495, allocations: 3.938 kB / 1.354 GB, free: 259.2 MB / 1.026 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.006722/0.9563, allocations: 4.206 MB / 1.358 GB, free: 255.8 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.9563, allocations: 79.58 kB / 1.358 GB, free: 255.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.9563, allocations: 28 kB / 1.358 GB, free: 255.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.957, allocations: 367.7 kB / 1.359 GB, free: 255.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.9582, allocations: 0.6669 MB / 1.359 GB, free: 254.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.9595, allocations: 2.413 MB / 1.362 GB, free: 252.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/0.9628, allocations: 385.3 kB / 1.362 GB, free: 251.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.9631, allocations: 147.9 kB / 1.362 GB, free: 251.6 MB / 1.026 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.001012/0.9641, allocations: 0.6021 MB / 1.363 GB, free: 250.9 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/0.9655, allocations: 0.5829 MB / 1.363 GB, free: 250.3 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007373/0.9728, allocations: 4.445 MB / 1.368 GB, free: 245.9 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/0.9729, allocations: 35.92 kB / 1.368 GB, free: 245.9 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9729, allocations: 3.938 kB / 1.368 GB, free: 245.9 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003901/0.9768, allocations: 3.467 MB / 1.371 GB, free: 242.3 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.9907, allocations: 8.392 MB / 1.379 GB, free: 233.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.9907, allocations: 4 kB / 1.379 GB, free: 233.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.9918, allocations: 475.5 kB / 1.38 GB, free: 233.3 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006323/0.9924, allocations: 337.5 kB / 1.38 GB, free: 233 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/0.9926, allocations: 67.95 kB / 1.38 GB, free: 232.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.9943, allocations: 4.225 MB / 1.384 GB, free: 228.5 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9943, allocations: 11.88 kB / 1.384 GB, free: 228.5 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007662/1.002, allocations: 5.843 MB / 1.39 GB, free: 222.5 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/1.004, allocations: 1.005 MB / 1.391 GB, free: 221.5 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007501/1.005, allocations: 51.94 kB / 1.391 GB, free: 221.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.006, allocations: 191.7 kB / 1.391 GB, free: 221.3 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.007, allocations: 153.7 kB / 1.391 GB, free: 221.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.007, allocations: 103.9 kB / 1.392 GB, free: 221 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.004285/1.011, allocations: 3.695 MB / 1.395 GB, free: 217.4 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.11e-07/1.011, allocations: 0 / 1.395 GB, free: 217.4 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.006055/1.017, allocations: 2.791 MB / 1.398 GB, free: 214.6 MB / 1.026 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.008011/1.025, allocations: 7.495 MB / 1.405 GB, free: 207 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00692/1.032, allocations: 5.346 MB / 1.41 GB, free: 201.6 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.032, allocations: 4.812 kB / 1.41 GB, free: 201.6 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/1.034, allocations: 1.816 MB / 1.412 GB, free: 199.7 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009118/1.043, allocations: 3.311 MB / 1.415 GB, free: 196.8 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05853/1.102, allocations: 39.69 MB / 1.454 GB, free: 156 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/1.104, allocations: 2.601 MB / 1.457 GB, free: 153.3 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.00485/1.109, allocations: 1.382 MB / 1.458 GB, free: 152 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002753/1.112, allocations: 2.617 MB / 1.461 GB, free: 149.4 MB / 1.026 GB Notification: Performance of SimCode: time 1.904e-06/1.112, allocations: 0 / 1.461 GB, free: 149.4 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1857/1.297, allocations: 180.2 MB / 1.637 GB, free: 2.785 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.75, allocations: 15.91 kB / 1.637 GB, free: 2.77 MB / 1.057 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmu --startTime=0 --stopTime=86400 --stepSize=60 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.279440131038427] Failed to read output from testmodel.py, exit status != 0: 16.937530466355383 16.945505352 16.576496325 Calling exit ...