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.004924/0.004924, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001318/0.001318, allocations: 196.2 kB / 16.68 MB, free: 6.352 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 275 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9252/0.9252, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 91.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1516, allocations: 86.96 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002112/0.1538, allocations: 1.246 MB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007818/0.1546, allocations: 486.7 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.1546, allocations: 4 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.1547, allocations: 4 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.1547, allocations: 0.5156 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.155, allocations: 51.81 kB / 0.7682 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.778e-05/0.1551, allocations: 11.98 kB / 0.7682 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.1551, allocations: 4 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.191e-05/0.1552, allocations: 4 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.324e-05/0.1552, allocations: 11.97 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.1552, allocations: 0 / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1554, allocations: 71.86 kB / 0.7683 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.1554, allocations: 7.984 kB / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.1555, allocations: 11.94 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1556, allocations: 63.73 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1556, allocations: 0 / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1556, allocations: 0 / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1556, allocations: 0 / 0.7683 GB, free: 6.43 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.0003694/0.156, allocations: 343.4 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.156, allocations: 8.031 kB / 0.7687 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.1561, allocations: 4.938 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1562, allocations: 164.4 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1562, allocations: 4.375 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1562, allocations: 4.375 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1563, allocations: 50 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1563, allocations: 0 / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1564, allocations: 3.984 kB / 0.7689 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1564, allocations: 0 / 0.7689 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.899e-05/0.1564, allocations: 19.86 kB / 0.7689 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.1566, allocations: 157.7 kB / 0.7691 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.727e-05/0.1566, allocations: 26.64 kB / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.1566, allocations: 20.94 kB / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.1567, allocations: 4 kB / 0.7691 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.1568, allocations: 67.34 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1568, allocations: 3.938 kB / 0.7692 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002073/0.157, allocations: 109.6 kB / 0.7693 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1571, allocations: 55.41 kB / 0.7693 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.858e-05/0.1571, allocations: 93.84 kB / 0.7694 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1571, allocations: 33.7 kB / 0.7695 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.1572, allocations: 80.14 kB / 0.7695 GB, free: 5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1572, allocations: 19.84 kB / 0.7696 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1573, allocations: 29.7 kB / 0.7696 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1574, allocations: 314.8 kB / 0.7699 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.1574, allocations: 24.02 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.1575, allocations: 69.92 kB / 0.77 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.1576, allocations: 93.94 kB / 0.7701 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1576, allocations: 0 / 0.7701 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001436/0.1577, allocations: 121.5 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1578, allocations: 8.156 kB / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1578, allocations: 12 kB / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1578, allocations: 3.938 kB / 0.7702 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.1579, allocations: 15.98 kB / 0.7702 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1579, allocations: 0 / 0.7702 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.1579, allocations: 7.953 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1579, allocations: 4 kB / 0.7702 GB, free: 4.227 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 8.207e-05/0.158, allocations: 123.1 kB / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.158, allocations: 3.938 kB / 0.7703 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.1581, allocations: 15.95 kB / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1581, allocations: 0 / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1581, allocations: 4 kB / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1581, allocations: 0 / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1582, allocations: 153.6 kB / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1582, allocations: 0 / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-06/0.1582, allocations: 0 / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.1582, allocations: 3.938 kB / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1582, allocations: 0 / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1583, allocations: 0 / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1583, allocations: 4 kB / 0.7705 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1584, allocations: 117 kB / 0.7706 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.1584, allocations: 81.05 kB / 0.7707 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1584, allocations: 7.938 kB / 0.7707 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.148e-05/0.1585, allocations: 0 / 0.7707 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.1585, allocations: 4 kB / 0.7707 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1585, allocations: 3.984 kB / 0.7707 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.859e-05/0.1585, allocations: 83.34 kB / 0.7708 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1585, allocations: 0 / 0.7708 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002136/0.1588, allocations: 27.94 kB / 0.7708 GB, free: 3.512 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.0001655/0.1589, allocations: 121.5 kB / 0.7709 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.1591, allocations: 59.91 kB / 0.771 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1591, allocations: 0 / 0.771 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-05/0.1591, allocations: 16.44 kB / 0.771 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1592, allocations: 17.77 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.0002251/0.1595, allocations: 127.5 kB / 0.7712 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.1597, allocations: 0.6729 MB / 0.7718 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.1597, 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.475e-05/0.1597, allocations: 11.44 kB / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1597, allocations: 0 / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of Templates: time 0.002486/0.1622, allocations: 0.6645 MB / 0.7725 GB, free: 1.82 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)