Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 185.1 kB / 15.77 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7892/0.7892, allocations: 82.93 MB / 99.42 MB, free: 3.258 MB / 74.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 325.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001534/0.001533, allocations: 84.7 kB / 393.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000764/0.0007648, allocations: 12 kB / 471.6 MB, free: 66.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1295, allocations: 67.45 MB / 0.5264 GB, free: 14.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006718/0.1303, allocations: 281 kB / 0.5267 GB, free: 14.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1314, allocations: 0.7574 MB / 0.5274 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-06/0.1314, allocations: 0 / 0.5274 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.868e-06/0.1315, allocations: 0 / 0.5274 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.604e-06/0.1315, allocations: 0 / 0.5274 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.1317, allocations: 15.91 kB / 0.5274 GB, free: 13.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.689e-05/0.1317, allocations: 3.938 kB / 0.5274 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1318, allocations: 8 kB / 0.5274 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.169e-05/0.1318, allocations: 0 / 0.5274 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1319, allocations: 19.98 kB / 0.5274 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.689e-06/0.1319, allocations: 0 / 0.5274 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.051e-06/0.132, allocations: 0 / 0.5274 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.718e-06/0.132, allocations: 0 / 0.5274 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.132, allocations: 25.7 kB / 0.5275 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 2.01e-05/0.132, allocations: 0 / 0.5275 GB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.549e-06/0.132, allocations: 0 / 0.5275 GB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1321, allocations: 0 / 0.5275 GB, free: 13.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1321, allocations: 0 / 0.5275 GB, free: 13.88 MB / 378.7 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.0002765/0.1324, allocations: 315.4 kB / 0.5278 GB, free: 13.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1324, allocations: 11.98 kB / 0.5278 GB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.1324, allocations: 0 / 0.5278 GB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1326, allocations: 163.1 kB / 0.5279 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1326, allocations: 0 / 0.5279 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-06/0.1326, allocations: 0 / 0.5279 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.226e-05/0.1327, allocations: 37.59 kB / 0.528 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.358e-06/0.1327, allocations: 0 / 0.528 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-06/0.1327, allocations: 0 / 0.528 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-06/0.1327, allocations: 7.984 kB / 0.528 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.52e-05/0.1328, allocations: 0 / 0.528 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.1331, allocations: 379.5 kB / 0.5283 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1332, allocations: 173 kB / 0.5285 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.1333, allocations: 75.28 kB / 0.5286 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/0.1334, allocations: 121.8 kB / 0.5287 GB, free: 12.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.775e-06/0.1334, allocations: 0 / 0.5287 GB, free: 12.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.822e-05/0.1335, allocations: 29.7 kB / 0.5287 GB, free: 12.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.1336, allocations: 126.7 kB / 0.5288 GB, free: 12.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.1337, allocations: 89.86 kB / 0.5289 GB, free: 12.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1337, allocations: 25.7 kB / 0.529 GB, free: 12.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.1338, allocations: 96.11 kB / 0.529 GB, free: 12.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-06/0.1338, allocations: 0 / 0.529 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-06/0.1338, allocations: 0 / 0.529 GB, free: 12.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1339, allocations: 314.8 kB / 0.5293 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.018e-06/0.134, allocations: 0 / 0.5293 GB, free: 11.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-06/0.134, allocations: 0 / 0.5293 GB, free: 11.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.134, allocations: 11.94 kB / 0.5294 GB, free: 11.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-06/0.134, allocations: 0 / 0.5294 GB, free: 11.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.92e-05/0.1341, allocations: 33.72 kB / 0.5294 GB, free: 11.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1342, allocations: 8.031 kB / 0.5294 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1342, allocations: 0 / 0.5294 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1342, allocations: 0 / 0.5294 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/0.1343, allocations: 8 kB / 0.5294 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.784e-06/0.1343, allocations: 0 / 0.5294 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.302e-05/0.1343, allocations: 0 / 0.5294 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.1343, allocations: 0 / 0.5294 GB, free: 11.67 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.1344, allocations: 189.1 kB / 0.5296 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/0.1345, allocations: 114.5 kB / 0.5297 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.758e-05/0.1346, allocations: 108.1 kB / 0.5298 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.833e-05/0.1347, allocations: 176.3 kB / 0.53 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.944e-05/0.1348, allocations: 184.2 kB / 0.5301 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.103e-05/0.1349, allocations: 180.2 kB / 0.5303 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.1352, allocations: 401.2 kB / 0.5307 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-05/0.1353, allocations: 109 kB / 0.5308 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.1354, allocations: 105 kB / 0.5309 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-05/0.1355, allocations: 180.2 kB / 0.5311 GB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.192e-05/0.1356, allocations: 180.2 kB / 0.5312 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.352e-05/0.1357, allocations: 184.2 kB / 0.5314 GB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-05/0.1358, allocations: 180.3 kB / 0.5316 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.136, allocations: 308 kB / 0.5319 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1361, allocations: 186.1 kB / 0.5321 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.1362, allocations: 180.2 kB / 0.5322 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1363, allocations: 104.9 kB / 0.5323 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1365, allocations: 196.2 kB / 0.5325 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.1365, allocations: 104.9 kB / 0.5326 GB, free: 8.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.131e-05/0.1366, allocations: 75.28 kB / 0.5327 GB, free: 8.078 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.1366, allocations: 3.938 kB / 0.5327 GB, free: 8.074 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.1369, allocations: 0 / 0.5327 GB, free: 8.074 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.1371, allocations: 182.6 kB / 0.5329 GB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.859e-05/0.1371, allocations: 0 / 0.5329 GB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.588e-06/0.1371, allocations: 0 / 0.5329 GB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.271e-06/0.1371, allocations: 3.938 kB / 0.5329 GB, free: 7.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.1375, allocations: 0.5227 MB / 0.5334 GB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.1378, allocations: 154 kB / 0.5335 GB, free: 7.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1381, allocations: 0.6692 MB / 0.5342 GB, free: 6.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.265e-05/0.1381, allocations: 0 / 0.5342 GB, free: 6.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.1382, allocations: 7.438 kB / 0.5342 GB, free: 6.473 MB / 378.7 MB Notification: Performance of SimCode: time 1.526e-06/0.1382, allocations: 0 / 0.5342 GB, free: 6.473 MB / 378.7 MB Notification: Performance of Templates: time 0.001954/0.1401, allocations: 171.8 kB / 0.5344 GB, free: 6.348 MB / 378.7 MB