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.001079/0.001079, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 185.1 kB / 16.92 MB, free: 6.934 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6703/0.6703, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 8 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 77.53 MB / 0.56 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001299/0.1301, allocations: 0.9731 MB / 0.5609 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.131, allocations: 467 kB / 0.5614 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.437e-05/0.131, allocations: 0 / 0.5614 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.131, allocations: 4 kB / 0.5614 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/0.1311, allocations: 4 kB / 0.5614 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1314, allocations: 47.88 kB / 0.5614 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.1315, allocations: 19.97 kB / 0.5615 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.1315, allocations: 7.984 kB / 0.5615 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.866e-05/0.1315, allocations: 4 kB / 0.5615 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.552e-05/0.1316, allocations: 7.938 kB / 0.5615 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-06/0.1316, allocations: 0 / 0.5615 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1317, allocations: 67.84 kB / 0.5615 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.1318, allocations: 15.98 kB / 0.5616 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.1318, allocations: 37.62 kB / 0.5616 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.132, allocations: 71.83 kB / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.132, allocations: 0 / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.132, allocations: 0 / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.132, allocations: 0 / 0.5617 GB, free: 7.266 MB / 430.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.0003142/0.1323, allocations: 330.1 kB / 0.562 GB, free: 6.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1324, allocations: 8.031 kB / 0.562 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.1324, allocations: 8.844 kB / 0.562 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.198e-05/0.1325, allocations: 164.4 kB / 0.5622 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1325, allocations: 4.375 kB / 0.5622 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1325, allocations: 4.375 kB / 0.5622 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.814e-05/0.1326, allocations: 50 kB / 0.5622 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.1326, allocations: 0 / 0.5622 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1327, allocations: 3.938 kB / 0.5622 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1327, allocations: 7.938 kB / 0.5622 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.1327, allocations: 11.92 kB / 0.5622 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.1328, allocations: 153.7 kB / 0.5624 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.743e-05/0.1329, allocations: 38.64 kB / 0.5624 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.1329, allocations: 16.95 kB / 0.5624 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.1329, allocations: 0 / 0.5624 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.1331, allocations: 71.27 kB / 0.5625 GB, free: 6.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1331, allocations: 0 / 0.5625 GB, free: 6.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001829/0.1333, allocations: 93.67 kB / 0.5626 GB, free: 6.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1333, allocations: 59.44 kB / 0.5626 GB, free: 6.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.376e-05/0.1334, allocations: 97.77 kB / 0.5627 GB, free: 5.977 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1334, allocations: 33.69 kB / 0.5628 GB, free: 5.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.1334, allocations: 80.14 kB / 0.5629 GB, free: 5.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.1335, allocations: 19.83 kB / 0.5629 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.1335, allocations: 21.7 kB / 0.5629 GB, free: 5.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1336, allocations: 314.8 kB / 0.5632 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.1336, allocations: 23.98 kB / 0.5632 GB, free: 5.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.1337, allocations: 77.17 kB / 0.5633 GB, free: 5.375 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1338, allocations: 93.94 kB / 0.5634 GB, free: 5.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1339, allocations: 0 / 0.5634 GB, free: 5.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001664/0.134, allocations: 121.4 kB / 0.5635 GB, free: 5.137 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.134, allocations: 7.938 kB / 0.5635 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1341, allocations: 0 / 0.5635 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1341, allocations: 4.219 kB / 0.5635 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.1341, allocations: 12 kB / 0.5635 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1342, allocations: 4 kB / 0.5635 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.1342, allocations: 8 kB / 0.5635 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1342, allocations: 7.984 kB / 0.5635 GB, free: 5.094 MB / 430.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.271e-05/0.1343, allocations: 122.7 kB / 0.5637 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.1343, allocations: 3.938 kB / 0.5637 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.712e-05/0.1343, allocations: 3.969 kB / 0.5637 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1344, allocations: 4 kB / 0.5637 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1344, allocations: 4 kB / 0.5637 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1344, allocations: 11.97 kB / 0.5637 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1345, allocations: 149.5 kB / 0.5638 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1345, allocations: 4 kB / 0.5638 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.1345, allocations: 0 / 0.5638 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.1345, allocations: 11.86 kB / 0.5638 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1345, allocations: 4 kB / 0.5638 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1345, allocations: 0 / 0.5638 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1345, allocations: 0 / 0.5638 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.1347, allocations: 113 kB / 0.5639 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.1347, allocations: 85.03 kB / 0.564 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1347, allocations: 4 kB / 0.564 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.162e-05/0.1348, allocations: 0 / 0.564 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.1348, allocations: 0 / 0.564 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1348, allocations: 4 kB / 0.564 GB, free: 4.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.307e-05/0.1348, allocations: 75.28 kB / 0.5641 GB, free: 4.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1348, allocations: 0 / 0.5641 GB, free: 4.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1351, allocations: 28.03 kB / 0.5641 GB, free: 4.383 MB / 430.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.0001698/0.1352, allocations: 127.2 kB / 0.5643 GB, free: 4.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.1353, allocations: 55.91 kB / 0.5643 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1354, allocations: 0 / 0.5643 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.1354, allocations: 19.94 kB / 0.5643 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1355, allocations: 1.312 kB / 0.5643 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.1358, allocations: 132.5 kB / 0.5645 GB, free: 4.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.136, allocations: 0.6809 MB / 0.5651 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.136, allocations: 4 kB / 0.5651 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.136, allocations: 7.438 kB / 0.5651 GB, free: 3.301 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.136, allocations: 4 kB / 0.5651 GB, free: 3.297 MB / 430.1 MB Notification: Performance of Templates: time 0.002459/0.1385, allocations: 0.6405 MB / 0.5658 GB, free: 2.703 MB / 430.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)