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.000936/0.000936, allocations: 98.56 kB / 16.02 MB, free: 76 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.001049/0.001049, allocations: 187.2 kB / 16.92 MB, free: 6.75 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9491/0.9491, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 8.969 kB / 0.5083 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1684, allocations: 82.31 MB / 0.5887 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0007125/0.1692, allocations: 266.8 kB / 0.5889 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009131/0.1701, allocations: 0.7845 MB / 0.5897 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-06/0.1701, allocations: 0 / 0.5897 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.1702, allocations: 0 / 0.5897 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.649e-06/0.1702, allocations: 0 / 0.5897 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1704, allocations: 15.92 kB / 0.5897 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.634e-05/0.1704, allocations: 4 kB / 0.5897 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.1705, allocations: 0 / 0.5897 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.531e-05/0.1705, allocations: 0 / 0.5897 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1707, allocations: 31.91 kB / 0.5897 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.1707, allocations: 0 / 0.5897 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-06/0.1707, allocations: 0 / 0.5897 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.1707, allocations: 0 / 0.5897 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.1707, allocations: 25.7 kB / 0.5897 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.516e-05/0.1708, allocations: 4 kB / 0.5898 GB, free: 1.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1708, allocations: 3.938 kB / 0.5898 GB, free: 1.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1708, allocations: 0 / 0.5898 GB, free: 1.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1708, allocations: 0 / 0.5898 GB, free: 1.457 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.0002613/0.171, allocations: 311.5 kB / 0.5901 GB, free: 1.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1711, allocations: 8.094 kB / 0.5901 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.1711, allocations: 4.938 kB / 0.5901 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1712, allocations: 160.4 kB / 0.5902 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1712, allocations: 384 / 0.5902 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.1713, allocations: 4.312 kB / 0.5902 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.1714, allocations: 29.83 kB / 0.5903 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1714, allocations: 0 / 0.5903 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1714, allocations: 7.984 kB / 0.5903 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1714, allocations: 4 kB / 0.5903 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.1714, allocations: 7.984 kB / 0.5903 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.1717, allocations: 375.5 kB / 0.5906 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.1718, allocations: 174.7 kB / 0.5908 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.1719, allocations: 80.14 kB / 0.5909 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1719, allocations: 79.28 kB / 0.5909 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/0.172, allocations: 109.8 kB / 0.5911 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.172, allocations: 0 / 0.5911 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.661e-05/0.172, allocations: 33.69 kB / 0.5911 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1721, allocations: 126.7 kB / 0.5912 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.1722, allocations: 97.8 kB / 0.5913 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.1722, allocations: 33.77 kB / 0.5913 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.1722, allocations: 84.05 kB / 0.5914 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.1723, allocations: 0 / 0.5914 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.1723, allocations: 13.72 kB / 0.5914 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1724, allocations: 314.8 kB / 0.5917 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.1724, allocations: 0 / 0.5917 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-06/0.1724, allocations: 0 / 0.5917 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.1724, allocations: 8.859 kB / 0.5917 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1725, allocations: 8.047 kB / 0.5917 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.646e-05/0.1725, allocations: 33.7 kB / 0.5918 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1726, allocations: 4 kB / 0.5918 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1726, allocations: 0 / 0.5918 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.1726, allocations: 3.938 kB / 0.5918 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.1726, allocations: 4 kB / 0.5918 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1727, allocations: 0 / 0.5918 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.013e-05/0.1727, allocations: 0 / 0.5918 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.1727, allocations: 0 / 0.5918 GB, free: 15.15 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 0.0001001/0.1728, allocations: 193.1 kB / 0.592 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.1728, allocations: 105 kB / 0.5921 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.1729, allocations: 112 kB / 0.5922 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.219e-05/0.173, allocations: 176.3 kB / 0.5923 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.845e-05/0.173, allocations: 184.3 kB / 0.5925 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.978e-05/0.1731, allocations: 184.2 kB / 0.5927 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.1733, allocations: 401.2 kB / 0.5931 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/0.1734, allocations: 108.9 kB / 0.5932 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.1734, allocations: 101 kB / 0.5933 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.313e-05/0.1735, allocations: 176.3 kB / 0.5934 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.61e-05/0.1736, allocations: 192.2 kB / 0.5936 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.188e-05/0.1736, allocations: 184.5 kB / 0.5938 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.918e-05/0.1737, allocations: 180.2 kB / 0.594 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1738, allocations: 307.8 kB / 0.5943 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.1739, allocations: 186 kB / 0.5944 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.174, allocations: 180.3 kB / 0.5946 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.1741, allocations: 104.9 kB / 0.5947 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.1741, allocations: 180.3 kB / 0.5949 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.1742, allocations: 105 kB / 0.595 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.1742, allocations: 83.22 kB / 0.5951 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1742, allocations: 3.938 kB / 0.5951 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001994/0.1744, allocations: 0 / 0.5951 GB, free: 11.55 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.0001354/0.1746, allocations: 182.6 kB / 0.5952 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.052e-05/0.1746, allocations: 0 / 0.5952 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1746, allocations: 0 / 0.5952 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.1746, allocations: 0 / 0.5952 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.175, allocations: 0.5299 MB / 0.5958 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.1752, allocations: 179.7 kB / 0.5959 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.1755, allocations: 0.6692 MB / 0.5966 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.1755, allocations: 11.38 kB / 0.5966 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1755, allocations: 0 / 0.5966 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of Templates: time 0.001341/0.1769, allocations: 318.5 kB / 0.5969 GB, free: 9.605 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)