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.001599/0.001599, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00152/0.00152, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.801 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.002565/0.002565, allocations: 285.5 kB / 312.7 MB, free: 2.613 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.199/1.199, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") [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.002969/0.002969, allocations: 107.9 kB / 0.74 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1525, allocations: 95.38 MB / 0.8332 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001816/0.1543, allocations: 0.5576 MB / 0.8337 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009983/0.1553, allocations: 0.7886 MB / 0.8345 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.1554, allocations: 4 kB / 0.8345 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.1554, allocations: 0 / 0.8345 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.1554, allocations: 0 / 0.8345 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1556, allocations: 23.91 kB / 0.8345 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.234e-05/0.1556, allocations: 0 / 0.8345 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1557, allocations: 7.984 kB / 0.8345 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.055e-05/0.1557, allocations: 0 / 0.8345 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1558, allocations: 27.97 kB / 0.8346 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.191e-06/0.1558, allocations: 0 / 0.8346 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-06/0.1558, allocations: 0 / 0.8346 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.1558, allocations: 0 / 0.8346 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.297e-05/0.1559, allocations: 0 / 0.8346 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.197e-05/0.1559, allocations: 0 / 0.8346 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1559, allocations: 0 / 0.8346 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1559, allocations: 0 / 0.8346 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1559, allocations: 0 / 0.8346 GB, free: 6.375 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.0002697/0.1562, allocations: 230.5 kB / 0.8348 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1562, allocations: 13.22 kB / 0.8348 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.1562, allocations: 4.938 kB / 0.8348 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/0.1563, allocations: 110.5 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1563, allocations: 384 / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-06/0.1563, allocations: 4.312 kB / 0.8349 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.622e-05/0.1564, allocations: 34.2 kB / 0.8349 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1564, allocations: 192 / 0.8349 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1564, allocations: 3.938 kB / 0.8349 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1564, allocations: 0 / 0.8349 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.367e-05/0.1564, allocations: 0 / 0.8349 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.1567, allocations: 327.2 kB / 0.8352 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1569, allocations: 181.1 kB / 0.8354 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.1569, allocations: 84.14 kB / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.1569, allocations: 79.22 kB / 0.8356 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.157, allocations: 105.8 kB / 0.8357 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.157, allocations: 0 / 0.8357 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.304e-05/0.157, allocations: 29.7 kB / 0.8357 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.1571, allocations: 138.6 kB / 0.8358 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.1572, allocations: 93.8 kB / 0.8359 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1572, allocations: 25.7 kB / 0.8359 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.1573, allocations: 84.14 kB / 0.836 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.1573, allocations: 5.797 kB / 0.836 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.1573, allocations: 13.7 kB / 0.836 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1574, allocations: 314.8 kB / 0.8363 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-06/0.1574, allocations: 0 / 0.8363 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-06/0.1575, allocations: 4 kB / 0.8364 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.315e-05/0.1575, allocations: 8.859 kB / 0.8364 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1575, allocations: 0 / 0.8364 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.377e-05/0.1576, allocations: 33.64 kB / 0.8364 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1576, allocations: 4 kB / 0.8364 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1576, allocations: 4.031 kB / 0.8364 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1576, allocations: 4 kB / 0.8364 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.1576, allocations: 4 kB / 0.8364 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1576, allocations: 0 / 0.8364 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.1577, allocations: 7.984 kB / 0.8364 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.1577, allocations: 0 / 0.8364 GB, free: 4.285 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.0001072/0.1578, allocations: 185.8 kB / 0.8366 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.1578, allocations: 108.9 kB / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.1579, allocations: 111.9 kB / 0.8368 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.157e-05/0.158, allocations: 180.3 kB / 0.837 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.001e-05/0.1581, allocations: 180.2 kB / 0.8371 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.47e-05/0.1581, allocations: 188.1 kB / 0.8373 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.1584, allocations: 356.9 kB / 0.8377 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.506e-05/0.1584, allocations: 104.9 kB / 0.8378 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.1585, allocations: 109 kB / 0.8379 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-05/0.1586, allocations: 180.2 kB / 0.838 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.1586, allocations: 180.2 kB / 0.8382 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.314e-05/0.1587, allocations: 180.3 kB / 0.8384 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.14e-05/0.1588, allocations: 180.2 kB / 0.8386 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.159, allocations: 304 kB / 0.8388 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.159, allocations: 116.9 kB / 0.839 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/0.1591, allocations: 180.3 kB / 0.8391 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.1592, allocations: 108.9 kB / 0.8392 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.1593, allocations: 184.2 kB / 0.8394 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.1593, allocations: 101 kB / 0.8395 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.1594, allocations: 79.22 kB / 0.8396 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1594, allocations: 0 / 0.8396 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002126/0.1596, allocations: 4 kB / 0.8396 GB, free: 0.8477 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.0001428/0.1597, allocations: 170.5 kB / 0.8398 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.321e-05/0.1598, allocations: 12.03 kB / 0.8398 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1598, allocations: 0 / 0.8398 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.1598, allocations: 0 / 0.8398 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.1602, allocations: 465.7 kB / 0.8402 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.1604, allocations: 152.3 kB / 0.8404 GB, free: 24 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.714e-05/0.1605, allocations: 59.3 kB / 0.8404 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.067e-05/0.1605, allocations: 0 / 0.8404 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.1605, allocations: 7.438 kB / 0.8404 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.1605, allocations: 0 / 0.8404 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of Templates: time 0.002055/0.1626, allocations: 179.6 kB / 0.8406 GB, free: 15.81 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.875927731394768] Failed to read output from testmodel.py, exit status != 0: 0.16975274868309498 0.18574379899999996 0.026740966 Calling exit ...