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.001448/0.001448, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.001536/0.001536, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.481/1.481, allocations: 225.6 MB / 248.5 MB, free: 3.648 MB / 190.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.002487/0.002487, allocations: 282.2 kB / 303.6 MB, free: 3.699 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.083/1.083, allocations: 180.9 MB / 0.5268 GB, free: 2.703 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.003545/0.003545, allocations: 99.84 kB / 0.726 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6694, allocations: 94.16 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002299/0.6717, allocations: 1.244 MB / 0.8191 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008496/0.6725, allocations: 497.8 kB / 0.8196 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.6725, allocations: 0.9688 kB / 0.8196 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.6726, allocations: 0 / 0.8196 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.868e-05/0.6727, allocations: 0.9062 kB / 0.8196 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.673, allocations: 57.69 kB / 0.8197 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.29e-05/0.6731, allocations: 14.83 kB / 0.8197 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.6731, allocations: 0.8438 kB / 0.8197 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.6731, allocations: 18.11 kB / 0.8197 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.6732, allocations: 3.781 kB / 0.8197 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.6732, allocations: 1 kB / 0.8197 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.6734, allocations: 70.67 kB / 0.8198 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.6734, allocations: 9.688 kB / 0.8198 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.6735, allocations: 15.42 kB / 0.8198 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.6736, allocations: 56.69 kB / 0.8198 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6737, allocations: 1.219 kB / 0.8198 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6737, allocations: 0 / 0.8198 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.6737, allocations: 0 / 0.8198 GB, free: 6.152 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.0003785/0.674, allocations: 344.7 kB / 0.8202 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6741, allocations: 10.03 kB / 0.8202 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.6741, allocations: 2.625 kB / 0.8202 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.83e-05/0.6742, allocations: 168.3 kB / 0.8203 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.6742, allocations: 1.812 kB / 0.8203 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.6742, allocations: 11.06 kB / 0.8204 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.6743, allocations: 54.11 kB / 0.8204 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6743, allocations: 0.75 kB / 0.8204 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.6743, allocations: 0 / 0.8204 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.6743, allocations: 0.8125 kB / 0.8204 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/0.6744, allocations: 7.469 kB / 0.8204 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.6745, allocations: 156.5 kB / 0.8206 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.6745, allocations: 33.78 kB / 0.8206 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.6746, allocations: 16.52 kB / 0.8206 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-06/0.6746, allocations: 0 / 0.8206 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.6747, allocations: 72.41 kB / 0.8207 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.6747, allocations: 0 / 0.8207 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0002086/0.6749, allocations: 99.34 kB / 0.8208 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.6749, allocations: 59.31 kB / 0.8208 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.132e-05/0.6749, allocations: 93.89 kB / 0.8209 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.675, allocations: 33.08 kB / 0.821 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.675, allocations: 80.14 kB / 0.821 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.675, allocations: 23.72 kB / 0.8211 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.675, allocations: 26.88 kB / 0.8211 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.6751, allocations: 319.6 kB / 0.8214 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.673e-05/0.6751, allocations: 24.23 kB / 0.8214 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.275e-05/0.6752, allocations: 66.66 kB / 0.8215 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.6753, allocations: 101.6 kB / 0.8216 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6753, allocations: 0.6562 kB / 0.8216 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001513/0.6754, allocations: 114.6 kB / 0.8217 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6754, allocations: 9.125 kB / 0.8217 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6754, allocations: 2.516 kB / 0.8217 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6755, allocations: 6.5 kB / 0.8217 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.6755, allocations: 18.75 kB / 0.8217 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6756, allocations: 5.391 kB / 0.8217 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.6756, allocations: 10.7 kB / 0.8217 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.6756, allocations: 8.344 kB / 0.8217 GB, free: 4.316 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 6.983e-05/0.6757, allocations: 125 kB / 0.8219 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.6757, allocations: 5.094 kB / 0.8219 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.6757, allocations: 3.969 kB / 0.8219 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.6757, allocations: 5.125 kB / 0.8219 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6757, allocations: 11.94 kB / 0.8219 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.6757, allocations: 0 / 0.8219 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.738e-05/0.6758, allocations: 146.3 kB / 0.822 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6758, allocations: 0 / 0.822 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-06/0.6758, allocations: 8.516 kB / 0.822 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6758, allocations: 3.938 kB / 0.822 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.6758, allocations: 1.25 kB / 0.822 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.6758, allocations: 0 / 0.822 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6758, allocations: 1.281 kB / 0.822 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.6759, allocations: 109.3 kB / 0.8221 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.676, allocations: 81.86 kB / 0.8222 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.676, allocations: 7.859 kB / 0.8222 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.229e-05/0.676, allocations: 0 / 0.8222 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.676, allocations: 9.938 kB / 0.8222 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.676, allocations: 1.969 kB / 0.8222 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.344e-05/0.676, allocations: 76.28 kB / 0.8223 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4e-08/0.676, allocations: 0 / 0.8223 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002318/0.6763, allocations: 21.88 kB / 0.8223 GB, free: 3.715 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.0001813/0.6765, allocations: 131.7 kB / 0.8225 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.6766, allocations: 56.41 kB / 0.8225 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6766, allocations: 0 / 0.8225 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.6766, allocations: 10.62 kB / 0.8225 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.6768, allocations: 2.484 kB / 0.8225 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.677, allocations: 154.9 kB / 0.8227 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.6772, allocations: 0.6789 MB / 0.8233 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.6772, allocations: 9.531 kB / 0.8233 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.6772, allocations: 0 / 0.8233 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of Templates: time 0.002521/0.6797, allocations: 0.8239 MB / 0.8241 GB, free: 2.699 MB / 0.5762 GB " [Timeout remaining time 659] 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: 9.218538807006553] Failed to read output from testmodel.py, exit status != 0: 0.6883306070230901 0.699869622 0.022901581 Calling exit ...