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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 189.5 kB / 22.22 MB, free: 5.102 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002473/0.002473, allocations: 276.2 kB / 306.5 MB, free: 8.324 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.226/1.226, allocations: 180.9 MB / 0.53 GB, free: 14.37 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 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 98.61 kB / 0.7309 GB, free: 38.98 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1481, allocations: 94.21 MB / 0.8229 GB, free: 1.762 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001706/0.1498, allocations: 0.5518 MB / 0.8234 GB, free: 1.211 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001/0.1508, allocations: 0.7845 MB / 0.8242 GB, free: 424 kB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.1508, allocations: 0 / 0.8242 GB, free: 424 kB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.1508, allocations: 4 kB / 0.8242 GB, free: 420 kB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.1508, allocations: 0 / 0.8242 GB, free: 420 kB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1511, allocations: 19.91 kB / 0.8242 GB, free: 400 kB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 3.905e-05/0.1511, allocations: 0 / 0.8242 GB, free: 400 kB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.1512, allocations: 4 kB / 0.8242 GB, free: 396 kB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.1512, allocations: 4 kB / 0.8242 GB, free: 392 kB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1513, allocations: 19.91 kB / 0.8242 GB, free: 372 kB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.1513, allocations: 4 kB / 0.8242 GB, free: 368 kB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.406e-06/0.1513, allocations: 0 / 0.8242 GB, free: 368 kB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.1513, allocations: 0 / 0.8242 GB, free: 368 kB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.1513, allocations: 4 kB / 0.8242 GB, free: 364 kB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 3.551e-05/0.1514, allocations: 0 / 0.8242 GB, free: 364 kB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1514, allocations: 0 / 0.8242 GB, free: 364 kB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.343e-06/0.1514, allocations: 0 / 0.8242 GB, free: 364 kB / 0.5606 GB
Notification: Performance of Transformations before backend: time 4.439e-06/0.1514, allocations: 0 / 0.8242 GB, free: 364 kB / 0.5606 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.0002611/0.1516, allocations: 238.5 kB / 0.8245 GB, free: 92 kB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1517, allocations: 8.031 kB / 0.8245 GB, free: 84 kB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.144e-05/0.1517, allocations: 4.938 kB / 0.8245 GB, free: 80 kB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.809e-05/0.1518, allocations: 106.5 kB / 0.8246 GB, free: 15.95 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.1518, allocations: 384 / 0.8246 GB, free: 15.95 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1518, allocations: 4.312 kB / 0.8246 GB, free: 15.95 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.761e-05/0.1519, allocations: 26.27 kB / 0.8246 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1519, allocations: 192 / 0.8246 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1519, allocations: 3.938 kB / 0.8246 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1519, allocations: 4 kB / 0.8246 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.436e-05/0.1519, allocations: 0 / 0.8246 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.1522, allocations: 358.6 kB / 0.825 GB, free: 15.51 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.1523, allocations: 173 kB / 0.8251 GB, free: 15.33 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.1524, allocations: 84.14 kB / 0.8252 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.1524, allocations: 75.28 kB / 0.8253 GB, free: 15.17 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.1525, allocations: 109.8 kB / 0.8254 GB, free: 15.05 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1525, allocations: 0 / 0.8254 GB, free: 15.05 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=0): time 7.134e-05/0.1525, allocations: 33.64 kB / 0.8254 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.1526, allocations: 130.6 kB / 0.8255 GB, free: 14.88 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.1527, allocations: 101.7 kB / 0.8256 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1527, allocations: 25.7 kB / 0.8257 GB, free: 14.73 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.1527, allocations: 80.14 kB / 0.8257 GB, free: 14.65 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.1528, allocations: 4.125 kB / 0.8257 GB, free: 14.65 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1528, allocations: 17.72 kB / 0.8258 GB, free: 14.62 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001377/0.1529, allocations: 310.8 kB / 0.8261 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.1529, allocations: 0 / 0.8261 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.1529, allocations: 4 kB / 0.8261 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.153, allocations: 4.859 kB / 0.8261 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.153, allocations: 0 / 0.8261 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 8.942e-05/0.153, allocations: 37.72 kB / 0.8261 GB, free: 14.26 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1531, allocations: 12 kB / 0.8261 GB, free: 14.25 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1531, allocations: 0 / 0.8261 GB, free: 14.25 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1531, allocations: 3.938 kB / 0.8261 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.1531, allocations: 0 / 0.8261 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1531, allocations: 0 / 0.8261 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.1531, allocations: 8 kB / 0.8261 GB, free: 14.23 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.1531, allocations: 0 / 0.8261 GB, free: 14.23 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.0001092/0.1533, allocations: 185.7 kB / 0.8263 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.1533, allocations: 105 kB / 0.8264 GB, free: 13.93 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.624e-05/0.1534, allocations: 117.4 kB / 0.8265 GB, free: 13.81 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.517e-05/0.1535, allocations: 176.3 kB / 0.8267 GB, free: 13.63 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.369e-05/0.1535, allocations: 180.3 kB / 0.8269 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.593e-05/0.1536, allocations: 184.2 kB / 0.827 GB, free: 13.26 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1539, allocations: 384.3 kB / 0.8274 GB, free: 12.84 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/0.1539, allocations: 104.9 kB / 0.8275 GB, free: 12.73 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.154, allocations: 101 kB / 0.8276 GB, free: 12.62 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.64e-05/0.1541, allocations: 180.2 kB / 0.8278 GB, free: 12.44 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.969e-05/0.1542, allocations: 188.2 kB / 0.8279 GB, free: 12.25 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.548e-05/0.1543, allocations: 176.3 kB / 0.8281 GB, free: 12.07 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.721e-05/0.1543, allocations: 188.2 kB / 0.8283 GB, free: 11.88 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.1545, allocations: 304 kB / 0.8286 GB, free: 11.55 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.1546, allocations: 109 kB / 0.8287 GB, free: 11.44 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/0.1547, allocations: 184.2 kB / 0.8289 GB, free: 11.25 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.1548, allocations: 108.9 kB / 0.829 GB, free: 11.14 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.1548, allocations: 180.3 kB / 0.8291 GB, free: 10.96 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.1549, allocations: 105 kB / 0.8292 GB, free: 10.85 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.405e-05/0.155, allocations: 79.28 kB / 0.8293 GB, free: 10.77 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.155, allocations: 3.938 kB / 0.8293 GB, free: 10.77 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002398/0.1552, allocations: 0 / 0.8293 GB, free: 10.77 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.0001563/0.1553, allocations: 182.6 kB / 0.8295 GB, free: 10.57 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 7.051e-05/0.1554, allocations: 7.938 kB / 0.8295 GB, free: 10.57 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1554, allocations: 0 / 0.8295 GB, free: 10.57 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.1554, allocations: 0 / 0.8295 GB, free: 10.57 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1559, allocations: 459.6 kB / 0.8299 GB, free: 10.11 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.1561, allocations: 156.4 kB / 0.8301 GB, free: 9.934 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1564, allocations: 0.6729 MB / 0.8307 GB, free: 9.234 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 1.45e-05/0.1564, allocations: 7.922 kB / 0.8307 GB, free: 9.227 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.1564, allocations: 7.438 kB / 0.8308 GB, free: 9.219 MB / 0.5762 GB
Notification: Performance of SimCode: time 4.21e-07/0.1564, allocations: 0 / 0.8308 GB, free: 9.219 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002205/0.1586, allocations: 191.8 kB / 0.8309 GB, free: 9.082 MB / 0.5762 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.714738276787102]
Failed to read output from testmodel.py, exit status != 0:
0.16581907495856285 0.18155390700000001 0.027106010000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fdbebadd7b0>