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.0009016/0.0009016, allocations: 100.1 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.0008388/0.0008388, 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.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.846/0.846, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 12.75 kB / 0.5069 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1532, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006479/0.1539, allocations: 262.8 kB / 0.5875 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000778/0.1547, allocations: 0.7651 MB / 0.5882 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-06/0.1547, allocations: 0 / 0.5882 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.1547, allocations: 4 kB / 0.5882 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.518e-06/0.1547, allocations: 0 / 0.5882 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.1549, allocations: 15.97 kB / 0.5883 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.294e-05/0.155, allocations: 4 kB / 0.5883 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.155, allocations: 3.938 kB / 0.5883 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.351e-05/0.155, allocations: 0 / 0.5883 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1552, allocations: 20 kB / 0.5883 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-06/0.1552, allocations: 0 / 0.5883 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.815e-06/0.1552, allocations: 3.938 kB / 0.5883 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.053e-06/0.1552, allocations: 0 / 0.5883 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.1552, allocations: 25.7 kB / 0.5883 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.12e-05/0.1553, allocations: 3.984 kB / 0.5883 GB, free: 1.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1553, allocations: 0 / 0.5883 GB, free: 1.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1553, allocations: 0 / 0.5883 GB, free: 1.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1553, allocations: 0 / 0.5883 GB, free: 1.98 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.0002448/0.1555, allocations: 313.8 kB / 0.5886 GB, free: 1.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1556, allocations: 12.03 kB / 0.5886 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.1556, allocations: 0 / 0.5886 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.705e-05/0.1557, allocations: 171 kB / 0.5888 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1557, allocations: 0 / 0.5888 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1557, allocations: 0 / 0.5888 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.755e-05/0.1558, allocations: 33.69 kB / 0.5888 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1558, allocations: 0 / 0.5888 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.1558, allocations: 0 / 0.5888 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1558, allocations: 0 / 0.5888 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.521e-05/0.1558, allocations: 0 / 0.5888 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.1561, allocations: 383.5 kB / 0.5892 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.396e-05/0.1562, allocations: 173.1 kB / 0.5894 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.1563, allocations: 79.27 kB / 0.5894 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.1563, allocations: 109.9 kB / 0.5895 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.1563, allocations: 4 kB / 0.5895 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.554e-05/0.1564, allocations: 29.64 kB / 0.5896 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.1564, allocations: 130.6 kB / 0.5897 GB, free: 404 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.076e-05/0.1565, allocations: 93.86 kB / 0.5898 GB, free: 300 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1565, allocations: 29.7 kB / 0.5898 GB, free: 264 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.1566, allocations: 88.03 kB / 0.5899 GB, free: 172 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1566, allocations: 0 / 0.5899 GB, free: 172 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.1566, allocations: 128 / 0.5899 GB, free: 172 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1567, allocations: 318.8 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.1567, allocations: 0 / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.1567, allocations: 7.922 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.219e-05/0.1567, allocations: 4 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1567, allocations: 0 / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.916e-05/0.1568, allocations: 33.7 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1568, allocations: 4 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1568, allocations: 0 / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1569, allocations: 8.094 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.245e-05/0.1569, allocations: 0 / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1569, allocations: 7.922 kB / 0.5903 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.1569, allocations: 4 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.1569, allocations: 3.938 kB / 0.5903 GB, free: 15.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/0.157, allocations: 189.1 kB / 0.5904 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.1571, allocations: 105 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.1571, allocations: 108.1 kB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.786e-05/0.1572, allocations: 184.2 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.038e-05/0.1573, allocations: 180.3 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.076e-05/0.1573, allocations: 180.2 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1575, allocations: 401.2 kB / 0.5915 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-05/0.1576, allocations: 105 kB / 0.5916 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.1576, allocations: 108.9 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.832e-05/0.1577, allocations: 184.2 kB / 0.5919 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.1577, allocations: 180.2 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.632e-05/0.1578, allocations: 180.3 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.257e-05/0.1578, allocations: 184.2 kB / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.158, allocations: 311.8 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.158, allocations: 182 kB / 0.5929 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.1581, allocations: 176.3 kB / 0.5931 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.1582, allocations: 105 kB / 0.5932 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.1582, allocations: 180.2 kB / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.1583, allocations: 109 kB / 0.5935 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.94e-05/0.1583, allocations: 79.28 kB / 0.5935 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1583, allocations: 0 / 0.5935 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001906/0.1585, allocations: 4 kB / 0.5935 GB, free: 12.18 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 (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.0001389/0.1587, allocations: 174.5 kB / 0.5937 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.895e-05/0.1587, allocations: 3.938 kB / 0.5937 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1587, allocations: 4.156 kB / 0.5937 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.1587, allocations: 3.938 kB / 0.5937 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.159, allocations: 0.5224 MB / 0.5942 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001783/0.1592, allocations: 158.2 kB / 0.5944 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1594, allocations: 0.6692 MB / 0.595 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.084e-05/0.1594, allocations: 4 kB / 0.595 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.1594, allocations: 11.44 kB / 0.595 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1595, allocations: 0 / 0.595 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.001672/0.1611, allocations: 166.6 kB / 0.5952 GB, free: 10.44 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: