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.001318/0.001318, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001853/0.001853, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9692/0.9692, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001404, allocations: 68.75 kB / 0.5049 GB, free: 5.594 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1435, allocations: 80.93 MB / 0.5839 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002372/0.1459, allocations: 1.302 MB / 0.5852 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008292/0.1467, allocations: 480.5 kB / 0.5857 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.1468, allocations: 4 kB / 0.5857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.1468, allocations: 0 / 0.5857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.1469, allocations: 0 / 0.5857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.1472, allocations: 51.88 kB / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.789e-05/0.1473, allocations: 15.97 kB / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.1473, allocations: 0 / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.939e-05/0.1474, allocations: 7.938 kB / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.364e-05/0.1474, allocations: 11.94 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.1474, allocations: 8 kB / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1476, allocations: 63.84 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.1476, allocations: 15.97 kB / 0.5858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1477, allocations: 7.938 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.1478, allocations: 59.92 kB / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1478, allocations: 0 / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1478, allocations: 0 / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1478, allocations: 0 / 0.5859 GB, free: 2.797 MB / 494.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.0003394/0.1482, allocations: 343.7 kB / 0.5862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1482, allocations: 12.03 kB / 0.5862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.1482, allocations: 0.9375 kB / 0.5862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.936e-05/0.1483, allocations: 168.3 kB / 0.5864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1484, allocations: 384 / 0.5864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1484, allocations: 12.06 kB / 0.5864 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1485, allocations: 45.69 kB / 0.5864 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1485, allocations: 3.984 kB / 0.5864 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1485, allocations: 0 / 0.5864 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1485, allocations: 3.984 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.1486, allocations: 12 kB / 0.5865 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.1487, allocations: 157.7 kB / 0.5866 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.1488, allocations: 30.58 kB / 0.5866 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.1488, allocations: 24.88 kB / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.1488, allocations: 0 / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.149, allocations: 67.41 kB / 0.5867 GB, free: 1.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.149, allocations: 4 kB / 0.5867 GB, free: 1.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001956/0.1492, allocations: 93.61 kB / 0.5868 GB, free: 1.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1492, allocations: 63.39 kB / 0.5869 GB, free: 1.594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.1493, allocations: 97.75 kB / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1493, allocations: 33.7 kB / 0.587 GB, free: 1.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.1493, allocations: 80.14 kB / 0.5871 GB, free: 1.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1494, allocations: 15.84 kB / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.1494, allocations: 29.7 kB / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1495, allocations: 314.9 kB / 0.5874 GB, free: 1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.1496, allocations: 23.98 kB / 0.5875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.1496, allocations: 65.98 kB / 0.5875 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1498, allocations: 97.88 kB / 0.5876 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1498, allocations: 0 / 0.5876 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001612/0.1499, allocations: 121.6 kB / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.15, allocations: 10.53 kB / 0.5877 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.15, allocations: 0 / 0.5877 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.15, allocations: 4 kB / 0.5877 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1501, allocations: 23.86 kB / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1501, allocations: 4 kB / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.1502, allocations: 4 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1502, allocations: 4 kB / 0.5878 GB, free: 0.6016 MB / 494.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.264e-05/0.1503, allocations: 119.3 kB / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.1503, allocations: 11.84 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.1503, allocations: 7.953 kB / 0.5879 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1503, allocations: 0 / 0.5879 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1503, allocations: 3.938 kB / 0.5879 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1503, allocations: 4 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1505, allocations: 161.5 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1505, allocations: 7.938 kB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-06/0.1505, allocations: 0 / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1505, allocations: 0 / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1505, allocations: 0 / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1505, allocations: 4 kB / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1505, allocations: 0 / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1506, allocations: 109 kB / 0.5882 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.1507, allocations: 77.11 kB / 0.5883 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1507, allocations: 4 kB / 0.5883 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.1507, allocations: 0 / 0.5883 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.1508, allocations: 0 / 0.5883 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.1508, allocations: 8.047 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.1508, allocations: 79.31 kB / 0.5883 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1508, allocations: 0 / 0.5883 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002383/0.1511, allocations: 27.94 kB / 0.5884 GB, free: 15.89 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.0001799/0.1513, allocations: 123.2 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1514, allocations: 59.89 kB / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1514, allocations: 448 / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.1515, allocations: 24 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1516, allocations: 3.938 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.1518, allocations: 125.4 kB / 0.5887 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1521, allocations: 0.6768 MB / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.1521, allocations: 7.984 kB / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.1522, allocations: 11.44 kB / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1522, allocations: 4.062 kB / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.002856/0.155, allocations: 0.664 MB / 0.59 GB, free: 14.18 MB / 0.4981 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)