Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001349, allocations: 107.6 kB / 16.41 MB, free: 6.492 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.001236/0.001236, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6591/0.6591, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 64.86 kB / 0.5577 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1266, allocations: 76.19 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00205/0.1287, allocations: 1.218 MB / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007785/0.1294, allocations: 483.1 kB / 0.6338 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.1295, allocations: 4 kB / 0.6338 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.1295, allocations: 0 / 0.6338 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.1296, allocations: 0 / 0.6338 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1299, allocations: 55.8 kB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.13, allocations: 15.98 kB / 0.6338 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.13, allocations: 8 kB / 0.6339 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.63e-05/0.1301, allocations: 11.92 kB / 0.6339 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.1301, allocations: 4 kB / 0.6339 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.156e-06/0.1301, allocations: 0 / 0.6339 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.1303, allocations: 67.84 kB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.1303, allocations: 11.98 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.1304, allocations: 11.94 kB / 0.634 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.1305, allocations: 63.78 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1305, allocations: 0 / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1305, allocations: 0 / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1305, allocations: 0 / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000321/0.1308, allocations: 341.4 kB / 0.6343 GB, free: 2.059 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1309, allocations: 8.031 kB / 0.6344 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.1309, allocations: 8.844 kB / 0.6344 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.697e-05/0.131, allocations: 164.3 kB / 0.6345 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.131, allocations: 12.34 kB / 0.6345 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.131, allocations: 4.375 kB / 0.6345 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/0.1311, allocations: 50 kB / 0.6346 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1311, allocations: 0 / 0.6346 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1311, allocations: 0 / 0.6346 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1312, allocations: 4 kB / 0.6346 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.1312, allocations: 11.94 kB / 0.6346 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.1313, allocations: 153.7 kB / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.962e-05/0.1314, allocations: 30.66 kB / 0.6348 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.1314, allocations: 24.92 kB / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.1314, allocations: 0 / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.1315, allocations: 79.27 kB / 0.6349 GB, free: 1.402 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1315, allocations: 0 / 0.6349 GB, free: 1.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001789/0.1317, allocations: 89.69 kB / 0.635 GB, free: 1.309 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1317, allocations: 63.38 kB / 0.635 GB, free: 1.234 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.391e-05/0.1318, allocations: 93.77 kB / 0.6351 GB, free: 1.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.1318, allocations: 33.7 kB / 0.6351 GB, free: 1.094 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.1318, allocations: 80.14 kB / 0.6352 GB, free: 1.012 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.1319, allocations: 19.83 kB / 0.6352 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.1319, allocations: 29.75 kB / 0.6353 GB, free: 0.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.132, allocations: 318.8 kB / 0.6356 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.1321, allocations: 23.98 kB / 0.6356 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.1321, allocations: 61.94 kB / 0.6357 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1322, allocations: 97.92 kB / 0.6357 GB, free: 424 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1323, allocations: 0 / 0.6357 GB, free: 424 kB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001535/0.1324, allocations: 125.4 kB / 0.6359 GB, free: 292 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1324, allocations: 7.938 kB / 0.6359 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1324, allocations: 4 kB / 0.6359 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1325, allocations: 3.984 kB / 0.6359 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.1325, allocations: 12 kB / 0.6359 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1325, allocations: 240 / 0.6359 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.1326, allocations: 4 kB / 0.6359 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1326, allocations: 8 kB / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.048e-05/0.1327, allocations: 130.6 kB / 0.636 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.1327, allocations: 11.88 kB / 0.636 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.1327, allocations: 7.906 kB / 0.636 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1327, allocations: 4 kB / 0.636 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1327, allocations: 0 / 0.636 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1328, allocations: 0 / 0.636 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.1329, allocations: 153.6 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1329, allocations: 0 / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-06/0.1329, allocations: 0 / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1329, allocations: 7.938 kB / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1329, allocations: 0 / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1329, allocations: 0 / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1329, allocations: 7.984 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.133, allocations: 105 kB / 0.6363 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.1331, allocations: 81.05 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1331, allocations: 7.984 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.1331, allocations: 0 / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.1331, allocations: 12.03 kB / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.1332, allocations: 0 / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.258e-05/0.1332, allocations: 75.28 kB / 0.6365 GB, free: 15.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1332, allocations: 4 kB / 0.6365 GB, free: 15.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.1334, allocations: 16 kB / 0.6365 GB, free: 15.53 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: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001641/0.1336, allocations: 130.3 kB / 0.6366 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.1337, allocations: 64.03 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1337, allocations: 0 / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.1337, allocations: 23.92 kB / 0.6367 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1339, allocations: 0 / 0.6367 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.1341, allocations: 117.5 kB / 0.6368 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1343, allocations: 0.6768 MB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.817e-05/0.1344, allocations: 8.359 kB / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.1344, allocations: 15.44 kB / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1344, allocations: 0 / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Templates: time 0.002341/0.1367, allocations: 0.6667 MB / 0.6382 GB, free: 13.82 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)