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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004203/0.004203, allocations: 102.7 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009467/0.0009467, allocations: 191.7 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 283.1 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8991/0.8991, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 95.84 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1388, allocations: 86.97 MB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001979/0.1408, allocations: 1.243 MB / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007717/0.1416, allocations: 490.8 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.1416, allocations: 3.938 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.1417, allocations: 0 / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.1417, allocations: 0.5156 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.142, allocations: 51.81 kB / 0.7682 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.758e-05/0.1421, allocations: 11.98 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.1421, allocations: 0 / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.1422, allocations: 4 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.92e-05/0.1422, allocations: 7.984 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.1422, allocations: 4 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1424, allocations: 67.84 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.1424, allocations: 15.98 kB / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.1425, allocations: 7.938 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.1426, allocations: 59.8 kB / 0.7683 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1426, allocations: 3.938 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1426, allocations: 0 / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.1426, allocations: 4 kB / 0.7683 GB, free: 6.426 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.0003215/0.1429, allocations: 339.5 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.143, allocations: 15.97 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.143, allocations: 4.938 kB / 0.7687 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.1431, allocations: 160.4 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.1431, allocations: 384 / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.1431, allocations: 4.375 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.1432, allocations: 50 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.1432, allocations: 0 / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1432, allocations: 4 kB / 0.7689 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1432, allocations: 0 / 0.7689 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.1433, allocations: 15.98 kB / 0.7689 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.1434, allocations: 157.6 kB / 0.7691 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.1435, allocations: 34.58 kB / 0.7691 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.1435, allocations: 16.95 kB / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.1435, allocations: 0 / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.1436, allocations: 71.31 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.1436, allocations: 4 kB / 0.7692 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0001832/0.1438, allocations: 105.5 kB / 0.7693 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1439, allocations: 59.41 kB / 0.7693 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.859e-05/0.1439, allocations: 93.84 kB / 0.7694 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1439, allocations: 29.7 kB / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.144, allocations: 84.14 kB / 0.7695 GB, free: 5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.144, allocations: 15.81 kB / 0.7695 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.144, allocations: 25.7 kB / 0.7696 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1441, allocations: 322.9 kB / 0.7699 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.1442, allocations: 19.98 kB / 0.7699 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.1442, allocations: 65.98 kB / 0.77 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1444, allocations: 97.88 kB / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.1444, allocations: 4 kB / 0.7701 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001492/0.1445, allocations: 113.7 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1445, allocations: 11.88 kB / 0.7702 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1446, allocations: 4 kB / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1446, allocations: 4 kB / 0.7702 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.1447, allocations: 15.94 kB / 0.7702 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1447, allocations: 3.984 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.1447, allocations: 11.91 kB / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1447, allocations: 4 kB / 0.7702 GB, free: 4.23 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 9.018e-05/0.1448, allocations: 133.9 kB / 0.7703 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-06/0.1448, allocations: 3.938 kB / 0.7703 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.1448, allocations: 15.89 kB / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1449, allocations: 0 / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1449, allocations: 0 / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1449, allocations: 0 / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.145, allocations: 153.7 kB / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.145, allocations: 0 / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-06/0.145, allocations: 0 / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.145, allocations: 3.938 kB / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.145, allocations: 4 kB / 0.7705 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.145, allocations: 4 kB / 0.7705 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.145, allocations: 0 / 0.7705 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1452, allocations: 105.1 kB / 0.7706 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.1452, allocations: 84.95 kB / 0.7707 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1452, allocations: 4 kB / 0.7707 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.1452, allocations: 4 kB / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.1453, allocations: 0 / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1453, allocations: 7.938 kB / 0.7707 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.1453, allocations: 87.33 kB / 0.7708 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1453, allocations: 0 / 0.7708 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002255/0.1455, allocations: 20 kB / 0.7708 GB, free: 3.52 MB / 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.000161/0.1457, allocations: 130.4 kB / 0.7709 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.1458, allocations: 55.91 kB / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1458, allocations: 448 / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/0.1459, allocations: 24 kB / 0.771 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.146, allocations: 9.688 kB / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.1463, allocations: 117.6 kB / 0.7711 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.1465, allocations: 0.6806 MB / 0.7718 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.918e-05/0.1465, allocations: 7.984 kB / 0.7718 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.1465, allocations: 11.44 kB / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1465, allocations: 0 / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of Templates: time 0.002538/0.1491, allocations: 0.6705 MB / 0.7725 GB, free: 1.816 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (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)