Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.001478/0.001478, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001412, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9607/0.9607, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 64.16 kB / 0.5054 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1535, allocations: 80.93 MB / 0.5844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002624/0.1562, allocations: 1.228 MB / 0.5856 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009057/0.1571, allocations: 492.4 kB / 0.5861 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.1571, allocations: 0 / 0.5861 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.1572, allocations: 0 / 0.5861 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/0.1573, allocations: 4 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1576, allocations: 55.8 kB / 0.5861 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.202e-05/0.1577, allocations: 4 kB / 0.5861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.1577, allocations: 11.98 kB / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.1578, allocations: 4 kB / 0.5862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.73e-05/0.1578, allocations: 7.922 kB / 0.5862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.1578, allocations: 4 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.158, allocations: 71.86 kB / 0.5862 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.1581, allocations: 7.984 kB / 0.5862 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.1581, allocations: 7.938 kB / 0.5863 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1583, allocations: 63.84 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1583, allocations: 0 / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1583, allocations: 0 / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1583, allocations: 0 / 0.5863 GB, free: 2.535 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.0003509/0.1587, allocations: 335.7 kB / 0.5866 GB, free: 2.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1587, allocations: 16.03 kB / 0.5866 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.1588, allocations: 4.938 kB / 0.5867 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.1588, allocations: 164.4 kB / 0.5868 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1589, allocations: 8.375 kB / 0.5868 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1589, allocations: 4.125 kB / 0.5868 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.159, allocations: 49.69 kB / 0.5869 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.159, allocations: 3.984 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.159, allocations: 7.875 kB / 0.5869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.159, allocations: 0 / 0.5869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.74e-05/0.1591, allocations: 11.94 kB / 0.5869 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.1592, allocations: 157.7 kB / 0.587 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.675e-05/0.1593, allocations: 30.62 kB / 0.5871 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.1593, allocations: 20.89 kB / 0.5871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.1593, allocations: 0 / 0.5871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.1595, allocations: 71.39 kB / 0.5872 GB, free: 1.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/0.1595, allocations: 7.938 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002126/0.1597, allocations: 93.66 kB / 0.5873 GB, free: 1.398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1598, allocations: 55.41 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.7e-05/0.1598, allocations: 97.77 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1598, allocations: 29.7 kB / 0.5874 GB, free: 1.191 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.1599, allocations: 80.14 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1599, allocations: 19.83 kB / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.16, allocations: 29.72 kB / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1601, allocations: 314.9 kB / 0.5879 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.82e-05/0.1601, allocations: 23.98 kB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.1602, allocations: 73.94 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1603, allocations: 97.92 kB / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1603, allocations: 0 / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001619/0.1605, allocations: 117.6 kB / 0.5882 GB, free: 392 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1605, allocations: 16.02 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1605, allocations: 0 / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1605, allocations: 7.938 kB / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.1606, allocations: 8 kB / 0.5882 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1607, allocations: 4 kB / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.1607, allocations: 4 kB / 0.5882 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1607, allocations: 4 kB / 0.5882 GB, free: 348 kB / 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.000112/0.1608, allocations: 126.5 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.1608, allocations: 11.84 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.1609, allocations: 7.969 kB / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1609, allocations: 0 / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1609, allocations: 0 / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1609, allocations: 0 / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.161, allocations: 157.5 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1611, allocations: 3.938 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-06/0.1611, allocations: 0 / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1611, allocations: 4 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1611, allocations: 0 / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1611, allocations: 8 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1611, allocations: 240 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.1612, allocations: 124.9 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.1613, allocations: 77.11 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1613, allocations: 7.984 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.282e-05/0.1613, allocations: 0 / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.1614, allocations: 0 / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1614, allocations: 4 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.708e-05/0.1614, allocations: 79.31 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1614, allocations: 0 / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002309/0.1617, allocations: 24 kB / 0.5888 GB, free: 15.62 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.0001872/0.1619, allocations: 123.2 kB / 0.5889 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.162, allocations: 55.92 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.162, allocations: 448 / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.162, allocations: 23.92 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.1622, allocations: 7.938 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.1625, allocations: 121.4 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.1627, allocations: 0.6768 MB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.1627, allocations: 4 kB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.1628, allocations: 15.44 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1628, allocations: 4.062 kB / 0.5898 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.002726/0.1655, allocations: 0.6602 MB / 0.5904 GB, free: 13.92 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)