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.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.001295/0.001295, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001479/0.001479, allocations: 161.9 kB / 22.46 MB, free: 5.359 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.003611/0.003611, allocations: 233.6 kB / 259.4 MB, free: 480 kB / 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.071/1.071, allocations: 138.4 MB / 454.3 MB, free: 1.996 MB / 366.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.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 1.222e-06/1.222e-06, allocations: 0 / 0.6468 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.543e-05, allocations: 6.219 kB / 0.6468 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002165/0.002191, allocations: 1.278 MB / 0.6481 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.003207, allocations: 494.6 kB / 0.6486 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.003224, allocations: 0 / 0.6486 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.003253, allocations: 0 / 0.6486 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.003325, allocations: 4 kB / 0.6486 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.003672, allocations: 59.8 kB / 0.6486 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.003728, allocations: 11.98 kB / 0.6486 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.00378, allocations: 7.984 kB / 0.6486 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.003811, allocations: 0 / 0.6486 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.003849, allocations: 7.938 kB / 0.6487 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.00386, allocations: 0 / 0.6487 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.004036, allocations: 87.69 kB / 0.6487 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.004088, allocations: 7.984 kB / 0.6487 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.004126, allocations: 11.94 kB / 0.6488 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.004273, allocations: 59.91 kB / 0.6488 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004275, allocations: 0 / 0.6488 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004276, allocations: 4 kB / 0.6488 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.004284, allocations: 0 / 0.6488 GB, free: 2.93 MB / 0.5606 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.0003677/0.004651, allocations: 262.3 kB / 0.6491 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.004703, allocations: 9.344 kB / 0.6491 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.004741, allocations: 8.891 kB / 0.6491 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.009e-05/0.004831, allocations: 109.7 kB / 0.6492 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.00484, allocations: 4.375 kB / 0.6492 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.004856, allocations: 4.375 kB / 0.6492 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.004979, allocations: 50.25 kB / 0.6492 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004987, allocations: 192 / 0.6492 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.004995, allocations: 4.375 kB / 0.6492 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.005002, allocations: 7.922 kB / 0.6493 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.005033, allocations: 11.98 kB / 0.6493 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.005165, allocations: 105.3 kB / 0.6494 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.628e-05/0.005222, allocations: 30.5 kB / 0.6494 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.005247, allocations: 13.02 kB / 0.6494 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-06/0.005253, allocations: 4 kB / 0.6494 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.005386, allocations: 63.39 kB / 0.6495 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.005388, allocations: 0 / 0.6495 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.00022/0.005608, allocations: 89.67 kB / 0.6496 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.00566, allocations: 79.3 kB / 0.6496 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.727e-05/0.005717, allocations: 93.81 kB / 0.6497 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.005741, allocations: 25.7 kB / 0.6497 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.005784, allocations: 88.14 kB / 0.6498 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.00581, allocations: 15.94 kB / 0.6498 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.005874, allocations: 21.72 kB / 0.6499 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.006023, allocations: 318.8 kB / 0.6502 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.006077, allocations: 23.98 kB / 0.6502 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.006149, allocations: 62 kB / 0.6503 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.006294, allocations: 105.9 kB / 0.6504 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006296, allocations: 0 / 0.6504 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001696/0.006466, allocations: 109.5 kB / 0.6505 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.006483, allocations: 12.22 kB / 0.6505 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.006488, allocations: 0 / 0.6505 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.006504, allocations: 4 kB / 0.6505 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.006589, allocations: 15.92 kB / 0.6505 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.006609, allocations: 7.938 kB / 0.6505 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/0.006645, allocations: 15.88 kB / 0.6505 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.006654, allocations: 4 kB / 0.6505 GB, free: 0.9727 MB / 0.5606 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.0001027/0.006757, allocations: 124 kB / 0.6506 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.006768, allocations: 3.953 kB / 0.6506 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.00679, allocations: 7.969 kB / 0.6506 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006792, allocations: 0 / 0.6506 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.006801, allocations: 7.938 kB / 0.6507 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.006804, allocations: 0 / 0.6507 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.006917, allocations: 101.3 kB / 0.6508 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006918, allocations: 0 / 0.6508 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-06/0.006923, allocations: 3.938 kB / 0.6508 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.006925, allocations: 0 / 0.6508 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.006934, allocations: 11.94 kB / 0.6508 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006935, allocations: 0 / 0.6508 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006936, allocations: 0 / 0.6508 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.00708, allocations: 109 kB / 0.6509 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.007091, allocations: 7.953 kB / 0.6509 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.007107, allocations: 4 kB / 0.6509 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.461e-05/0.007121, allocations: 4 kB / 0.6509 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.00714, allocations: 0 / 0.6509 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.007156, allocations: 7.938 kB / 0.6509 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.007205, allocations: 79.27 kB / 0.651 GB, free: 460 kB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007205, allocations: 0 / 0.651 GB, free: 460 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002277/0.007433, allocations: 19.94 kB / 0.651 GB, free: 440 kB / 0.5606 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.0002018/0.007635, allocations: 131.2 kB / 0.6511 GB, free: 300 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.007774, allocations: 59.84 kB / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.007776, allocations: 0 / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.007802, allocations: 8 kB / 0.6512 GB, free: 232 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.007938, allocations: 10.34 kB / 0.6512 GB, free: 224 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.008234, allocations: 112.9 kB / 0.6513 GB, free: 84 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.594e-05/0.0083, allocations: 63.3 kB / 0.6514 GB, free: 0 / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.2336/0.2419, allocations: 7.109 kB / 0.6514 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.2419, allocations: 12.19 kB / 0.6514 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.2419, allocations: 0.5312 kB / 0.6514 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.00309/0.245, allocations: 0.6908 MB / 0.652 GB, free: 56.79 MB / 0.5606 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.638566996902227] Failed to read output from testmodel.py, exit status != 0: 0.252348929643631 0.26136769200000004 0.254956999 Calling exit ...