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.001403/0.001403, allocations: 110.1 kB / 19.58 MB, free: 2.336 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.001474/0.001474, allocations: 188.4 kB / 22.85 MB, free: 5.641 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.293/1.293, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 179] 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.002377/0.002377, allocations: 288.5 kB / 307 MB, free: 8.371 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.1/1.1, allocations: 180.8 MB / 0.5304 GB, free: 14.46 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.002584/0.002584, allocations: 101.5 kB / 0.7311 GB, free: 39.01 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.145, allocations: 94.2 MB / 0.8231 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002433/0.1474, allocations: 1.268 MB / 0.8243 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008964/0.1483, allocations: 484.4 kB / 0.8248 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.1483, allocations: 4 kB / 0.8248 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.1483, allocations: 7.984 kB / 0.8248 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.188e-05/0.1484, allocations: 3.938 kB / 0.8248 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1487, allocations: 55.84 kB / 0.8249 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.061e-05/0.1488, allocations: 8 kB / 0.8249 GB, free: 172 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.1488, allocations: 4 kB / 0.8249 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.1488, allocations: 11.92 kB / 0.8249 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.1489, allocations: 11.92 kB / 0.8249 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.1489, allocations: 0 / 0.8249 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.149, allocations: 83.77 kB / 0.825 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.1491, allocations: 11.98 kB / 0.825 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.1491, allocations: 7.938 kB / 0.825 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1493, allocations: 55.92 kB / 0.8251 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1493, allocations: 0 / 0.8251 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1493, allocations: 0 / 0.8251 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.1493, allocations: 0 / 0.8251 GB, free: 15.98 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.0003392/0.1496, allocations: 266.2 kB / 0.8253 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.1496, allocations: 11.97 kB / 0.8253 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.1497, allocations: 8.938 kB / 0.8253 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.51e-05/0.1497, allocations: 102.5 kB / 0.8254 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1498, allocations: 4.375 kB / 0.8254 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.1498, allocations: 4.375 kB / 0.8254 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1499, allocations: 53.94 kB / 0.8255 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1499, allocations: 0 / 0.8255 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.1499, allocations: 4 kB / 0.8255 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1499, allocations: 0 / 0.8255 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.735e-05/0.1499, allocations: 11.98 kB / 0.8255 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.1501, allocations: 128.8 kB / 0.8256 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/0.1501, allocations: 26.64 kB / 0.8257 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.1501, allocations: 12.95 kB / 0.8257 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.1501, allocations: 0 / 0.8257 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.1503, allocations: 75.27 kB / 0.8257 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1503, allocations: 0 / 0.8257 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0001998/0.1505, allocations: 105.6 kB / 0.8258 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1505, allocations: 55.41 kB / 0.8259 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.1506, allocations: 89.86 kB / 0.826 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1506, allocations: 37.69 kB / 0.826 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.1506, allocations: 80.14 kB / 0.8261 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.1507, allocations: 19.84 kB / 0.8261 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.1507, allocations: 33.7 kB / 0.8261 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1508, allocations: 314.8 kB / 0.8264 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.527e-05/0.1509, allocations: 27.95 kB / 0.8265 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.151, allocations: 61.98 kB / 0.8265 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1511, allocations: 97.94 kB / 0.8266 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1511, allocations: 0 / 0.8266 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001651/0.1512, allocations: 117.5 kB / 0.8267 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1513, allocations: 8.156 kB / 0.8267 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1513, allocations: 8 kB / 0.8267 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1513, allocations: 4 kB / 0.8268 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.1514, allocations: 11.94 kB / 0.8268 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1514, allocations: 7.984 kB / 0.8268 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.1514, allocations: 3.953 kB / 0.8268 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.1514, allocations: 11.94 kB / 0.8268 GB, free: 13.99 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 9.28e-05/0.1515, allocations: 126.4 kB / 0.8269 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1515, allocations: 7.938 kB / 0.8269 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.1515, allocations: 7.906 kB / 0.8269 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1515, allocations: 3.984 kB / 0.8269 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1515, allocations: 4 kB / 0.8269 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1515, allocations: 0 / 0.8269 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1517, allocations: 120.7 kB / 0.827 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1517, allocations: 3.984 kB / 0.827 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-06/0.1517, allocations: 3.984 kB / 0.8271 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1517, allocations: 3.938 kB / 0.8271 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1517, allocations: 4 kB / 0.8271 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1517, allocations: 0 / 0.8271 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1517, allocations: 4 kB / 0.8271 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.1518, allocations: 109 kB / 0.8272 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.1518, allocations: 3.938 kB / 0.8272 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1518, allocations: 8 kB / 0.8272 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.121e-05/0.1519, allocations: 0 / 0.8272 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.1519, allocations: 4 kB / 0.8272 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1519, allocations: 0 / 0.8272 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.1519, allocations: 79.31 kB / 0.8273 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1519, allocations: 4 kB / 0.8273 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002264/0.1521, allocations: 23.92 kB / 0.8273 GB, free: 13.4 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.0001774/0.1523, allocations: 123.2 kB / 0.8274 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1524, allocations: 51.91 kB / 0.8275 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1524, allocations: 3.938 kB / 0.8275 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.1525, allocations: 16.44 kB / 0.8275 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.1526, allocations: 4 kB / 0.8275 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.1529, allocations: 130.4 kB / 0.8276 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.1531, allocations: 0.6729 MB / 0.8283 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.1532, allocations: 7.984 kB / 0.8283 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.1532, allocations: 11.44 kB / 0.8283 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.1532, allocations: 0 / 0.8283 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of Templates: time 0.002899/0.1561, allocations: 0.6957 MB / 0.829 GB, free: 11.68 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 -s cvode -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.353883914001926] Failed to read output from testmodel.py, exit status != 0: 0.16296122699714033 0.17746608300000002 0.025350759 Calling exit ...