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.0008691/0.0008691, 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.001643/0.001643, allocations: 169.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.9373/0.9373, 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.03517/0.03517, allocations: 9.101 MB / 268.3 MB, free: 4.492 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.0004352/0.0004352, allocations: 23.97 kB / 327.8 MB, free: 20.63 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.519/1.519, allocations: 275 MB / 0.6467 GB, free: 2.5 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.614e-06/1.614e-06, allocations: 0 / 0.928 GB, free: 8.688 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.361e-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.DHCSubstationHeatPumpChiller): time 0.1364/0.1364, allocations: 221.2 MB / 1.144 GB, free: 10.8 MB / 0.9168 GB Notification: Performance of NFInst.instExpressions: time 0.5532/0.6897, allocations: 47.57 MB / 1.19 GB, free: 47.67 MB / 0.9324 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009864/0.6995, allocations: 402.3 kB / 1.191 GB, free: 47.67 MB / 0.9324 GB Notification: Performance of NFTyping.typeComponents: time 0.01444/0.714, allocations: 4.327 MB / 1.195 GB, free: 47.63 MB / 0.9324 GB Notification: Performance of NFTyping.typeBindings: time 0.01941/0.7334, allocations: 9.562 MB / 1.204 GB, free: 46.16 MB / 0.9324 GB Notification: Performance of NFTyping.typeClassSections: time 0.01127/0.7446, allocations: 7.142 MB / 1.211 GB, free: 45.9 MB / 0.9324 GB Notification: Performance of NFFlatten.flatten: time 0.02469/0.7693, allocations: 25.2 MB / 1.236 GB, free: 42.48 MB / 0.9324 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00731/0.7766, allocations: 4.839 MB / 1.241 GB, free: 41.9 MB / 0.9324 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01461/0.7912, allocations: 10.66 MB / 1.251 GB, free: 39.34 MB / 0.9324 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005036/0.7963, allocations: 4.246 MB / 1.255 GB, free: 38.18 MB / 0.9324 GB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.7976, allocations: 0.6957 MB / 1.256 GB, free: 38.18 MB / 0.9324 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006372/0.8039, allocations: 3.194 MB / 1.259 GB, free: 37.11 MB / 0.9324 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.8051, allocations: 2.104 MB / 1.261 GB, free: 35.58 MB / 0.9324 GB Notification: Performance of NFVerifyModel.verify: time 0.003861/0.8089, allocations: 2.631 MB / 1.264 GB, free: 34.27 MB / 0.9324 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.8199, allocations: 13.1 MB / 1.276 GB, free: 25.71 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8199, allocations: 4 kB / 1.276 GB, free: 25.71 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8199, allocations: 0 / 1.276 GB, free: 25.71 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.0001977/0.8201, allocations: 0 / 1.276 GB, free: 25.71 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: 921 * Number of variables: 921 Notification: Performance of Generate backend data structure: time 0.007889/0.828, allocations: 8.089 MB / 1.284 GB, free: 19.94 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.828, allocations: 9.281 kB / 1.284 GB, free: 19.94 MB / 0.9324 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00037/0.8284, allocations: 487.2 kB / 1.285 GB, free: 19.57 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00723/0.8356, allocations: 1.607 MB / 1.286 GB, free: 18.14 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.848, allocations: 9.097 MB / 1.295 GB, free: 9.211 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.8482, allocations: 291.2 kB / 1.296 GB, free: 8.926 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007214/0.8489, allocations: 382 kB / 1.296 GB, free: 8.555 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006739/0.8556, allocations: 5.189 MB / 1.301 GB, free: 3.031 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/0.8557, allocations: 14.47 kB / 1.301 GB, free: 3.023 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002903/0.856, allocations: 152 kB / 1.301 GB, free: 2.875 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.856, allocations: 92 kB / 1.301 GB, free: 2.785 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005548/0.8616, allocations: 3.845 MB / 1.305 GB, free: 14.97 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 removeSimpleEquations (simulation): time 0.02402/0.8856, allocations: 18.3 MB / 1.323 GB, free: 12.65 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.8892, allocations: 2.309 MB / 1.325 GB, free: 10.36 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.891, allocations: 1.258 MB / 1.326 GB, free: 9.094 MB / 0.9637 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.01186/0.9029, allocations: 4.089 MB / 1.33 GB, free: 5.035 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002375/0.9052, allocations: 1.952 MB / 1.332 GB, free: 2.93 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=182): time 4.368e-06/0.9053, allocations: 0 / 1.332 GB, free: 2.93 MB / 0.9637 GB Notification: Performance of matching and sorting (n=182): time 0.01105/0.9163, allocations: 5.329 MB / 1.337 GB, free: 13.57 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.9164, allocations: 183.5 kB / 1.338 GB, free: 13.36 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00939/0.9258, allocations: 5.896 MB / 1.343 GB, free: 7.473 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.0005011/0.9263, allocations: 69.7 kB / 1.343 GB, free: 7.398 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.929, allocations: 3.115 MB / 1.346 GB, free: 4.277 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.9302, allocations: 0.6387 MB / 1.347 GB, free: 3.648 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000838/0.931, allocations: 0.548 MB / 1.348 GB, free: 3.094 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.9311, allocations: 305.1 kB / 1.348 GB, free: 2.793 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.933, allocations: 1.198 MB / 1.349 GB, free: 1.578 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.9359, allocations: 3.338 MB / 1.352 GB, free: 13.5 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2621/1.198, allocations: 89.2 MB / 1.439 GB, free: 4.707 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-05/1.198, allocations: 8 kB / 1.439 GB, free: 4.699 MB / 1.073 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.007407/1.205, allocations: 4.289 MB / 1.444 GB, free: 0.543 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 6.675e-05/1.206, allocations: 85.09 kB / 1.444 GB, free: 460 kB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.81e-05/1.206, allocations: 36.06 kB / 1.444 GB, free: 424 kB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/1.207, allocations: 0.6406 MB / 1.444 GB, free: 15.77 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.208, allocations: 0.633 MB / 1.445 GB, free: 15.18 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/1.211, allocations: 3.053 MB / 1.448 GB, free: 12.05 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/1.215, allocations: 454.3 kB / 1.448 GB, free: 11.6 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/1.215, allocations: 148 kB / 1.449 GB, free: 11.46 MB / 1.089 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.004318/1.219, allocations: 2.613 MB / 1.451 GB, free: 8.828 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002917/1.222, allocations: 3.333 MB / 1.454 GB, free: 4.758 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2564/1.478, allocations: 89.06 MB / 1.541 GB, free: 11.74 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.313e-05/1.479, allocations: 8 kB / 1.541 GB, free: 11.73 MB / 1.182 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.008155/1.487, allocations: 4.234 MB / 1.546 GB, free: 7.629 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/1.487, allocations: 83.39 kB / 1.546 GB, free: 7.535 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.258e-05/1.487, allocations: 32.06 kB / 1.546 GB, free: 7.504 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/1.488, allocations: 0.6176 MB / 1.546 GB, free: 6.883 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.489, allocations: 0.6206 MB / 1.547 GB, free: 6.301 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/1.491, allocations: 1.83 MB / 1.549 GB, free: 4.434 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/1.495, allocations: 393.3 kB / 1.549 GB, free: 4.051 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/1.496, allocations: 144 kB / 1.549 GB, free: 3.91 MB / 1.182 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.0009809/1.497, allocations: 0.5758 MB / 1.55 GB, free: 3.352 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002027/1.499, allocations: 0.621 MB / 1.55 GB, free: 2.727 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007534/1.506, allocations: 4.178 MB / 1.554 GB, free: 14.59 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/1.506, allocations: 20 kB / 1.554 GB, free: 14.57 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.506, allocations: 4 kB / 1.554 GB, free: 14.56 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004446/1.511, allocations: 2.953 MB / 1.557 GB, free: 11.57 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.527, allocations: 8.519 MB / 1.566 GB, free: 3.004 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.527, allocations: 4.156 kB / 1.566 GB, free: 3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009192/1.528, allocations: 378.6 kB / 1.566 GB, free: 2.645 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/1.529, allocations: 0.5905 MB / 1.567 GB, free: 2.051 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/1.529, allocations: 63.95 kB / 1.567 GB, free: 1.988 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/1.532, allocations: 3.121 MB / 1.57 GB, free: 14.78 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.532, allocations: 3.984 kB / 1.57 GB, free: 14.78 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/1.543, allocations: 5.891 MB / 1.575 GB, free: 8.801 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003942/1.547, allocations: 1.01 MB / 1.576 GB, free: 7.789 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001811/1.549, allocations: 51.94 kB / 1.576 GB, free: 7.738 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/1.551, allocations: 195.8 kB / 1.577 GB, free: 7.547 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/1.552, allocations: 136.3 kB / 1.577 GB, free: 7.418 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/1.552, allocations: 95.92 kB / 1.577 GB, free: 7.324 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.006594/1.558, allocations: 4.028 MB / 1.581 GB, free: 3.32 MB / 1.214 GB Notification: Performance of sort global known variables: time 4.21e-07/1.558, allocations: 0 / 1.581 GB, free: 3.32 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.008431/1.567, allocations: 2.848 MB / 1.584 GB, free: 480 kB / 1.214 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.01037/1.577, allocations: 7.229 MB / 1.591 GB, free: 9.266 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.008244/1.585, allocations: 4.907 MB / 1.595 GB, free: 4.48 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.585, allocations: 4 kB / 1.595 GB, free: 4.477 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.002868/1.588, allocations: 1.587 MB / 1.597 GB, free: 2.898 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01087/1.599, allocations: 3.307 MB / 1.6 GB, free: 15.95 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4803/2.08, allocations: 40.75 MB / 1.64 GB, free: 0.5343 GB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004302/2.084, allocations: 2.715 MB / 1.643 GB, free: 0.534 GB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.00538/2.089, allocations: 1.322 MB / 1.644 GB, free: 0.5339 GB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003276/2.092, allocations: 2.738 MB / 1.647 GB, free: 0.5325 GB / 1.261 GB Notification: Performance of SimCode: time 1.142e-06/2.092, allocations: 0 / 1.647 GB, free: 0.5325 GB / 1.261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1733/2.266, allocations: 182 MB / 1.824 GB, free: 381.5 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/17.3, allocations: 3.938 kB / 1.824 GB, free: 381.5 MB / 1.261 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller_fmu --startTime=0 --stopTime=86400 --stepSize=60 --timeout=50 --tolerance=1e-07 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: 21.508986693806946] Failed to read output from testmodel.py, exit status != 0: 17.485063361003995 17.494283449 16.672272702 Calling exit ...