Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.007872/0.007872, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001889/0.001889, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7863/0.7863, allocations: 135.2 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 58.38 kB / 0.5857 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1379, allocations: 80.93 MB / 0.6647 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002063/0.14, allocations: 1.244 MB / 0.6659 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.1409, allocations: 499 kB / 0.6664 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.1409, allocations: 0 / 0.6664 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.1409, allocations: 0 / 0.6664 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.054e-05/0.141, allocations: 3.938 kB / 0.6664 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1413, allocations: 47.81 kB / 0.6664 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.1414, allocations: 15.98 kB / 0.6664 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.1414, allocations: 4 kB / 0.6664 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.1415, allocations: 11.98 kB / 0.6665 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.1415, allocations: 4 kB / 0.6665 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.1415, allocations: 0 / 0.6665 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1417, allocations: 75.84 kB / 0.6665 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.1417, allocations: 7.984 kB / 0.6665 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1418, allocations: 11.92 kB / 0.6666 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.1419, allocations: 55.86 kB / 0.6666 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1419, allocations: 3.938 kB / 0.6666 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.435e-06/0.1419, allocations: 4 kB / 0.6666 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1419, allocations: 4 kB / 0.6666 GB, free: 3.922 MB / 0.4981 GB 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.0003216/0.1422, allocations: 335.4 kB / 0.6669 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.1423, allocations: 8.031 kB / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.1423, allocations: 8.891 kB / 0.667 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.181e-05/0.1424, allocations: 164.3 kB / 0.6671 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1424, allocations: 384 / 0.6671 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.1424, allocations: 11.94 kB / 0.6671 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.124e-05/0.1425, allocations: 41.69 kB / 0.6672 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.1425, allocations: 4 kB / 0.6672 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1426, allocations: 4 kB / 0.6672 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1426, allocations: 0 / 0.6672 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.586e-05/0.1426, allocations: 15.98 kB / 0.6672 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.1427, allocations: 149.7 kB / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.444e-05/0.1428, allocations: 38.52 kB / 0.6674 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.1428, allocations: 16.95 kB / 0.6674 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.1428, allocations: 3.984 kB / 0.6674 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.1429, allocations: 67.41 kB / 0.6674 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.143, allocations: 3.938 kB / 0.6674 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0001813/0.1431, allocations: 97.61 kB / 0.6675 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.1432, allocations: 55.41 kB / 0.6676 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.697e-05/0.1432, allocations: 97.8 kB / 0.6677 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1433, allocations: 33.7 kB / 0.6677 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.1433, allocations: 80.14 kB / 0.6678 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1433, allocations: 19.92 kB / 0.6678 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.1434, allocations: 29.7 kB / 0.6678 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.1435, allocations: 314.8 kB / 0.6681 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.1435, allocations: 23.98 kB / 0.6682 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.1436, allocations: 65.98 kB / 0.6682 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1437, allocations: 97.88 kB / 0.6683 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1437, allocations: 4 kB / 0.6683 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001544/0.1439, allocations: 121.4 kB / 0.6684 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1439, allocations: 4 kB / 0.6684 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1439, allocations: 4 kB / 0.6685 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1439, allocations: 3.938 kB / 0.6685 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.144, allocations: 23.92 kB / 0.6685 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.144, allocations: 0 / 0.6685 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.1441, allocations: 4 kB / 0.6685 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.1441, allocations: 8.219 kB / 0.6685 GB, free: 1.734 MB / 0.4981 GB 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 8.712e-05/0.1442, allocations: 122.7 kB / 0.6686 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.1442, allocations: 3.953 kB / 0.6686 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.1442, allocations: 19.88 kB / 0.6686 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1442, allocations: 0 / 0.6686 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1442, allocations: 0 / 0.6686 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1442, allocations: 0 / 0.6686 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1443, allocations: 165.5 kB / 0.6688 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1443, allocations: 4 kB / 0.6688 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/0.1444, allocations: 0 / 0.6688 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.1444, allocations: 0 / 0.6688 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.1444, allocations: 4 kB / 0.6688 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1444, allocations: 0 / 0.6688 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1444, allocations: 0 / 0.6688 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.1445, allocations: 105 kB / 0.6689 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.1445, allocations: 85.06 kB / 0.669 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1446, allocations: 0 / 0.669 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.162e-05/0.1446, allocations: 8.031 kB / 0.669 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.1446, allocations: 0 / 0.669 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1446, allocations: 7.984 kB / 0.669 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.1447, allocations: 75.28 kB / 0.6691 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1447, allocations: 3.938 kB / 0.6691 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002151/0.1449, allocations: 23.94 kB / 0.6691 GB, free: 1.023 MB / 0.4981 GB 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.0001723/0.1451, allocations: 124.5 kB / 0.6692 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.1452, allocations: 59.91 kB / 0.6693 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1452, allocations: 0 / 0.6693 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.012e-05/0.1452, allocations: 20 kB / 0.6693 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.1454, allocations: 3.938 kB / 0.6693 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.1456, allocations: 121.4 kB / 0.6694 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.1458, allocations: 0.6729 MB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.1459, allocations: 16.42 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.1459, allocations: 15.38 kB / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1459, allocations: 0 / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.002595/0.1485, allocations: 0.6686 MB / 0.6707 GB, free: 15.31 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)