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.001328/0.001328, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001496/0.001496, allocations: 210.8 kB / 22.24 MB, free: 5.266 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.002679/0.002679, allocations: 299.4 kB / 312.7 MB, free: 2.586 MB / 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.225/1.225, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 101.8 kB / 0.74 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1688, allocations: 95.38 MB / 0.8332 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002587/0.1714, allocations: 1.28 MB / 0.8344 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1724, allocations: 492.4 kB / 0.8349 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.1724, allocations: 0 / 0.8349 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.1724, allocations: 0 / 0.8349 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.894e-05/0.1725, allocations: 0 / 0.8349 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.1729, allocations: 63.86 kB / 0.835 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.1729, allocations: 11.98 kB / 0.835 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.173, allocations: 0 / 0.835 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.173, allocations: 7.938 kB / 0.835 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.173, allocations: 19.91 kB / 0.835 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.173, allocations: 0 / 0.835 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1732, allocations: 63.84 kB / 0.8351 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.1733, allocations: 7.984 kB / 0.8351 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.1733, allocations: 4 kB / 0.8351 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1735, allocations: 71.78 kB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1735, allocations: 0 / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1735, allocations: 0 / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.1735, allocations: 0 / 0.8351 GB, free: 5.797 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.0003802/0.1739, allocations: 258.3 kB / 0.8354 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1739, allocations: 8.625 kB / 0.8354 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.1739, allocations: 0.9375 kB / 0.8354 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.174, allocations: 106.5 kB / 0.8355 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.174, allocations: 8.359 kB / 0.8355 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.174, allocations: 8.312 kB / 0.8355 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1742, allocations: 54 kB / 0.8356 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1742, allocations: 7.922 kB / 0.8356 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1742, allocations: 4 kB / 0.8356 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1742, allocations: 0 / 0.8356 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.1742, allocations: 8 kB / 0.8356 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.1743, allocations: 105.3 kB / 0.8357 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.058e-05/0.1744, allocations: 26.64 kB / 0.8357 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.1744, allocations: 16.83 kB / 0.8357 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.1744, allocations: 0 / 0.8357 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.1746, allocations: 75.38 kB / 0.8358 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1746, allocations: 4 kB / 0.8358 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0002099/0.1748, allocations: 93.61 kB / 0.8359 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1748, allocations: 63.34 kB / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/0.1749, allocations: 93.86 kB / 0.836 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.1749, allocations: 33.69 kB / 0.8361 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.175, allocations: 80.14 kB / 0.8361 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.175, allocations: 19.84 kB / 0.8362 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.175, allocations: 33.7 kB / 0.8362 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1752, allocations: 310.8 kB / 0.8365 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.1752, allocations: 19.98 kB / 0.8365 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.1753, allocations: 74.02 kB / 0.8366 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1754, allocations: 97.88 kB / 0.8367 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1754, allocations: 0 / 0.8367 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001779/0.1756, allocations: 117.5 kB / 0.8368 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1756, allocations: 8 kB / 0.8368 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.1756, allocations: 3.938 kB / 0.8368 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1757, allocations: 4 kB / 0.8368 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.1757, allocations: 12 kB / 0.8368 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.1758, allocations: 11.92 kB / 0.8368 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.1758, allocations: 0 / 0.8368 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1758, allocations: 4 kB / 0.8368 GB, free: 3.848 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.0001048/0.1759, allocations: 126.6 kB / 0.8369 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.1759, allocations: 7.953 kB / 0.837 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.1759, allocations: 11.83 kB / 0.837 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1759, allocations: 0 / 0.837 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1759, allocations: 4 kB / 0.837 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1759, allocations: 0 / 0.837 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1761, allocations: 105.3 kB / 0.8371 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1761, allocations: 0 / 0.8371 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-06/0.1761, allocations: 0 / 0.8371 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1761, allocations: 0 / 0.8371 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1761, allocations: 4 kB / 0.8371 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1761, allocations: 11.88 kB / 0.8371 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1761, allocations: 3.938 kB / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.1762, allocations: 101.1 kB / 0.8372 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-06/0.1762, allocations: 3.938 kB / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1762, allocations: 7.984 kB / 0.8372 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.722e-05/0.1763, allocations: 7.938 kB / 0.8372 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.1763, allocations: 0 / 0.8372 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1763, allocations: 4 kB / 0.8372 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.1763, allocations: 75.28 kB / 0.8373 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1763, allocations: 0 / 0.8373 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002399/0.1766, allocations: 23.94 kB / 0.8373 GB, free: 3.297 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.0001963/0.1768, allocations: 131.2 kB / 0.8374 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.1769, allocations: 51.86 kB / 0.8375 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1769, allocations: 0 / 0.8375 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-05/0.1769, allocations: 19.98 kB / 0.8375 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1771, allocations: 0.7031 kB / 0.8375 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.1774, allocations: 114.1 kB / 0.8376 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.095e-05/0.1774, allocations: 67.34 kB / 0.8377 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.1774, allocations: 7.984 kB / 0.8377 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.1775, allocations: 7.438 kB / 0.8377 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1775, allocations: 0 / 0.8377 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of Templates: time 0.003327/0.1808, allocations: 0.7029 MB / 0.8384 GB, free: 2.211 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.975052643567324] Failed to read output from testmodel.py, exit status != 0: 0.18800435587763786 0.20386093000000002 0.027248589 Calling exit ...