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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001642/0.001642, allocations: 106.6 kB / 16.41 MB, free: 6.441 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.001678/0.001678, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.777/0.777, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 64.3 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1679, allocations: 80.21 MB / 0.6604 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002707/0.1706, allocations: 1.237 MB / 0.6616 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1718, allocations: 495 kB / 0.662 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.1718, allocations: 0 / 0.662 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.1719, allocations: 3.984 kB / 0.6621 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.172, allocations: 4 kB / 0.6621 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.1724, allocations: 55.81 kB / 0.6621 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.1725, allocations: 15.92 kB / 0.6621 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.1725, allocations: 7.984 kB / 0.6621 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.687e-05/0.1726, allocations: 4 kB / 0.6621 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.927e-05/0.1726, allocations: 4 kB / 0.6621 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.1726, allocations: 0 / 0.6621 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.1728, allocations: 71.84 kB / 0.6622 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.1729, allocations: 8 kB / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.173, allocations: 19.91 kB / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1731, allocations: 51.92 kB / 0.6623 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1731, allocations: 4 kB / 0.6623 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1731, allocations: 3.938 kB / 0.6623 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.1732, allocations: 0 / 0.6623 GB, free: 8.309 MB / 0.4981 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.0004352/0.1736, allocations: 335.5 kB / 0.6626 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1736, allocations: 16.02 kB / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1737, allocations: 4.844 kB / 0.6626 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/0.1738, allocations: 164.3 kB / 0.6628 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1738, allocations: 4.375 kB / 0.6628 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1738, allocations: 7.938 kB / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.174, allocations: 49.69 kB / 0.6628 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.174, allocations: 0 / 0.6628 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.174, allocations: 0 / 0.6628 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.174, allocations: 3.984 kB / 0.6629 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.327e-05/0.1741, allocations: 15.98 kB / 0.6629 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1742, allocations: 153.7 kB / 0.663 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/0.1743, allocations: 38.45 kB / 0.663 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.1743, allocations: 16.95 kB / 0.6631 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.1743, allocations: 0 / 0.6631 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.1745, allocations: 63.39 kB / 0.6631 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1745, allocations: 0 / 0.6631 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002294/0.1748, allocations: 97.61 kB / 0.6632 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.1748, allocations: 55.41 kB / 0.6633 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.407e-05/0.1749, allocations: 97.89 kB / 0.6634 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1749, allocations: 33.69 kB / 0.6634 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.175, allocations: 84.14 kB / 0.6635 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.175, allocations: 19.73 kB / 0.6635 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.1751, allocations: 29.7 kB / 0.6635 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1752, allocations: 322.8 kB / 0.6638 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.1752, allocations: 19.98 kB / 0.6639 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.1753, allocations: 69.98 kB / 0.6639 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1754, allocations: 101.9 kB / 0.664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1754, allocations: 0 / 0.664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00017/0.1756, allocations: 117.4 kB / 0.6641 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1756, allocations: 4 kB / 0.6641 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1756, allocations: 4 kB / 0.6641 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.1757, allocations: 4.219 kB / 0.6641 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.1758, allocations: 23.88 kB / 0.6642 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1758, allocations: 4 kB / 0.6642 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.1758, allocations: 7.984 kB / 0.6642 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1758, allocations: 4 kB / 0.6642 GB, free: 6.109 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 (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.0001137/0.176, allocations: 131.1 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.176, allocations: 4 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.176, allocations: 3.969 kB / 0.6643 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.176, allocations: 4 kB / 0.6643 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.176, allocations: 0 / 0.6643 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.176, allocations: 3.984 kB / 0.6643 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.1762, allocations: 161.5 kB / 0.6645 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1762, allocations: 0 / 0.6645 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-06/0.1762, allocations: 0 / 0.6645 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1762, allocations: 3.984 kB / 0.6645 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1762, allocations: 4 kB / 0.6645 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1762, allocations: 0 / 0.6645 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1762, allocations: 0 / 0.6645 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.1764, allocations: 109 kB / 0.6646 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.1764, allocations: 81.11 kB / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1764, allocations: 4 kB / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.1765, allocations: 0 / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.1765, allocations: 0 / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1765, allocations: 4 kB / 0.6647 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.1765, allocations: 75.28 kB / 0.6647 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1766, allocations: 0 / 0.6647 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002394/0.1768, allocations: 20 kB / 0.6648 GB, free: 5.406 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 (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.000215/0.177, allocations: 137.8 kB / 0.6649 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1772, allocations: 55.91 kB / 0.6649 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1772, allocations: 0 / 0.6649 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.1772, allocations: 16 kB / 0.665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.1774, allocations: 5.844 kB / 0.665 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.1777, allocations: 163 kB / 0.6651 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.1779, allocations: 0.6767 MB / 0.6658 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.178, allocations: 11.44 kB / 0.6658 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of SimCode: time 1.753e-06/0.178, allocations: 0 / 0.6658 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of Templates: time 0.002508/0.1805, allocations: 0.8286 MB / 0.6666 GB, free: 3.461 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (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)