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.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.001247/0.001247, allocations: 112.7 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.001367/0.001367, allocations: 189.4 kB / 22.23 MB, free: 5.105 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.357/1.357, allocations: 225.6 MB / 251 MB, free: 13.03 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.002432/0.002432, allocations: 289.5 kB / 306.6 MB, free: 8.402 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.173/1.173, allocations: 180.9 MB / 0.53 GB, free: 14.36 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.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes")
translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 106.6 kB / 0.7309 GB, free: 38.7 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.154, allocations: 94.19 MB / 0.8229 GB, free: 1.793 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002795/0.1568, allocations: 1.293 MB / 0.8241 GB, free: 0.4922 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0009149/0.1577, allocations: 460.4 kB / 0.8246 GB, free: 40 kB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.1578, allocations: 0 / 0.8246 GB, free: 40 kB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.1579, allocations: 3.938 kB / 0.8246 GB, free: 36 kB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.1579, allocations: 11.94 kB / 0.8246 GB, free: 24 kB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.1583, allocations: 39.88 kB / 0.8246 GB, free: 15.98 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1584, allocations: 19.92 kB / 0.8246 GB, free: 15.96 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.1585, allocations: 4 kB / 0.8246 GB, free: 15.96 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.1585, allocations: 8 kB / 0.8247 GB, free: 15.95 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1586, allocations: 19.91 kB / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1586, allocations: 0 / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.1588, allocations: 43.89 kB / 0.8247 GB, free: 15.89 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.1589, allocations: 19.97 kB / 0.8247 GB, free: 15.87 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.1589, allocations: 15.88 kB / 0.8248 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1591, allocations: 63.73 kB / 0.8248 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1591, allocations: 0 / 0.8248 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.904e-06/0.1591, allocations: 3.938 kB / 0.8248 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.652e-06/0.1591, allocations: 0 / 0.8248 GB, free: 15.79 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.0004291/0.1595, allocations: 282.1 kB / 0.8251 GB, free: 15.48 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.1596, allocations: 8.031 kB / 0.8251 GB, free: 15.48 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1596, allocations: 4.891 kB / 0.8251 GB, free: 15.47 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1598, allocations: 121.4 kB / 0.8252 GB, free: 15.33 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-06/0.1598, allocations: 4.375 kB / 0.8252 GB, free: 15.33 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1598, allocations: 4.375 kB / 0.8252 GB, free: 15.32 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1599, allocations: 51.72 kB / 0.8253 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1599, allocations: 0 / 0.8253 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1599, allocations: 0 / 0.8253 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1599, allocations: 0 / 0.8253 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.958e-05/0.1599, allocations: 15.86 kB / 0.8253 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.1601, allocations: 141.7 kB / 0.8254 GB, free: 15.06 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.962e-05/0.1602, allocations: 37.22 kB / 0.8255 GB, free: 15.01 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.1602, allocations: 17.77 kB / 0.8255 GB, free: 14.98 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.1602, allocations: 0 / 0.8255 GB, free: 14.98 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1603, allocations: 46.44 kB / 0.8255 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1603, allocations: 4 kB / 0.8255 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2): time 0.0001496/0.1604, allocations: 49.58 kB / 0.8256 GB, free: 14.87 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.1605, allocations: 77.11 kB / 0.8256 GB, free: 14.78 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1606, allocations: 145.7 kB / 0.8258 GB, free: 14.62 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1606, allocations: 25.7 kB / 0.8258 GB, free: 14.59 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.1607, allocations: 88.12 kB / 0.8259 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.1607, allocations: 11.89 kB / 0.8259 GB, free: 14.49 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.1608, allocations: 25.95 kB / 0.8259 GB, free: 14.46 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001412/0.1609, allocations: 318.8 kB / 0.8262 GB, free: 14.14 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.161, allocations: 27.98 kB / 0.8263 GB, free: 14.11 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.161, allocations: 27.98 kB / 0.8263 GB, free: 14.09 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/0.1611, allocations: 43.72 kB / 0.8263 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1611, allocations: 4 kB / 0.8263 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001379/0.1612, allocations: 105.5 kB / 0.8264 GB, free: 13.93 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1612, allocations: 11.94 kB / 0.8264 GB, free: 13.92 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.1612, allocations: 0 / 0.8264 GB, free: 13.92 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1613, allocations: 0 / 0.8264 GB, free: 13.92 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.1613, allocations: 8 kB / 0.8264 GB, free: 13.91 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1613, allocations: 0 / 0.8264 GB, free: 13.91 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.1613, allocations: 7.891 kB / 0.8265 GB, free: 13.9 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1613, allocations: 4 kB / 0.8265 GB, free: 13.9 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 9.694e-05/0.1614, allocations: 118.5 kB / 0.8266 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.1615, allocations: 7.891 kB / 0.8266 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.1615, allocations: 3.469 kB / 0.8266 GB, free: 13.76 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1615, allocations: 4 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1615, allocations: 0 / 0.8266 GB, free: 13.75 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1615, allocations: 4 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.1616, allocations: 128.8 kB / 0.8267 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1616, allocations: 0 / 0.8267 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.1616, allocations: 8 kB / 0.8267 GB, free: 13.57 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1616, allocations: 3.938 kB / 0.8267 GB, free: 13.57 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.1617, allocations: 0 / 0.8267 GB, free: 13.57 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.1617, allocations: 7.922 kB / 0.8267 GB, free: 13.56 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1617, allocations: 4 kB / 0.8267 GB, free: 13.56 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.876e-05/0.1617, allocations: 66 kB / 0.8268 GB, free: 13.47 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.1618, allocations: 15.88 kB / 0.8268 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1618, allocations: 3.938 kB / 0.8268 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.1618, allocations: 0 / 0.8268 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.1618, allocations: 4 kB / 0.8268 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1618, allocations: 0 / 0.8268 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 7.624e-05/0.1619, allocations: 99.27 kB / 0.8269 GB, free: 13.35 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1619, allocations: 0 / 0.8269 GB, free: 13.35 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002206/0.1621, allocations: 24.02 kB / 0.8269 GB, free: 13.33 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.0001797/0.1623, allocations: 119.1 kB / 0.8271 GB, free: 13.2 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001532/0.1624, allocations: 73.67 kB / 0.8271 GB, free: 13.12 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1624, allocations: 0 / 0.8271 GB, free: 13.12 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 2.291e-05/0.1625, allocations: 7.984 kB / 0.8271 GB, free: 13.12 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.1626, allocations: 4 kB / 0.8271 GB, free: 13.11 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.1629, allocations: 159 kB / 0.8273 GB, free: 12.93 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.1633, allocations: 0.6807 MB / 0.828 GB, free: 12.22 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 2.305e-05/0.1633, allocations: 7.984 kB / 0.828 GB, free: 12.21 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.1633, allocations: 7.438 kB / 0.828 GB, free: 12.21 MB / 0.5762 GB
Notification: Performance of SimCode: time 5.41e-07/0.1633, allocations: 0 / 0.828 GB, free: 12.21 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003257/0.1666, allocations: 0.5638 MB / 0.8285 GB, free: 11.69 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile [Timeout 660]
(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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.705058556981385]
Failed to read output from testmodel.py, exit status != 0:
0.1744850743561983 0.19619133499999994 0.033751011000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f81fac217b0>