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.00124/0.00124, allocations: 105.1 kB / 16.41 MB, free: 6.5 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.001167/0.001167, allocations: 187 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7999/0.7999, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 68.56 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1588, allocations: 80.2 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002675/0.1615, allocations: 1.24 MB / 0.6616 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009653/0.1625, allocations: 487.1 kB / 0.662 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.1625, allocations: 8 kB / 0.6621 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.1626, allocations: 3.938 kB / 0.6621 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.526e-05/0.1627, allocations: 0 / 0.6621 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.1631, allocations: 55.81 kB / 0.6621 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.1632, allocations: 15.92 kB / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.1632, allocations: 4 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.1633, allocations: 7.984 kB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.1633, allocations: 7.984 kB / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1633, allocations: 0 / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.1635, allocations: 67.86 kB / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.1636, allocations: 15.98 kB / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.1637, allocations: 7.938 kB / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1638, allocations: 67.78 kB / 0.6623 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1638, allocations: 0 / 0.6623 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1638, allocations: 0 / 0.6623 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1639, allocations: 0 / 0.6623 GB, free: 8.273 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.000434/0.1643, allocations: 335.5 kB / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1643, allocations: 8.031 kB / 0.6626 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.1644, allocations: 12.84 kB / 0.6626 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.431e-05/0.1645, allocations: 160.4 kB / 0.6628 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1645, allocations: 384 / 0.6628 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.1645, allocations: 7.938 kB / 0.6628 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1647, allocations: 49.67 kB / 0.6628 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1647, allocations: 0 / 0.6628 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1647, allocations: 3.938 kB / 0.6628 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1647, allocations: 0 / 0.6628 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.029e-05/0.1647, allocations: 12 kB / 0.6629 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1649, allocations: 157.7 kB / 0.663 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.165, allocations: 30.55 kB / 0.663 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.165, allocations: 24.91 kB / 0.6631 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.165, allocations: 0 / 0.6631 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.1652, allocations: 67.33 kB / 0.6631 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1652, allocations: 0 / 0.6631 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002458/0.1655, allocations: 97.67 kB / 0.6632 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.1655, allocations: 59.39 kB / 0.6633 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.632e-05/0.1656, allocations: 93.86 kB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1656, allocations: 29.7 kB / 0.6634 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.1657, allocations: 84.14 kB / 0.6635 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.1657, allocations: 15.75 kB / 0.6635 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.1658, allocations: 29.7 kB / 0.6635 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1659, allocations: 318.8 kB / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.687e-05/0.1659, allocations: 28 kB / 0.6639 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.166, allocations: 65.94 kB / 0.6639 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1661, allocations: 97.92 kB / 0.664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1661, allocations: 0 / 0.664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001616/0.1663, allocations: 121.3 kB / 0.6641 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1663, allocations: 8.156 kB / 0.6641 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1663, allocations: 15.94 kB / 0.6641 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1664, allocations: 0 / 0.6641 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.1665, allocations: 15.98 kB / 0.6642 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1665, allocations: 0 / 0.6642 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.1665, allocations: 8 kB / 0.6642 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1665, allocations: 4 kB / 0.6642 GB, free: 6.086 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.0001195/0.1667, allocations: 143 kB / 0.6643 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.868e-06/0.1667, allocations: 0 / 0.6643 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.1667, allocations: 7.969 kB / 0.6643 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1667, allocations: 4 kB / 0.6643 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1667, allocations: 0 / 0.6643 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1667, allocations: 0 / 0.6643 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1669, allocations: 161.5 kB / 0.6645 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1669, allocations: 0 / 0.6645 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-06/0.1669, allocations: 0 / 0.6645 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1669, allocations: 0 / 0.6645 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.1669, allocations: 0 / 0.6645 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1669, allocations: 0 / 0.6645 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1669, allocations: 4 kB / 0.6645 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1671, allocations: 117 kB / 0.6646 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.1671, allocations: 77.11 kB / 0.6647 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1671, allocations: 4 kB / 0.6647 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.1672, allocations: 3.984 kB / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.1672, allocations: 4 kB / 0.6647 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1672, allocations: 0 / 0.6647 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.1672, allocations: 75.28 kB / 0.6647 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1672, allocations: 8.031 kB / 0.6648 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002357/0.1675, allocations: 20 kB / 0.6648 GB, free: 5.363 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.0002206/0.1677, allocations: 123.2 kB / 0.6649 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.1679, allocations: 55.91 kB / 0.6649 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1679, allocations: 0 / 0.6649 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.1679, allocations: 20.38 kB / 0.665 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.1681, allocations: 15.98 kB / 0.665 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.1684, allocations: 147.1 kB / 0.6651 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1687, allocations: 0.6845 MB / 0.6658 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.1687, allocations: 11.38 kB / 0.6658 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1687, allocations: 0 / 0.6658 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of Templates: time 0.002389/0.1711, allocations: 0.8245 MB / 0.6666 GB, free: 3.43 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)