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.001018/0.001018, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001022/0.001023, allocations: 194.2 kB / 16.25 MB, free: 6.617 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 278.6 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.923/0.923, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 96.17 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1401, allocations: 86.98 MB / 0.6797 GB, free: 1.004 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001588/0.1417, allocations: 0.6007 MB / 0.6803 GB, free: 424 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007247/0.1424, allocations: 0.7858 MB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.044e-05/0.1425, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.348e-06/0.1425, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.717e-06/0.1425, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.1427, allocations: 12.66 kB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.492e-05/0.1427, allocations: 7.938 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.949e-05/0.1427, allocations: 3.984 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.118e-05/0.1428, allocations: 4 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.904e-05/0.1429, allocations: 19.97 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.229e-06/0.1429, allocations: 3.938 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.846e-06/0.1429, allocations: 4 kB / 0.6811 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-06/0.1429, allocations: 0 / 0.6811 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.15e-05/0.1429, allocations: 4 kB / 0.6811 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.287e-05/0.1429, allocations: 0 / 0.6811 GB, free: 15.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1429, allocations: 0 / 0.6811 GB, free: 15.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.143, allocations: 0 / 0.6811 GB, free: 15.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.143, allocations: 0 / 0.6811 GB, free: 15.56 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.0002136/0.1432, allocations: 311.5 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.1432, allocations: 8.031 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.692e-05/0.1432, allocations: 0.9375 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.608e-05/0.1433, allocations: 164.4 kB / 0.6815 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.1433, allocations: 4.375 kB / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.1433, allocations: 4.375 kB / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.564e-05/0.1434, allocations: 30.27 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1434, allocations: 192 / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1434, allocations: 3.938 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-06/0.1434, allocations: 0 / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.1435, allocations: 7.938 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.1437, allocations: 375.5 kB / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.1438, allocations: 177.1 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.1438, allocations: 80.14 kB / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1439, allocations: 75.28 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.1439, allocations: 105.8 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.925e-06/0.1439, allocations: 0 / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.507e-05/0.144, allocations: 33.64 kB / 0.6824 GB, free: 14.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.144, allocations: 126.7 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.1441, allocations: 97.86 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1441, allocations: 25.7 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.1441, allocations: 84.41 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.1441, allocations: 0 / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.1442, allocations: 13.72 kB / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.1443, allocations: 315 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-06/0.1443, allocations: 0 / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.1443, allocations: 4 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.1443, allocations: 16.8 kB / 0.683 GB, free: 13.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1443, allocations: 0 / 0.683 GB, free: 13.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.21e-05/0.1444, allocations: 33.64 kB / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1444, allocations: 7.938 kB / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1444, allocations: 0 / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1445, allocations: 12.08 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.1445, allocations: 0 / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1445, allocations: 0 / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.1445, allocations: 3.938 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.1445, allocations: 3.938 kB / 0.6831 GB, free: 13.25 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.463e-05/0.1446, allocations: 189.7 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.1447, allocations: 104.9 kB / 0.6834 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.1447, allocations: 108.1 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.164e-05/0.1448, allocations: 188.2 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-05/0.1449, allocations: 180.2 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.267e-05/0.1449, allocations: 176.3 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.1451, allocations: 401.1 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.292e-05/0.1451, allocations: 113.5 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.1452, allocations: 105 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.662e-05/0.1452, allocations: 184.2 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.1453, allocations: 176.3 kB / 0.6849 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.813e-05/0.1454, allocations: 184.4 kB / 0.6851 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.542e-05/0.1454, allocations: 184.3 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1455, allocations: 311.7 kB / 0.6856 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.1456, allocations: 178.1 kB / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.1457, allocations: 184.2 kB / 0.6859 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.1458, allocations: 105 kB / 0.686 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.1458, allocations: 184.2 kB / 0.6862 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.1459, allocations: 105 kB / 0.6863 GB, free: 9.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.822e-05/0.1459, allocations: 75.28 kB / 0.6864 GB, free: 9.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1459, allocations: 0 / 0.6864 GB, free: 9.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000199/0.1461, allocations: 4 kB / 0.6864 GB, free: 9.656 MB / 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.0001297/0.1462, allocations: 178.5 kB / 0.6866 GB, free: 9.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.084e-05/0.1463, allocations: 4 kB / 0.6866 GB, free: 9.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1463, allocations: 4.156 kB / 0.6866 GB, free: 9.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/0.1463, allocations: 3.938 kB / 0.6866 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1466, allocations: 459.6 kB / 0.687 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001487/0.1468, allocations: 151.5 kB / 0.6872 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.147, allocations: 0.6768 MB / 0.6878 GB, free: 8.129 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.377e-06/0.147, allocations: 0 / 0.6878 GB, free: 8.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.1471, allocations: 11.44 kB / 0.6878 GB, free: 8.121 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1471, allocations: 0 / 0.6878 GB, free: 8.121 MB / 494.1 MB Notification: Performance of Templates: time 0.001562/0.1486, allocations: 184.6 kB / 0.688 GB, free: 7.988 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)