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.001275/0.00128, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001331/0.001331, allocations: 194.3 kB / 16.25 MB, free: 6.637 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 290.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 178.6 MB / 0.5069 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 102.7 kB / 0.606 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.173, allocations: 89.14 MB / 0.693 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001664/0.1747, allocations: 0.6095 MB / 0.6936 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.1756, allocations: 0.7786 MB / 0.6944 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.245e-05/0.1756, allocations: 0.5312 kB / 0.6944 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.1757, allocations: 1.906 kB / 0.6944 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.558e-06/0.1757, allocations: 3.938 kB / 0.6944 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1759, allocations: 19.97 kB / 0.6944 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.585e-05/0.176, allocations: 0 / 0.6944 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.176, allocations: 4 kB / 0.6944 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.14e-05/0.176, allocations: 0.6562 kB / 0.6944 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.1762, allocations: 21.73 kB / 0.6944 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.074e-06/0.1762, allocations: 0 / 0.6944 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-06/0.1762, allocations: 2.594 kB / 0.6944 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.1762, allocations: 0 / 0.6944 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.1762, allocations: 3.984 kB / 0.6944 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.912e-05/0.1762, allocations: 0 / 0.6944 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1763, allocations: 0 / 0.6944 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1763, allocations: 0 / 0.6944 GB, free: 3.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1763, allocations: 0 / 0.6944 GB, free: 3.191 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.0002977/0.1766, allocations: 312.4 kB / 0.6947 GB, free: 2.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1766, allocations: 13.69 kB / 0.6947 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.1766, allocations: 4.938 kB / 0.6947 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1768, allocations: 160.4 kB / 0.6949 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1768, allocations: 8.312 kB / 0.6949 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.1768, allocations: 4.375 kB / 0.6949 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.012e-05/0.1769, allocations: 30.27 kB / 0.6949 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1769, allocations: 192 / 0.6949 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1769, allocations: 3.938 kB / 0.6949 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1769, allocations: 4 kB / 0.6949 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.1769, allocations: 3.984 kB / 0.6949 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.1772, allocations: 371.6 kB / 0.6953 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/0.1773, allocations: 181 kB / 0.6955 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.1774, allocations: 80.14 kB / 0.6956 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.1774, allocations: 75.28 kB / 0.6956 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.1775, allocations: 105.8 kB / 0.6957 GB, free: 1.695 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1775, allocations: 0 / 0.6957 GB, free: 1.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.242e-05/0.1775, allocations: 41.62 kB / 0.6958 GB, free: 1.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.1776, allocations: 130.6 kB / 0.6959 GB, free: 1.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.1777, allocations: 93.86 kB / 0.696 GB, free: 1.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1777, allocations: 25.7 kB / 0.696 GB, free: 1.375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.1778, allocations: 80.14 kB / 0.6961 GB, free: 1.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.1778, allocations: 0 / 0.6961 GB, free: 1.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.1778, allocations: 17.62 kB / 0.6961 GB, free: 1.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1779, allocations: 315 kB / 0.6964 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-06/0.178, allocations: 0 / 0.6964 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-06/0.178, allocations: 7.984 kB / 0.6964 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.198e-05/0.178, allocations: 8.859 kB / 0.6964 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.178, allocations: 0 / 0.6964 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.894e-05/0.1781, allocations: 37.58 kB / 0.6964 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1781, allocations: 8 kB / 0.6965 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1781, allocations: 0 / 0.6965 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1781, allocations: 0 / 0.6965 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.065e-05/0.1782, allocations: 4.094 kB / 0.6965 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1782, allocations: 0 / 0.6965 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.267e-06/0.1782, allocations: 0 / 0.6965 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1782, allocations: 4 kB / 0.6965 GB, free: 0.875 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 9.977e-05/0.1783, allocations: 193.9 kB / 0.6966 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.1784, allocations: 101 kB / 0.6967 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.1784, allocations: 112 kB / 0.6969 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/0.1785, allocations: 184.3 kB / 0.697 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.623e-05/0.1786, allocations: 176.3 kB / 0.6972 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.855e-05/0.1787, allocations: 180.2 kB / 0.6974 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.179, allocations: 405.2 kB / 0.6978 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.654e-05/0.179, allocations: 108.9 kB / 0.6979 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.1791, allocations: 105 kB / 0.698 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-05/0.1791, allocations: 184.2 kB / 0.6981 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/0.1792, allocations: 184.2 kB / 0.6983 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.58e-05/0.1793, allocations: 176.5 kB / 0.6985 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.206e-05/0.1794, allocations: 180.2 kB / 0.6986 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1795, allocations: 319.7 kB / 0.699 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.1796, allocations: 178.1 kB / 0.6991 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.253e-05/0.1797, allocations: 184.3 kB / 0.6993 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.1798, allocations: 104.9 kB / 0.6994 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.1799, allocations: 184.2 kB / 0.6996 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.1799, allocations: 108.9 kB / 0.6997 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.18, allocations: 79.28 kB / 0.6998 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.18, allocations: 0 / 0.6998 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002019/0.1802, allocations: 0 / 0.6998 GB, free: 13.28 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.0001415/0.1803, allocations: 185.6 kB / 0.6999 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.572e-05/0.1804, allocations: 4 kB / 0.6999 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1804, allocations: 160 / 0.6999 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.1804, allocations: 4 kB / 0.6999 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1808, allocations: 463.6 kB / 0.7004 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.181, allocations: 152.3 kB / 0.7005 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1813, allocations: 0.6728 MB / 0.7012 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.005e-05/0.1813, allocations: 0 / 0.7012 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.18e-05/0.1813, allocations: 7.438 kB / 0.7012 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1813, allocations: 4 kB / 0.7012 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.00199/0.1833, allocations: 178.8 kB / 0.7014 GB, free: 11.61 MB / 0.4981 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)