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.001424/0.001424, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00176/0.00176, allocations: 218.3 kB / 23 MB, free: 4.914 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.002741/0.002741, allocations: 292.1 kB / 313.5 MB, free: 2.629 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.309/1.309, allocations: 180.6 MB / 0.5377 GB, free: 14.62 MB / 382.1 MB " [Timeout remaining time 178] 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.003038/0.003038, allocations: 101.1 kB / 0.7408 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1909, allocations: 95.39 MB / 0.8339 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002541/0.1934, allocations: 1.262 MB / 0.8352 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1945, allocations: 496.3 kB / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.1945, allocations: 0 / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.1945, allocations: 0 / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/0.1946, allocations: 0 / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.195, allocations: 59.86 kB / 0.8357 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.195, allocations: 19.91 kB / 0.8357 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/0.1951, allocations: 0 / 0.8357 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.1951, allocations: 8 kB / 0.8357 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.1952, allocations: 15.92 kB / 0.8357 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.1952, allocations: 0 / 0.8357 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.1954, allocations: 71.81 kB / 0.8358 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.1954, allocations: 7.938 kB / 0.8358 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.1955, allocations: 4 kB / 0.8358 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1956, allocations: 67.78 kB / 0.8359 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1956, allocations: 0 / 0.8359 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1956, allocations: 0 / 0.8359 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.1956, allocations: 0 / 0.8359 GB, free: 5.852 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.0004025/0.196, allocations: 262.3 kB / 0.8361 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1961, allocations: 9.219 kB / 0.8361 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.1961, allocations: 0.9375 kB / 0.8361 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.1962, allocations: 114.5 kB / 0.8362 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1962, allocations: 4.375 kB / 0.8362 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.1962, allocations: 8.359 kB / 0.8362 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1963, allocations: 50 kB / 0.8363 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1964, allocations: 0 / 0.8363 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1964, allocations: 4 kB / 0.8363 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1964, allocations: 0 / 0.8363 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.161e-05/0.1964, allocations: 8 kB / 0.8363 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1965, allocations: 109.3 kB / 0.8364 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/0.1966, allocations: 30.58 kB / 0.8364 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.1966, allocations: 16.88 kB / 0.8365 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.1966, allocations: 0 / 0.8365 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.1968, allocations: 71.47 kB / 0.8365 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1968, allocations: 0 / 0.8365 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0002279/0.197, allocations: 97.55 kB / 0.8366 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1971, allocations: 55.41 kB / 0.8367 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.1972, allocations: 97.84 kB / 0.8368 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1972, allocations: 33.73 kB / 0.8368 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.1972, allocations: 84.12 kB / 0.8369 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1972, allocations: 23.78 kB / 0.8369 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.1973, allocations: 33.7 kB / 0.8369 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1975, allocations: 310.8 kB / 0.8372 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/0.1975, allocations: 19.98 kB / 0.8372 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.1976, allocations: 69.98 kB / 0.8373 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1977, allocations: 101.9 kB / 0.8374 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1977, allocations: 0 / 0.8374 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000168/0.1979, allocations: 113.5 kB / 0.8375 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1979, allocations: 8 kB / 0.8375 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.1979, allocations: 3.938 kB / 0.8375 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1979, allocations: 4.219 kB / 0.8375 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.198, allocations: 27.86 kB / 0.8376 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.198, allocations: 4 kB / 0.8376 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.1981, allocations: 0 / 0.8376 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1981, allocations: 4 kB / 0.8376 GB, free: 3.895 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.0001044/0.1982, allocations: 124.4 kB / 0.8377 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.1982, allocations: 11.94 kB / 0.8377 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.1982, allocations: 7.844 kB / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1982, allocations: 0 / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1982, allocations: 0 / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1982, allocations: 4 kB / 0.8377 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.1983, allocations: 101.3 kB / 0.8378 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1983, allocations: 0 / 0.8378 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-06/0.1983, allocations: 3.938 kB / 0.8378 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.1983, allocations: 0 / 0.8378 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1984, allocations: 7.984 kB / 0.8378 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1984, allocations: 3.938 kB / 0.8378 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1984, allocations: 0 / 0.8378 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.1985, allocations: 97.12 kB / 0.8379 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.1985, allocations: 3.984 kB / 0.8379 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1985, allocations: 4 kB / 0.8379 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.1985, allocations: 11.97 kB / 0.8379 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.1986, allocations: 0 / 0.8379 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1986, allocations: 4 kB / 0.8379 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.1986, allocations: 75.28 kB / 0.838 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1986, allocations: 0 / 0.838 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002249/0.1988, allocations: 27.88 kB / 0.838 GB, free: 3.355 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.000194/0.199, allocations: 124.3 kB / 0.8382 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1992, allocations: 59.97 kB / 0.8382 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1992, allocations: 0 / 0.8382 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.1992, allocations: 19.98 kB / 0.8382 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.1994, allocations: 0 / 0.8382 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.1997, allocations: 139.3 kB / 0.8384 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.1997, allocations: 63.34 kB / 0.8384 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.1997, allocations: 11.44 kB / 0.8384 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.1997, allocations: 0 / 0.8384 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of Templates: time 0.002503/0.2022, allocations: 0.8438 MB / 0.8393 GB, free: 2.051 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: 8.95938846282661] Failed to read output from testmodel.py, exit status != 0: 0.20976945478469133 0.22465638400000001 0.026055991 Calling exit ...