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.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001628/0.001628, allocations: 194 kB / 16.14 MB, free: 6.707 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 298.7 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9156/0.9156, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 90.34 kB / 0.5945 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1362, allocations: 86.99 MB / 0.6795 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001544/0.1378, allocations: 0.603 MB / 0.6801 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.1386, allocations: 0.7822 MB / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-06/0.1386, allocations: 0 / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.1386, allocations: 0 / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.1386, allocations: 0 / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.1388, allocations: 16.5 kB / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.012e-05/0.1389, allocations: 0 / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.1389, allocations: 4.656 kB / 0.6809 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.408e-05/0.1389, allocations: 1.875 kB / 0.6809 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1391, allocations: 19.97 kB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-06/0.1391, allocations: 2.656 kB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.226e-06/0.1391, allocations: 0 / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.1391, allocations: 0 / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.1391, allocations: 7.938 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.929e-05/0.1392, allocations: 0 / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1392, allocations: 3.938 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1392, allocations: 0 / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1392, allocations: 0.7812 kB / 0.6809 GB, free: 15.66 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.0002335/0.1394, allocations: 312.5 kB / 0.6812 GB, free: 15.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1395, allocations: 8.031 kB / 0.6812 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.1395, allocations: 0.9375 kB / 0.6812 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.613e-05/0.1396, allocations: 164.9 kB / 0.6814 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1396, allocations: 1.5 kB / 0.6814 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.1396, allocations: 384 / 0.6814 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.291e-05/0.1397, allocations: 31.2 kB / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.1397, allocations: 192 / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1397, allocations: 7.938 kB / 0.6814 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1397, allocations: 0 / 0.6814 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.465e-05/0.1397, allocations: 0 / 0.6814 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.14, allocations: 383.5 kB / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.1401, allocations: 169.1 kB / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.1401, allocations: 80.14 kB / 0.682 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1401, allocations: 83.31 kB / 0.6821 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.1402, allocations: 105.8 kB / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1402, allocations: 0 / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.103e-05/0.1402, allocations: 33.64 kB / 0.6822 GB, free: 14.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1403, allocations: 126.7 kB / 0.6823 GB, free: 14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.62e-05/0.1404, allocations: 105.8 kB / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.1404, allocations: 25.7 kB / 0.6825 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.1404, allocations: 80.42 kB / 0.6825 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.1404, allocations: 0 / 0.6825 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.1404, allocations: 9.719 kB / 0.6825 GB, free: 13.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.1405, allocations: 322.8 kB / 0.6828 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-06/0.1406, allocations: 0 / 0.6828 GB, free: 13.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-06/0.1406, allocations: 0 / 0.6828 GB, free: 13.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.289e-05/0.1406, allocations: 13.05 kB / 0.6829 GB, free: 13.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1406, allocations: 0 / 0.6829 GB, free: 13.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.439e-05/0.1407, allocations: 37.58 kB / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1407, allocations: 7.984 kB / 0.6829 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1407, allocations: 0 / 0.6829 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.1407, allocations: 0 / 0.6829 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.82e-05/0.1408, allocations: 4 kB / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1408, allocations: 0 / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.1408, allocations: 3.938 kB / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.1408, allocations: 0 / 0.6829 GB, free: 13.36 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 7.724e-05/0.1409, allocations: 189.8 kB / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.1409, allocations: 112.9 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.141, allocations: 108.1 kB / 0.6833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-05/0.141, allocations: 180.2 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.573e-05/0.1411, allocations: 188.2 kB / 0.6837 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.328e-05/0.1411, allocations: 180.3 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.1413, allocations: 409.1 kB / 0.6842 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-05/0.1414, allocations: 101.5 kB / 0.6843 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.1414, allocations: 105 kB / 0.6844 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.285e-05/0.1415, allocations: 184.2 kB / 0.6846 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.1415, allocations: 176.3 kB / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.005e-05/0.1416, allocations: 184.4 kB / 0.6849 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.676e-05/0.1416, allocations: 188.2 kB / 0.6851 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.1417, allocations: 303.7 kB / 0.6854 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.1418, allocations: 182.1 kB / 0.6856 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.1419, allocations: 192.2 kB / 0.6858 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.1419, allocations: 101 kB / 0.6859 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.142, allocations: 180.3 kB / 0.686 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.142, allocations: 104.9 kB / 0.6861 GB, free: 9.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.142, allocations: 75.28 kB / 0.6862 GB, free: 9.766 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1421, allocations: 0 / 0.6862 GB, free: 9.766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000196/0.1423, allocations: 96 / 0.6862 GB, free: 9.766 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.000107/0.1424, allocations: 186.5 kB / 0.6864 GB, free: 9.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.254e-05/0.1424, allocations: 3.938 kB / 0.6864 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1424, allocations: 3.938 kB / 0.6864 GB, free: 9.562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.1424, allocations: 4 kB / 0.6864 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1427, allocations: 0.5302 MB / 0.6869 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001325/0.1429, allocations: 146 kB / 0.687 GB, free: 8.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.1431, allocations: 0.6692 MB / 0.6877 GB, free: 8.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.036e-05/0.1431, allocations: 3.984 kB / 0.6877 GB, free: 8.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.012e-05/0.1431, allocations: 7.438 kB / 0.6877 GB, free: 8.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1431, allocations: 4 kB / 0.6877 GB, free: 8.145 MB / 494.1 MB Notification: Performance of Templates: time 0.001557/0.1447, allocations: 178.3 kB / 0.6879 GB, free: 8.02 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)