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.001476/0.001476, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001762/0.001762, allocations: 213.4 kB / 23.01 MB, free: 4.566 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002612/0.002612, allocations: 288.1 kB / 313.5 MB, free: 2.836 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.26/1.26, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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.00288/0.00288, allocations: 105.7 kB / 0.7409 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1962, allocations: 95.39 MB / 0.834 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00257/0.1988, allocations: 1.271 MB / 0.8352 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1999, allocations: 0.5237 MB / 0.8358 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.1999, allocations: 0 / 0.8358 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.1999, allocations: 0 / 0.8358 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.2, allocations: 7.922 kB / 0.8358 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.2004, allocations: 59.86 kB / 0.8358 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.2004, allocations: 7.984 kB / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.2005, allocations: 4 kB / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.53e-05/0.2005, allocations: 3.984 kB / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.2005, allocations: 8 kB / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.2005, allocations: 0 / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.2007, allocations: 87.75 kB / 0.8359 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.2008, allocations: 15.98 kB / 0.8359 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.2008, allocations: 7.938 kB / 0.836 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.201, allocations: 67.77 kB / 0.836 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.201, allocations: 0 / 0.836 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.201, allocations: 0 / 0.836 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.201, allocations: 0 / 0.836 GB, free: 6.07 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.0004091/0.2014, allocations: 258.3 kB / 0.8363 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2015, allocations: 13.22 kB / 0.8363 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.2015, allocations: 8.922 kB / 0.8363 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.255e-05/0.2016, allocations: 106.5 kB / 0.8364 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2016, allocations: 4.375 kB / 0.8364 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.2016, allocations: 4.375 kB / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2018, allocations: 57.94 kB / 0.8365 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2018, allocations: 0 / 0.8365 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2018, allocations: 4 kB / 0.8365 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2018, allocations: 0 / 0.8365 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.2018, allocations: 8 kB / 0.8365 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.202, allocations: 132.7 kB / 0.8366 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.202, allocations: 30.62 kB / 0.8366 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.2021, allocations: 12.95 kB / 0.8366 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-06/0.2021, allocations: 7.938 kB / 0.8366 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.2022, allocations: 71.27 kB / 0.8367 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2022, allocations: 4 kB / 0.8367 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.000237/0.2024, allocations: 93.67 kB / 0.8368 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2025, allocations: 59.39 kB / 0.8369 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.2025, allocations: 89.86 kB / 0.8369 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.2026, allocations: 33.7 kB / 0.837 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.2026, allocations: 80.14 kB / 0.8371 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.2026, allocations: 23.83 kB / 0.8371 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.2027, allocations: 29.66 kB / 0.8371 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2028, allocations: 322.9 kB / 0.8374 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.2029, allocations: 27.92 kB / 0.8374 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.203, allocations: 59.38 kB / 0.8375 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.2031, allocations: 97.92 kB / 0.8376 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2031, allocations: 0 / 0.8376 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001926/0.2033, allocations: 125.6 kB / 0.8377 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2033, allocations: 7.938 kB / 0.8377 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.2033, allocations: 7.984 kB / 0.8377 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2033, allocations: 0 / 0.8377 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.2034, allocations: 12 kB / 0.8377 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2034, allocations: 0 / 0.8377 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.2035, allocations: 4 kB / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2035, allocations: 8 kB / 0.8377 GB, free: 4.078 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.0001267/0.2036, allocations: 131.6 kB / 0.8379 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.2036, allocations: 7.891 kB / 0.8379 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.2036, allocations: 7.906 kB / 0.8379 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2036, allocations: 4 kB / 0.8379 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2036, allocations: 0 / 0.8379 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2036, allocations: 0 / 0.8379 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.2038, allocations: 124.7 kB / 0.838 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2038, allocations: 0 / 0.838 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-06/0.2038, allocations: 0 / 0.838 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.2038, allocations: 3.938 kB / 0.838 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2038, allocations: 4 kB / 0.838 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2038, allocations: 4 kB / 0.838 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2038, allocations: 0 / 0.838 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.2039, allocations: 105 kB / 0.8381 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.204, allocations: 11.89 kB / 0.8381 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.204, allocations: 7.984 kB / 0.8381 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.204, allocations: 4 kB / 0.8381 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.204, allocations: 4 kB / 0.8381 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.204, allocations: 4 kB / 0.8381 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.2041, allocations: 83.25 kB / 0.8382 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2041, allocations: 0 / 0.8382 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002296/0.2043, allocations: 19.94 kB / 0.8382 GB, free: 3.488 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.0001944/0.2045, allocations: 127.2 kB / 0.8384 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.2046, allocations: 55.91 kB / 0.8384 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2046, allocations: 448 / 0.8384 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.2047, allocations: 23.92 kB / 0.8384 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.2048, allocations: 0 / 0.8384 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.2051, allocations: 145.6 kB / 0.8386 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.2055, allocations: 0.6768 MB / 0.8392 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.2055, allocations: 11.44 kB / 0.8393 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2055, allocations: 0 / 0.8393 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of Templates: time 0.00257/0.2081, allocations: 0.822 MB / 0.8401 GB, free: 1.574 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.773510607890785] Failed to read output from testmodel.py, exit status != 0: 0.21606664219871163 0.231319092 0.027263327 Calling exit ...