Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.001366/0.001366, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.0017/0.0017, allocations: 212.3 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002575/0.002575, allocations: 295.4 kB / 312.7 MB, free: 2.562 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.213/1.213, allocations: 180.6 MB / 0.5369 GB, free: 14.47 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002972/0.002972, allocations: 98.52 kB / 0.7395 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1669, allocations: 95.38 MB / 0.8327 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002334/0.1693, allocations: 1.321 MB / 0.834 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.1701, allocations: 440.7 kB / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.1701, allocations: 0 / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.144e-05/0.1702, allocations: 3.938 kB / 0.8344 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.1703, allocations: 7.984 kB / 0.8344 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1705, allocations: 39.83 kB / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.1706, allocations: 31.84 kB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.1706, allocations: 4 kB / 0.8345 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.1707, allocations: 8 kB / 0.8345 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.1707, allocations: 7.984 kB / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1707, allocations: 3.938 kB / 0.8345 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1709, allocations: 47.88 kB / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.1709, allocations: 11.98 kB / 0.8346 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.1709, allocations: 11.94 kB / 0.8346 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.1711, allocations: 63.97 kB / 0.8346 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1711, allocations: 0 / 0.8346 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1711, allocations: 0 / 0.8346 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1711, allocations: 0 / 0.8346 GB, free: 6.293 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003627/0.1714, allocations: 278.2 kB / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1715, allocations: 9.344 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.1715, allocations: 38.69 kB / 0.8349 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.1715, allocations: 4.891 kB / 0.8349 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1717, allocations: 114.5 kB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.1717, allocations: 384 / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1717, allocations: 4.375 kB / 0.8351 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.1718, allocations: 47.53 kB / 0.8351 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.1718, allocations: 0 / 0.8351 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.1718, allocations: 0 / 0.8351 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1718, allocations: 4 kB / 0.8351 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.318e-05/0.1718, allocations: 7.938 kB / 0.8351 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.172, allocations: 149.6 kB / 0.8353 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.1721, allocations: 37.22 kB / 0.8353 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.1721, allocations: 17.72 kB / 0.8353 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1721, allocations: 4 kB / 0.8353 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1721, allocations: 42.42 kB / 0.8354 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1721, allocations: 0 / 0.8354 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001344/0.1723, allocations: 49.64 kB / 0.8354 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.1723, allocations: 85.09 kB / 0.8355 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1724, allocations: 135.8 kB / 0.8356 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1725, allocations: 25.7 kB / 0.8356 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.1725, allocations: 88.14 kB / 0.8357 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1725, allocations: 15.86 kB / 0.8357 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.1726, allocations: 25.72 kB / 0.8358 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1727, allocations: 318.8 kB / 0.8361 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.1727, allocations: 23.98 kB / 0.8361 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.1728, allocations: 23.98 kB / 0.8361 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/0.1728, allocations: 59.66 kB / 0.8362 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1728, allocations: 3.938 kB / 0.8362 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001268/0.173, allocations: 101.6 kB / 0.8363 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.173, allocations: 4 kB / 0.8363 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.173, allocations: 4 kB / 0.8363 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.173, allocations: 0 / 0.8363 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.355e-05/0.1731, allocations: 7.984 kB / 0.8363 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1731, allocations: 4 kB / 0.8363 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.1731, allocations: 7.891 kB / 0.8363 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1731, allocations: 0 / 0.8363 GB, free: 4.371 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.414e-05/0.1732, allocations: 118.5 kB / 0.8364 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.1732, allocations: 11.89 kB / 0.8364 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.1732, allocations: 7.453 kB / 0.8364 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1732, allocations: 0 / 0.8364 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1732, allocations: 4 kB / 0.8364 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1732, allocations: 0 / 0.8364 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1733, allocations: 128.8 kB / 0.8366 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1733, allocations: 0 / 0.8366 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.1734, allocations: 11.88 kB / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1734, allocations: 0 / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.1734, allocations: 0 / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1734, allocations: 4 kB / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1734, allocations: 4 kB / 0.8366 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.654e-05/0.1735, allocations: 73.94 kB / 0.8366 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.1735, allocations: 11.88 kB / 0.8367 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1735, allocations: 4 kB / 0.8367 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.1735, allocations: 0 / 0.8367 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.1735, allocations: 3.984 kB / 0.8367 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.1735, allocations: 0 / 0.8367 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.846e-05/0.1736, allocations: 103.2 kB / 0.8368 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1736, allocations: 0 / 0.8368 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001996/0.1738, allocations: 16 kB / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004314/0.1742, allocations: 0.6351 MB / 0.8374 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.1744, allocations: 77.61 kB / 0.8375 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.1744, allocations: 0 / 0.8375 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.1744, allocations: 4 kB / 0.8375 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1745, allocations: 3.281 kB / 0.8375 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1757, allocations: 1.306 MB / 0.8387 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.1758, allocations: 79.27 kB / 0.8388 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.1758, allocations: 0 / 0.8388 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.1758, allocations: 15.44 kB / 0.8388 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.1758, allocations: 0 / 0.8388 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.2039, allocations: 2.184 MB / 0.841 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.02, allocations: 2.922 kB / 0.841 GB, free: 15.55 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.16462250193581] Failed to read output from testmodel.py, exit status != 0: 11.121548736002296 11.138551527 10.964380976 Calling exit ...