Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.001242/0.001242, allocations: 110 kB / 18.93 MB, free: 2.945 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.001363/0.001363, allocations: 184.9 kB / 22.23 MB, free: 5.16 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.361/1.361, 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.002434/0.002434, allocations: 288.8 kB / 306.6 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.179/1.179, allocations: 180.9 MB / 0.53 GB, free: 14.35 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.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002708/0.002708, allocations: 106.9 kB / 0.7309 GB, free: 38.68 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1565, allocations: 94.2 MB / 0.8229 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002322/0.1588, allocations: 1.25 MB / 0.8241 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.1597, allocations: 0.4885 MB / 0.8246 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.1597, allocations: 0 / 0.8246 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.1597, allocations: 0 / 0.8246 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.1598, allocations: 11.94 kB / 0.8246 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.1602, allocations: 55.84 kB / 0.8246 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.1602, allocations: 11.98 kB / 0.8247 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.1603, allocations: 7.938 kB / 0.8247 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.1603, allocations: 8 kB / 0.8247 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.1603, allocations: 4 kB / 0.8247 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1604, allocations: 3.984 kB / 0.8247 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.1605, allocations: 87.81 kB / 0.8248 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1606, allocations: 11.92 kB / 0.8248 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.1607, allocations: 15.92 kB / 0.8248 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.1608, allocations: 55.86 kB / 0.8248 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1608, allocations: 0 / 0.8248 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1608, allocations: 0 / 0.8248 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.1608, allocations: 0 / 0.8248 GB, free: 15.77 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003968/0.1612, allocations: 278.2 kB / 0.8251 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1612, allocations: 8.031 kB / 0.8251 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.1613, allocations: 0.9375 kB / 0.8251 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.428e-05/0.1614, allocations: 106.5 kB / 0.8252 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1614, allocations: 384 / 0.8252 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1614, allocations: 4.375 kB / 0.8252 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1615, allocations: 53.94 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1616, allocations: 3.938 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.1616, allocations: 4 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1616, allocations: 0 / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.145e-05/0.1616, allocations: 15.98 kB / 0.8253 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1617, allocations: 124.8 kB / 0.8254 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.1618, allocations: 22.58 kB / 0.8254 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.1618, allocations: 17.02 kB / 0.8254 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.1618, allocations: 0 / 0.8254 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.162, allocations: 83.22 kB / 0.8255 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.162, allocations: 0 / 0.8255 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0002195/0.1622, allocations: 93.67 kB / 0.8256 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.1623, allocations: 59.41 kB / 0.8257 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.856e-05/0.1623, allocations: 89.86 kB / 0.8258 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1623, allocations: 29.69 kB / 0.8258 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.1624, allocations: 88.14 kB / 0.8259 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1624, allocations: 11.84 kB / 0.8259 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.1625, allocations: 37.73 kB / 0.8259 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1626, allocations: 314.8 kB / 0.8262 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.1626, allocations: 19.98 kB / 0.8262 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.1627, allocations: 76.55 kB / 0.8263 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1628, allocations: 93.94 kB / 0.8264 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1628, allocations: 0 / 0.8264 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001741/0.163, allocations: 121.4 kB / 0.8265 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.163, allocations: 11.94 kB / 0.8265 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.163, allocations: 0 / 0.8265 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1631, allocations: 4 kB / 0.8265 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.1631, allocations: 8 kB / 0.8265 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1631, allocations: 7.984 kB / 0.8265 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.1632, allocations: 8 kB / 0.8266 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1632, allocations: 7.938 kB / 0.8266 GB, free: 13.78 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001069/0.1633, allocations: 130.6 kB / 0.8267 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.1633, allocations: 3.938 kB / 0.8267 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.1633, allocations: 3.906 kB / 0.8267 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1633, allocations: 3.984 kB / 0.8267 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1633, allocations: 0 / 0.8267 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1633, allocations: 4 kB / 0.8267 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.1635, allocations: 128.7 kB / 0.8268 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1635, allocations: 4 kB / 0.8268 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-06/0.1635, allocations: 3.984 kB / 0.8268 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1635, allocations: 7.938 kB / 0.8268 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1635, allocations: 0 / 0.8268 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1635, allocations: 0 / 0.8268 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1635, allocations: 3.938 kB / 0.8268 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.1636, allocations: 109 kB / 0.8269 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.1636, allocations: 3.938 kB / 0.827 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1637, allocations: 4 kB / 0.827 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.22e-05/0.1637, allocations: 32 / 0.827 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.1637, allocations: 8 kB / 0.827 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1637, allocations: 3.984 kB / 0.827 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.1638, allocations: 75.28 kB / 0.827 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1638, allocations: 0 / 0.827 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002281/0.164, allocations: 31.92 kB / 0.8271 GB, free: 13.19 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: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001971/0.1642, allocations: 119.2 kB / 0.8272 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.1643, allocations: 55.91 kB / 0.8272 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1643, allocations: 0 / 0.8272 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.1644, allocations: 19.94 kB / 0.8273 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1645, allocations: 1.172 kB / 0.8273 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.1648, allocations: 129.5 kB / 0.8274 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1651, allocations: 0.6729 MB / 0.828 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.1651, allocations: 8.484 kB / 0.828 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.1651, allocations: 15.44 kB / 0.8281 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1651, allocations: 0 / 0.8281 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of Templates: time 0.003272/0.1684, allocations: 0.6996 MB / 0.8287 GB, free: 11.46 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.672709392383695] Failed to read output from testmodel.py, exit status != 0: 0.17531142476946115 0.19038296300000002 0.026594521000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5a2f63d7b0>