Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 183.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.708/0.708, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 403.4 MB, free: 7.039 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009853/0.0009851, allocations: 97.06 kB / 484.3 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009709/0.0009711, allocations: 51.92 kB / 0.5619 GB, free: 70.99 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1399, allocations: 80.21 MB / 0.6402 GB, free: 6.711 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001663/0.1416, allocations: 0.6007 MB / 0.6408 GB, free: 6.105 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000958/0.1426, allocations: 0.7845 MB / 0.6416 GB, free: 5.309 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.014e-05/0.1426, allocations: 0 / 0.6416 GB, free: 5.309 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.1427, allocations: 0 / 0.6416 GB, free: 5.309 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.1427, allocations: 0 / 0.6416 GB, free: 5.309 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.1429, allocations: 23.91 kB / 0.6416 GB, free: 5.285 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.643e-05/0.1429, allocations: 4 kB / 0.6416 GB, free: 5.281 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.143, allocations: 0 / 0.6416 GB, free: 5.281 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.177e-05/0.143, allocations: 0 / 0.6416 GB, free: 5.281 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1431, allocations: 27.91 kB / 0.6416 GB, free: 5.254 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-06/0.1431, allocations: 0 / 0.6416 GB, free: 5.254 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.557e-06/0.1431, allocations: 0 / 0.6416 GB, free: 5.254 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.1432, allocations: 0 / 0.6416 GB, free: 5.254 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.1432, allocations: 4 kB / 0.6416 GB, free: 5.25 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 3.158e-05/0.1432, allocations: 4 kB / 0.6416 GB, free: 5.246 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1432, allocations: 0 / 0.6416 GB, free: 5.246 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1432, allocations: 0 / 0.6416 GB, free: 5.246 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1432, allocations: 0 / 0.6416 GB, free: 5.246 MB / 442.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.0002421/0.1435, allocations: 311.6 kB / 0.6419 GB, free: 4.895 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1435, allocations: 8.031 kB / 0.6419 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.1435, allocations: 0.9375 kB / 0.6419 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.551e-05/0.1436, allocations: 160.4 kB / 0.6421 GB, free: 4.691 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1437, allocations: 4.375 kB / 0.6421 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.1437, allocations: 384 / 0.6421 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.751e-05/0.1438, allocations: 41.77 kB / 0.6421 GB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1438, allocations: 0 / 0.6421 GB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1438, allocations: 3.984 kB / 0.6421 GB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1438, allocations: 0 / 0.6421 GB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.1438, allocations: 0 / 0.6421 GB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.1441, allocations: 387.4 kB / 0.6425 GB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.642e-05/0.1442, allocations: 173.1 kB / 0.6427 GB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.1442, allocations: 80.14 kB / 0.6427 GB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.1443, allocations: 75.28 kB / 0.6428 GB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.1443, allocations: 109.9 kB / 0.6429 GB, free: 3.754 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 3.066e-06/0.1443, allocations: 0 / 0.6429 GB, free: 3.754 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 7.203e-05/0.1444, allocations: 33.64 kB / 0.643 GB, free: 3.715 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1445, allocations: 126.7 kB / 0.6431 GB, free: 3.578 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.1445, allocations: 97.84 kB / 0.6432 GB, free: 3.473 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1446, allocations: 29.7 kB / 0.6432 GB, free: 3.438 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.1446, allocations: 84.08 kB / 0.6433 GB, free: 3.352 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.1446, allocations: 0 / 0.6433 GB, free: 3.352 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.1446, allocations: 9.719 kB / 0.6433 GB, free: 3.336 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.1447, allocations: 322.8 kB / 0.6436 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-06/0.1447, allocations: 4 kB / 0.6436 GB, free: 3.008 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-06/0.1447, allocations: 0 / 0.6436 GB, free: 3.008 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/0.1448, allocations: 8.859 kB / 0.6436 GB, free: 2.996 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1448, allocations: 4 kB / 0.6436 GB, free: 2.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.014e-05/0.1448, allocations: 33.69 kB / 0.6436 GB, free: 2.953 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1449, allocations: 4 kB / 0.6436 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1449, allocations: 0 / 0.6436 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1449, allocations: 4.094 kB / 0.6436 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.1449, allocations: 11.94 kB / 0.6437 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.145, allocations: 3.984 kB / 0.6437 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-06/0.145, allocations: 0 / 0.6437 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.145, allocations: 0 / 0.6437 GB, free: 2.93 MB / 442.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/0.1451, allocations: 185.1 kB / 0.6438 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.1451, allocations: 105 kB / 0.6439 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.1452, allocations: 116.1 kB / 0.644 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.902e-05/0.1452, allocations: 180.2 kB / 0.6442 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-05/0.1453, allocations: 177.3 kB / 0.6444 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.661e-05/0.1453, allocations: 184.2 kB / 0.6446 GB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.1455, allocations: 401.2 kB / 0.6449 GB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/0.1456, allocations: 105 kB / 0.645 GB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.1456, allocations: 108.9 kB / 0.6452 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-05/0.1457, allocations: 184.3 kB / 0.6453 GB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.1457, allocations: 180.2 kB / 0.6455 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-05/0.1458, allocations: 180.2 kB / 0.6457 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.654e-05/0.1458, allocations: 184.4 kB / 0.6458 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.1462, allocations: 0.8415 MB / 0.6467 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.1462, allocations: 182.1 kB / 0.6468 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.1463, allocations: 184.2 kB / 0.647 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.21e-05/0.1464, allocations: 108.9 kB / 0.6471 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.1464, allocations: 188.1 kB / 0.6473 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.1465, allocations: 105 kB / 0.6474 GB, free: 14.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.563e-05/0.1465, allocations: 75.28 kB / 0.6475 GB, free: 14.76 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1465, allocations: 0 / 0.6475 GB, free: 14.76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002989/0.1468, allocations: 0 / 0.6475 GB, free: 14.76 MB / 458.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 (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.0001195/0.1469, allocations: 174.6 kB / 0.6476 GB, free: 14.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.271e-05/0.147, allocations: 15.98 kB / 0.6477 GB, free: 14.56 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.147, allocations: 0 / 0.6477 GB, free: 14.56 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/0.147, allocations: 3.938 kB / 0.6477 GB, free: 14.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.1473, allocations: 0.5146 MB / 0.6482 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001599/0.1475, allocations: 154.1 kB / 0.6483 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.1477, allocations: 0.6808 MB / 0.649 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.101e-05/0.1477, allocations: 0 / 0.649 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.16e-05/0.1477, allocations: 7.438 kB / 0.649 GB, free: 13.14 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.1477, allocations: 0 / 0.649 GB, free: 13.14 MB / 458.7 MB Notification: Performance of Templates: time 0.001458/0.1492, allocations: 180 kB / 0.6492 GB, free: 13.01 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)