Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.001255/0.001255, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001353/0.001353, allocations: 211.8 kB / 22.25 MB, free: 5.121 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.339/1.339, allocations: 230.6 MB / 256 MB, free: 7.973 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.002388/0.002388, allocations: 283.3 kB / 312.7 MB, free: 2.785 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.121/1.121, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.002724/0.002724, allocations: 103.1 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1548, allocations: 95.39 MB / 0.8328 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001586/0.1564, allocations: 0.5442 MB / 0.8333 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.1572, allocations: 0.8082 MB / 0.8341 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.1572, allocations: 0 / 0.8341 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.1573, allocations: 0 / 0.8341 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-06/0.1573, allocations: 7.875 kB / 0.8341 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1575, allocations: 15.98 kB / 0.8341 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.949e-05/0.1575, allocations: 0 / 0.8341 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.1576, allocations: 15.86 kB / 0.8341 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.112e-05/0.1576, allocations: 0 / 0.8341 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.1577, allocations: 23.98 kB / 0.8342 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.1577, allocations: 0 / 0.8342 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.247e-06/0.1577, allocations: 0 / 0.8342 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.1577, allocations: 0 / 0.8342 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.1577, allocations: 0 / 0.8342 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.395e-05/0.1578, allocations: 3.984 kB / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1578, allocations: 0 / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1578, allocations: 0 / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1578, allocations: 0 / 0.8342 GB, free: 7.156 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002449/0.158, allocations: 238.5 kB / 0.8344 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1581, allocations: 8.625 kB / 0.8344 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.1581, allocations: 34.75 kB / 0.8344 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.831e-05/0.1581, allocations: 4.938 kB / 0.8344 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.622e-05/0.1582, allocations: 102.8 kB / 0.8345 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1582, allocations: 384 / 0.8345 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.1582, allocations: 384 / 0.8345 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.879e-05/0.1583, allocations: 34.25 kB / 0.8346 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1583, allocations: 7.875 kB / 0.8346 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.1583, allocations: 4 kB / 0.8346 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.1583, allocations: 0 / 0.8346 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.278e-05/0.1583, allocations: 3.938 kB / 0.8346 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.1586, allocations: 346.6 kB / 0.8349 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.019e-05/0.1587, allocations: 169.1 kB / 0.8351 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.1587, allocations: 84.14 kB / 0.8352 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.1588, allocations: 75.28 kB / 0.8352 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.1588, allocations: 121.8 kB / 0.8353 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1588, allocations: 0 / 0.8353 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.603e-05/0.1589, allocations: 25.7 kB / 0.8354 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.159, allocations: 126.7 kB / 0.8355 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.159, allocations: 101.8 kB / 0.8356 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.159, allocations: 25.7 kB / 0.8356 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.1591, allocations: 80.14 kB / 0.8357 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.1591, allocations: 0 / 0.8357 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.1591, allocations: 9.719 kB / 0.8357 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1593, allocations: 318.8 kB / 0.836 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.1593, allocations: 3.984 kB / 0.836 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.1593, allocations: 1.672 kB / 0.836 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.1593, allocations: 12.98 kB / 0.836 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1593, allocations: 7.938 kB / 0.836 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.706e-05/0.1594, allocations: 29.7 kB / 0.8361 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1594, allocations: 7.938 kB / 0.8361 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1594, allocations: 0 / 0.8361 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1594, allocations: 0 / 0.8361 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.089e-05/0.1594, allocations: 4 kB / 0.8361 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1594, allocations: 0 / 0.8361 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.1595, allocations: 0 / 0.8361 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1595, allocations: 8.031 kB / 0.8361 GB, free: 5 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 0.0001043/0.1596, allocations: 193.7 kB / 0.8363 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.1596, allocations: 112.9 kB / 0.8364 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.1597, allocations: 107.8 kB / 0.8365 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.486e-05/0.1598, allocations: 180.2 kB / 0.8366 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-05/0.1598, allocations: 180.3 kB / 0.8368 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.668e-05/0.1599, allocations: 188.3 kB / 0.837 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.1601, allocations: 380.1 kB / 0.8374 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-05/0.1602, allocations: 101 kB / 0.8375 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.1602, allocations: 108.9 kB / 0.8376 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.336e-05/0.1603, allocations: 180.2 kB / 0.8377 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/0.1604, allocations: 180.3 kB / 0.8379 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.302e-05/0.1605, allocations: 184.2 kB / 0.8381 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-05/0.1605, allocations: 180.3 kB / 0.8382 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.1607, allocations: 307.9 kB / 0.8385 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.1607, allocations: 113 kB / 0.8387 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.452e-05/0.1608, allocations: 180.2 kB / 0.8388 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.1609, allocations: 105 kB / 0.8389 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.1609, allocations: 184.2 kB / 0.8391 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.161, allocations: 105 kB / 0.8392 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.161, allocations: 75.28 kB / 0.8393 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.161, allocations: 96 / 0.8393 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002112/0.1612, allocations: 8 kB / 0.8393 GB, free: 1.52 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0004006/0.1616, allocations: 0.8126 MB / 0.8401 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.59e-05/0.1617, allocations: 4 kB / 0.8401 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.1617, allocations: 4.062 kB / 0.8401 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.955e-06/0.1617, allocations: 4 kB / 0.8401 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.162, allocations: 455.6 kB / 0.8405 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.1623, allocations: 184.3 kB / 0.8407 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1626, allocations: 0.6729 MB / 0.8414 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.046e-05/0.1626, allocations: 0 / 0.8414 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.1626, allocations: 11.44 kB / 0.8414 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.1626, allocations: 0 / 0.8414 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.1879, allocations: 1.016 MB / 0.8424 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.866/10.05, allocations: 9.234 kB / 0.8424 GB, free: 14.43 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_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_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.931709160999162] Failed to read output from testmodel.py, exit status != 0: 10.152663266999298 10.174658337 10.012918426 Calling exit ...