Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00119/0.001189, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001214/0.001214, allocations: 192 kB / 17.31 MB, free: 5.18 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 279.9 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9386/0.9386, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 90.33 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1519, allocations: 86.98 MB / 0.6816 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00166/0.1536, allocations: 0.5362 MB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.1544, allocations: 0.7727 MB / 0.6829 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.1545, allocations: 4 kB / 0.6829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.07e-05/0.1545, allocations: 0 / 0.6829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.709e-06/0.1545, allocations: 0 / 0.6829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1548, allocations: 19.92 kB / 0.6829 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.669e-05/0.1548, allocations: 4 kB / 0.683 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.1549, allocations: 4 kB / 0.683 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.186e-05/0.1549, allocations: 0 / 0.683 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.155, allocations: 23.97 kB / 0.683 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-06/0.155, allocations: 0 / 0.683 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-06/0.155, allocations: 0 / 0.683 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-06/0.1551, allocations: 0 / 0.683 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.1551, allocations: 3.938 kB / 0.683 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.349e-05/0.1551, allocations: 11.94 kB / 0.683 GB, free: 6.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1551, allocations: 3.984 kB / 0.683 GB, free: 6.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1551, allocations: 0 / 0.683 GB, free: 6.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1551, allocations: 0 / 0.683 GB, free: 6.016 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.0002334/0.1554, allocations: 307.6 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1554, allocations: 8.031 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.1555, allocations: 0.9375 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/0.1555, allocations: 160.4 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1555, allocations: 384 / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.1556, allocations: 8.312 kB / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.294e-05/0.1556, allocations: 38.25 kB / 0.6835 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.1557, allocations: 192 / 0.6835 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1557, allocations: 3.938 kB / 0.6835 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1557, allocations: 0 / 0.6835 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.471e-05/0.1557, allocations: 0 / 0.6835 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.1559, allocations: 379.5 kB / 0.6839 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.912e-05/0.156, allocations: 173.1 kB / 0.684 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.1561, allocations: 84.12 kB / 0.6841 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1561, allocations: 75.28 kB / 0.6842 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.1561, allocations: 113.9 kB / 0.6843 GB, free: 4.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1561, allocations: 0 / 0.6843 GB, free: 4.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.107e-05/0.1562, allocations: 29.64 kB / 0.6843 GB, free: 4.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1563, allocations: 130.7 kB / 0.6844 GB, free: 4.348 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.1563, allocations: 97.86 kB / 0.6845 GB, free: 4.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.1564, allocations: 25.7 kB / 0.6846 GB, free: 4.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.1564, allocations: 80.14 kB / 0.6846 GB, free: 4.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.1564, allocations: 0 / 0.6846 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.1564, allocations: 9.719 kB / 0.6846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.1565, allocations: 318.8 kB / 0.6849 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.1565, allocations: 4.125 kB / 0.685 GB, free: 3.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.1565, allocations: 3.938 kB / 0.685 GB, free: 3.785 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.14e-05/0.1566, allocations: 8.859 kB / 0.685 GB, free: 3.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.1566, allocations: 4 kB / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.149e-05/0.1567, allocations: 37.58 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1567, allocations: 6.188 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1567, allocations: 0 / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1567, allocations: 0 / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.1568, allocations: 4.094 kB / 0.685 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1568, allocations: 7.984 kB / 0.685 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.1568, allocations: 7.922 kB / 0.685 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.1568, allocations: 0 / 0.685 GB, free: 3.703 MB / 494.1 MB 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.17e-05/0.1569, allocations: 185.1 kB / 0.6852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.1569, allocations: 108.9 kB / 0.6853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.157, allocations: 108.1 kB / 0.6854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.151e-05/0.157, allocations: 180.3 kB / 0.6856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.644e-05/0.1571, allocations: 188.2 kB / 0.6858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.796e-05/0.1572, allocations: 184.3 kB / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.1574, allocations: 405.1 kB / 0.6863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-05/0.1574, allocations: 101 kB / 0.6864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.1574, allocations: 109.7 kB / 0.6865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.295e-05/0.1575, allocations: 184.2 kB / 0.6867 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/0.1575, allocations: 180.2 kB / 0.6869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.098e-05/0.1576, allocations: 180.2 kB / 0.687 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.784e-05/0.1577, allocations: 180.3 kB / 0.6872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.1578, allocations: 311.9 kB / 0.6875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.1578, allocations: 186.1 kB / 0.6877 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.1579, allocations: 180.2 kB / 0.6879 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.158, allocations: 109 kB / 0.688 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.158, allocations: 180.3 kB / 0.6881 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.1581, allocations: 104.9 kB / 0.6882 GB, free: 192 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.673e-05/0.1581, allocations: 79.28 kB / 0.6883 GB, free: 112 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1581, allocations: 0 / 0.6883 GB, free: 112 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.1583, allocations: 0 / 0.6883 GB, free: 112 kB / 494.1 MB 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.2243/0.3826, allocations: 176 kB / 0.6885 GB, free: 18.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.649e-05/0.3828, allocations: 2.469 kB / 0.6885 GB, free: 18.97 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3828, allocations: 0 / 0.6885 GB, free: 18.97 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.3828, allocations: 5.516 kB / 0.6885 GB, free: 18.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.383, allocations: 467 kB / 0.6889 GB, free: 18.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.3832, allocations: 155.6 kB / 0.6891 GB, free: 18.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.948e-05/0.3833, allocations: 0.6708 MB / 0.6897 GB, free: 17.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.127e-05/0.3833, allocations: 1.094 kB / 0.6897 GB, free: 17.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.3833, allocations: 8.703 kB / 0.6897 GB, free: 17.66 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3833, allocations: 0.75 kB / 0.6898 GB, free: 17.66 MB / 494.1 MB Notification: Performance of Templates: time 0.001755/0.3851, allocations: 191.5 kB / 0.6899 GB, free: 17.66 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)