Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7584/0.7584, allocations: 128.7 MB / 144.5 MB, free: 1.398 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 191.6 kB / 174.2 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 408.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009934/0.0009933, allocations: 115.7 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 54.61 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1345, allocations: 75.48 MB / 0.6317 GB, free: 33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002001/0.1366, allocations: 1.299 MB / 0.633 GB, free: 31.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006986/0.1373, allocations: 0.5312 MB / 0.6335 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.476e-05/0.1373, allocations: 4 kB / 0.6335 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.1374, allocations: 0 / 0.6335 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.416e-05/0.1374, allocations: 3.984 kB / 0.6335 GB, free: 31.13 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1377, allocations: 47.88 kB / 0.6336 GB, free: 31.09 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.1e-05/0.1378, allocations: 19.98 kB / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.1378, allocations: 0 / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.878e-05/0.1378, allocations: 7.984 kB / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.1379, allocations: 8 kB / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.1379, allocations: 0 / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.138, allocations: 71.84 kB / 0.6337 GB, free: 30.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.449e-05/0.1381, allocations: 15.92 kB / 0.6337 GB, free: 30.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.1381, allocations: 4 kB / 0.6337 GB, free: 30.96 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1382, allocations: 63.83 kB / 0.6338 GB, free: 30.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1382, allocations: 7.938 kB / 0.6338 GB, free: 30.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1382, allocations: 0 / 0.6338 GB, free: 30.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1382, allocations: 0 / 0.6338 GB, free: 30.89 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002803/0.1385, allocations: 339.8 kB / 0.6341 GB, free: 30.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1386, allocations: 8.031 kB / 0.6341 GB, free: 30.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.1386, allocations: 12.94 kB / 0.6341 GB, free: 30.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.404e-05/0.1387, allocations: 160.4 kB / 0.6343 GB, free: 30.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1387, allocations: 384 / 0.6343 GB, free: 30.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1387, allocations: 4.375 kB / 0.6343 GB, free: 30.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.946e-05/0.1388, allocations: 50 kB / 0.6343 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1388, allocations: 0 / 0.6343 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1388, allocations: 0 / 0.6343 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1388, allocations: 0 / 0.6343 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.512e-05/0.1389, allocations: 19.92 kB / 0.6343 GB, free: 30.22 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.139, allocations: 161.6 kB / 0.6345 GB, free: 30.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.694e-05/0.139, allocations: 26.58 kB / 0.6345 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.139, allocations: 16.95 kB / 0.6345 GB, free: 29.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.139, allocations: 4 kB / 0.6345 GB, free: 29.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.1392, allocations: 67.33 kB / 0.6346 GB, free: 29.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1392, allocations: 0 / 0.6346 GB, free: 29.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002189/0.1394, allocations: 109.5 kB / 0.6347 GB, free: 29.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.1394, allocations: 59.39 kB / 0.6348 GB, free: 29.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.003e-05/0.1394, allocations: 93.86 kB / 0.6348 GB, free: 29.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1395, allocations: 33.69 kB / 0.6349 GB, free: 29.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.656e-05/0.1395, allocations: 88.08 kB / 0.635 GB, free: 29.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.1395, allocations: 11.81 kB / 0.635 GB, free: 29.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.1395, allocations: 29.7 kB / 0.635 GB, free: 29.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.1396, allocations: 318.8 kB / 0.6353 GB, free: 29.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.1396, allocations: 28.02 kB / 0.6353 GB, free: 29.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.1397, allocations: 66.73 kB / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.1398, allocations: 97.88 kB / 0.6355 GB, free: 28.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1398, allocations: 0 / 0.6355 GB, free: 28.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001187/0.1399, allocations: 113.5 kB / 0.6356 GB, free: 28.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1399, allocations: 10.34 kB / 0.6356 GB, free: 28.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1399, allocations: 8 kB / 0.6356 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1399, allocations: 0 / 0.6356 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.14, allocations: 15.94 kB / 0.6356 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.14, allocations: 3.984 kB / 0.6356 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.1401, allocations: 15.84 kB / 0.6356 GB, free: 28.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1401, allocations: 4 kB / 0.6357 GB, free: 28.69 MB / 442.7 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 5.939e-05/0.1401, allocations: 122.5 kB / 0.6358 GB, free: 28.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.1402, allocations: 3.938 kB / 0.6358 GB, free: 28.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.1402, allocations: 7.969 kB / 0.6358 GB, free: 28.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1402, allocations: 3.984 kB / 0.6358 GB, free: 28.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1402, allocations: 4 kB / 0.6358 GB, free: 28.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1402, allocations: 0 / 0.6358 GB, free: 28.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.721e-05/0.1403, allocations: 149.7 kB / 0.6359 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1403, allocations: 0 / 0.6359 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-06/0.1403, allocations: 3.984 kB / 0.6359 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1403, allocations: 3.938 kB / 0.6359 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1403, allocations: 0 / 0.6359 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1403, allocations: 4.234 kB / 0.6359 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1403, allocations: 4 kB / 0.6359 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1405, allocations: 0.6668 MB / 0.6366 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.1406, allocations: 85.05 kB / 0.6367 GB, free: 27.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1406, allocations: 0 / 0.6367 GB, free: 27.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.1406, allocations: 4 kB / 0.6367 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.1406, allocations: 4 kB / 0.6367 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1406, allocations: 8.031 kB / 0.6367 GB, free: 27.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.153e-05/0.1406, allocations: 75.28 kB / 0.6368 GB, free: 27.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1407, allocations: 3.938 kB / 0.6368 GB, free: 27.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.141, allocations: 23.98 kB / 0.6368 GB, free: 27.39 MB / 442.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: 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.0001494/0.1411, allocations: 129.1 kB / 0.6369 GB, free: 27.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1412, allocations: 64.2 kB / 0.637 GB, free: 27.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1412, allocations: 8.062 kB / 0.637 GB, free: 27.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/0.1413, allocations: 12 kB / 0.637 GB, free: 27.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.1414, allocations: 7.938 kB / 0.637 GB, free: 27.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.1417, allocations: 242.2 kB / 0.6372 GB, free: 26.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.7e-05/0.1418, allocations: 0.6827 MB / 0.6379 GB, free: 26.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.584e-05/0.1418, allocations: 8.062 kB / 0.6379 GB, free: 26.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.1e-05/0.1418, allocations: 7.438 kB / 0.6379 GB, free: 26.17 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1418, allocations: 0 / 0.6379 GB, free: 26.17 MB / 442.7 MB Notification: Performance of Templates: time 0.002242/0.1441, allocations: 0.6662 MB / 0.6386 GB, free: 25.55 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)