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.001107/0.001107, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.0009936/0.0009936, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 275.7 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9302/0.9302, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 99.16 kB / 0.5967 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.15, allocations: 86.97 MB / 0.6816 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.003042/0.1531, allocations: 1.239 MB / 0.6829 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1543, allocations: 482.8 kB / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.1543, allocations: 4 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.1544, allocations: 0 / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.1545, allocations: 3.938 kB / 0.6833 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.1548, allocations: 47.88 kB / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.1549, allocations: 15.98 kB / 0.6834 GB, free: 5.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.155, allocations: 4 kB / 0.6834 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.637e-05/0.155, allocations: 7.984 kB / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.155, allocations: 11.92 kB / 0.6834 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.1551, allocations: 0 / 0.6834 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.1553, allocations: 63.86 kB / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.1553, allocations: 11.98 kB / 0.6835 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.1554, allocations: 8 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1555, allocations: 71.7 kB / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1556, allocations: 0 / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1556, allocations: 0 / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1556, allocations: 4 kB / 0.6836 GB, free: 5.41 MB / 494.1 MB 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.0003749/0.156, allocations: 331.6 kB / 0.6839 GB, free: 5.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.156, allocations: 8.031 kB / 0.6839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.1561, allocations: 8.938 kB / 0.6839 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.325e-05/0.1562, allocations: 160.4 kB / 0.684 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1562, allocations: 4.312 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1562, allocations: 4.375 kB / 0.6841 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1563, allocations: 53.98 kB / 0.6841 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1564, allocations: 7.938 kB / 0.6841 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1564, allocations: 4 kB / 0.6841 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1564, allocations: 0 / 0.6841 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.1564, allocations: 8 kB / 0.6841 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.1566, allocations: 161.5 kB / 0.6843 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/0.1567, allocations: 34.67 kB / 0.6843 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.1567, allocations: 24.84 kB / 0.6843 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.1567, allocations: 0 / 0.6843 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.1569, allocations: 71.28 kB / 0.6844 GB, free: 4.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1569, allocations: 0 / 0.6844 GB, free: 4.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002434/0.1571, allocations: 97.66 kB / 0.6845 GB, free: 4.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.1572, allocations: 59.39 kB / 0.6846 GB, free: 4.211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.43e-05/0.1573, allocations: 93.86 kB / 0.6846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.1573, allocations: 29.7 kB / 0.6847 GB, free: 4.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.1573, allocations: 80.91 kB / 0.6847 GB, free: 3.992 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.1574, allocations: 19.84 kB / 0.6848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1575, allocations: 29.7 kB / 0.6848 GB, free: 3.938 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1576, allocations: 318.8 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1577, allocations: 19.98 kB / 0.6851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.1578, allocations: 72.92 kB / 0.6852 GB, free: 3.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.158, allocations: 93.94 kB / 0.6853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.158, allocations: 0 / 0.6853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002296/0.1582, allocations: 121.5 kB / 0.6854 GB, free: 3.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1583, allocations: 7.938 kB / 0.6854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1583, allocations: 4 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1583, allocations: 0 / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.1584, allocations: 15.98 kB / 0.6854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1584, allocations: 0 / 0.6854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.1585, allocations: 7.906 kB / 0.6854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1585, allocations: 8.219 kB / 0.6854 GB, free: 3.227 MB / 494.1 MB 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.0001087/0.1586, allocations: 133.7 kB / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.1586, allocations: 3.938 kB / 0.6856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.1587, allocations: 3.969 kB / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1587, allocations: 4 kB / 0.6856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1587, allocations: 0 / 0.6856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1587, allocations: 0 / 0.6856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.1588, allocations: 153.7 kB / 0.6857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1589, allocations: 0 / 0.6857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-06/0.1589, allocations: 4 kB / 0.6857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1589, allocations: 7.875 kB / 0.6857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1589, allocations: 0 / 0.6857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1589, allocations: 0 / 0.6857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1589, allocations: 7.938 kB / 0.6857 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.1591, allocations: 109 kB / 0.6858 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.1591, allocations: 81.05 kB / 0.6859 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1592, allocations: 8 kB / 0.6859 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.1592, allocations: 8.031 kB / 0.6859 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.1592, allocations: 7.984 kB / 0.6859 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.1592, allocations: 0 / 0.6859 GB, free: 2.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.785e-05/0.1593, allocations: 75.28 kB / 0.686 GB, free: 2.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1593, allocations: 4 kB / 0.686 GB, free: 2.527 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.1596, allocations: 20 kB / 0.686 GB, free: 2.508 MB / 494.1 MB 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.0002946/0.16, allocations: 123.2 kB / 0.6862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1601, allocations: 59.91 kB / 0.6862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1601, allocations: 0 / 0.6862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.1602, allocations: 19.94 kB / 0.6862 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.1604, allocations: 12.86 kB / 0.6862 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.1607, allocations: 113.6 kB / 0.6864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.161, allocations: 0.6807 MB / 0.687 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.1611, allocations: 8.5 kB / 0.687 GB, free: 1.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.1611, allocations: 11.44 kB / 0.687 GB, free: 1.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1611, allocations: 0 / 0.687 GB, free: 1.43 MB / 494.1 MB Notification: Performance of Templates: time 0.003533/0.1646, allocations: 0.663 MB / 0.6877 GB, free: 0.8164 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)