Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008345/0.0008345, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0008889/0.0008889, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8487/0.8487, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002986, allocations: 11.98 kB / 0.5069 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1602, allocations: 82.31 MB / 0.5872 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001428/0.1616, allocations: 0.9555 MB / 0.5882 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000759/0.1624, allocations: 451.3 kB / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.1625, allocations: 3.938 kB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.1625, allocations: 0 / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.601e-05/0.1625, allocations: 4 kB / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.1629, allocations: 35.94 kB / 0.5886 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.708e-05/0.1629, allocations: 4 kB / 0.5887 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.163, allocations: 0 / 0.5887 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.163, allocations: 7.984 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.163, allocations: 15.92 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.163, allocations: 0 / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1632, allocations: 35.95 kB / 0.5887 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.1632, allocations: 8 kB / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.1633, allocations: 33.7 kB / 0.5887 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.649e-05/0.1634, allocations: 35.94 kB / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1634, allocations: 0 / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1634, allocations: 3.938 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1634, allocations: 0 / 0.5888 GB, free: 1.484 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.0003578/0.1638, allocations: 339.5 kB / 0.5891 GB, free: 1.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1638, allocations: 15.95 kB / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.1639, allocations: 0 / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/0.164, allocations: 163 kB / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.164, allocations: 4 kB / 0.5893 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.164, allocations: 8 kB / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1641, allocations: 45.69 kB / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1641, allocations: 0 / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1641, allocations: 0 / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.1642, allocations: 0 / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.864e-05/0.1642, allocations: 15.98 kB / 0.5894 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.1643, allocations: 157.6 kB / 0.5895 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.1644, allocations: 30.58 kB / 0.5895 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.1644, allocations: 4 kB / 0.5895 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.1646, allocations: 71.47 kB / 0.5896 GB, free: 496 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1646, allocations: 0 / 0.5896 GB, free: 496 kB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002381/0.1648, allocations: 178.6 kB / 0.5898 GB, free: 292 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1649, allocations: 55.41 kB / 0.5898 GB, free: 224 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.355e-05/0.1649, allocations: 93.86 kB / 0.5899 GB, free: 120 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1649, allocations: 33.72 kB / 0.5899 GB, free: 80 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.165, allocations: 88.14 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.165, allocations: 11.84 kB / 0.59 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.165, allocations: 4 kB / 0.59 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1652, allocations: 314.8 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/0.1652, allocations: 19.98 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.1653, allocations: 69.98 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/0.1653, allocations: 31.92 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1653, allocations: 7.953 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001408/0.1655, allocations: 117.5 kB / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1655, allocations: 4 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1655, allocations: 4 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1655, allocations: 0 / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.1656, allocations: 15.94 kB / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1656, allocations: 0 / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.1657, allocations: 4 kB / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1657, allocations: 8 kB / 0.5906 GB, free: 15.35 MB / 0.4981 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/0.1658, allocations: 131.3 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.1658, allocations: 11.84 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.1658, allocations: 3.969 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1658, allocations: 4 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1658, allocations: 3.938 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1658, allocations: 0 / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.166, allocations: 157.6 kB / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.166, allocations: 0 / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-06/0.166, allocations: 7.891 kB / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.166, allocations: 0 / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.166, allocations: 4 kB / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.166, allocations: 4 kB / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.166, allocations: 3.984 kB / 0.5909 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1661, allocations: 97.12 kB / 0.591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.1662, allocations: 85.02 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1662, allocations: 11.94 kB / 0.5911 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.272e-05/0.1662, allocations: 4 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.1662, allocations: 4 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.1663, allocations: 4.031 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.1663, allocations: 75.28 kB / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1663, allocations: 0 / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002022/0.1665, allocations: 24 kB / 0.5912 GB, free: 14.63 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001643/0.1667, allocations: 117.1 kB / 0.5913 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.1668, allocations: 64.22 kB / 0.5914 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1668, allocations: 4.062 kB / 0.5914 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.1668, allocations: 16 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.504e-05/0.1669, allocations: 7.234 kB / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.1672, allocations: 124.6 kB / 0.5915 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1675, allocations: 0.6809 MB / 0.5922 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.1675, allocations: 4 kB / 0.5922 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.1675, allocations: 15.5 kB / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1675, allocations: 0 / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.002461/0.17, allocations: 0.6362 MB / 0.5928 GB, free: 12.95 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) Environment - environmentSimulation: