Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008162/0.000816, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005675/0.005675, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9461/0.9461, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 12 kB / 0.5076 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1593, allocations: 82.31 MB / 0.588 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006806/0.1601, allocations: 270.5 kB / 0.5883 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.161, allocations: 0.7767 MB / 0.589 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-06/0.1611, allocations: 0 / 0.589 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.969e-06/0.1611, allocations: 0 / 0.589 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.727e-06/0.1611, allocations: 0 / 0.589 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.1613, allocations: 19.92 kB / 0.5891 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.853e-05/0.1613, allocations: 4 kB / 0.5891 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.1614, allocations: 4 kB / 0.5891 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.1614, allocations: 3.984 kB / 0.5891 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1615, allocations: 19.92 kB / 0.5891 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.1615, allocations: 0 / 0.5891 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-06/0.1615, allocations: 0 / 0.5891 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.1616, allocations: 4 kB / 0.5891 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.1616, allocations: 29.7 kB / 0.5891 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.671e-05/0.1616, allocations: 0 / 0.5891 GB, free: 1.445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1616, allocations: 0 / 0.5891 GB, free: 1.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1616, allocations: 0 / 0.5891 GB, free: 1.445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1616, allocations: 0 / 0.5891 GB, free: 1.445 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00023/0.1619, allocations: 311.5 kB / 0.5894 GB, free: 1.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1619, allocations: 12.09 kB / 0.5894 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.162, allocations: 0.9375 kB / 0.5894 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.777e-05/0.162, allocations: 164.4 kB / 0.5896 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1621, allocations: 384 / 0.5896 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.1621, allocations: 384 / 0.5896 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.444e-05/0.1622, allocations: 39.5 kB / 0.5896 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.1622, allocations: 4 kB / 0.5896 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1622, allocations: 0 / 0.5896 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1622, allocations: 3.984 kB / 0.5896 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.502e-05/0.1622, allocations: 0 / 0.5896 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.1625, allocations: 383.5 kB / 0.59 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/0.1625, allocations: 169.1 kB / 0.5902 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.1626, allocations: 80.14 kB / 0.5902 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1626, allocations: 75.28 kB / 0.5903 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/0.1627, allocations: 109.8 kB / 0.5904 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.1627, allocations: 4 kB / 0.5904 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.387e-05/0.1628, allocations: 37.67 kB / 0.5904 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.1628, allocations: 130.6 kB / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.1629, allocations: 93.8 kB / 0.5907 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1629, allocations: 25.7 kB / 0.5907 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.163, allocations: 88.03 kB / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.163, allocations: 4 kB / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.163, allocations: 9.844 kB / 0.5908 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1631, allocations: 318.8 kB / 0.5911 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-06/0.1631, allocations: 4 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-06/0.1631, allocations: 0 / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.1632, allocations: 12.84 kB / 0.5911 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1632, allocations: 0 / 0.5911 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.04e-05/0.1632, allocations: 29.7 kB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1633, allocations: 4 kB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1633, allocations: 4.094 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1633, allocations: 4 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.249e-05/0.1633, allocations: 3.938 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1634, allocations: 0 / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.012e-05/0.1634, allocations: 0 / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-06/0.1634, allocations: 0 / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.454e-05/0.1635, allocations: 189.1 kB / 0.5913 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.1635, allocations: 109 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.1636, allocations: 112 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.083e-05/0.1636, allocations: 180.3 kB / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.695e-05/0.1637, allocations: 176.3 kB / 0.5919 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.298e-05/0.1638, allocations: 180.2 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.164, allocations: 405.2 kB / 0.5924 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-05/0.1641, allocations: 112.9 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.1641, allocations: 101 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-05/0.1642, allocations: 180.2 kB / 0.5928 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.1642, allocations: 180.2 kB / 0.593 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.135e-05/0.1643, allocations: 184.5 kB / 0.5932 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.084e-05/0.1644, allocations: 180.2 kB / 0.5933 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.1645, allocations: 315.8 kB / 0.5936 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.1646, allocations: 182 kB / 0.5938 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.1647, allocations: 180.3 kB / 0.594 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.1647, allocations: 112.9 kB / 0.5941 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.1648, allocations: 184.2 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.1648, allocations: 105 kB / 0.5944 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.1649, allocations: 75.28 kB / 0.5944 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.374e-06/0.1649, allocations: 0 / 0.5944 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001999/0.1651, allocations: 7.938 kB / 0.5944 GB, free: 11.54 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001141/0.1652, allocations: 174.5 kB / 0.5946 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.681e-05/0.1653, allocations: 8.031 kB / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1653, allocations: 0 / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1653, allocations: 0 / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1656, allocations: 0.5263 MB / 0.5951 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.1658, allocations: 150 kB / 0.5953 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.166, allocations: 0.6732 MB / 0.5959 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.312e-05/0.166, allocations: 0 / 0.5959 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.166, allocations: 11.38 kB / 0.5959 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1661, allocations: 0 / 0.5959 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.001699/0.1678, allocations: 174.3 kB / 0.5961 GB, free: 9.797 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)