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.001295/0.001296, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001335/0.001335, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7829/0.7829, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 0.5068 GB, free: 7.598 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3492, allocations: 80.91 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002063/0.3513, allocations: 1.226 MB / 0.587 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006669/0.352, allocations: 495.8 kB / 0.5875 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.352, allocations: 0 / 0.5875 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.3521, allocations: 1.156 kB / 0.5875 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.3521, allocations: 3.938 kB / 0.5875 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.3524, allocations: 58.22 kB / 0.5875 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.067e-05/0.3525, allocations: 15.16 kB / 0.5876 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.3526, allocations: 1.188 kB / 0.5876 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.3526, allocations: 3.531 kB / 0.5876 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.3526, allocations: 8.031 kB / 0.5876 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.3526, allocations: 0.875 kB / 0.5876 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.3528, allocations: 74.34 kB / 0.5876 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.3528, allocations: 16.88 kB / 0.5877 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.3529, allocations: 13.12 kB / 0.5877 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.353, allocations: 49.8 kB / 0.5877 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.353, allocations: 2.281 kB / 0.5877 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.353, allocations: 0 / 0.5877 GB, free: 24.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.353, allocations: 1.281 kB / 0.5877 GB, free: 24.18 MB / 446.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.0002673/0.3533, allocations: 343.2 kB / 0.588 GB, free: 23.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.3533, allocations: 10.44 kB / 0.5881 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.3533, allocations: 2.094 kB / 0.5881 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.825e-05/0.3534, allocations: 165.2 kB / 0.5882 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3534, allocations: 1.625 kB / 0.5882 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.3534, allocations: 7.281 kB / 0.5882 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.976e-05/0.3535, allocations: 52.47 kB / 0.5883 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.3535, allocations: 3.938 kB / 0.5883 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3535, allocations: 1.25 kB / 0.5883 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3536, allocations: 0.6875 kB / 0.5883 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.397e-05/0.3536, allocations: 12.23 kB / 0.5883 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.058e-05/0.3537, allocations: 158.1 kB / 0.5884 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.3537, allocations: 27.2 kB / 0.5885 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.3538, allocations: 21.92 kB / 0.5885 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.3538, allocations: 0.8438 kB / 0.5885 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.297e-05/0.3539, allocations: 71.36 kB / 0.5886 GB, free: 23.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3539, allocations: 0 / 0.5886 GB, free: 23.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001735/0.3541, allocations: 100.6 kB / 0.5887 GB, free: 23.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.3541, allocations: 59.58 kB / 0.5887 GB, free: 23.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.873e-05/0.3541, allocations: 95.64 kB / 0.5888 GB, free: 23.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.3541, allocations: 32.97 kB / 0.5888 GB, free: 22.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.291e-05/0.3541, allocations: 81.98 kB / 0.5889 GB, free: 22.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.3542, allocations: 10.81 kB / 0.5889 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.3542, allocations: 31.45 kB / 0.5889 GB, free: 22.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.3543, allocations: 318.5 kB / 0.5893 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.3543, allocations: 24.77 kB / 0.5893 GB, free: 22.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.3543, allocations: 76.48 kB / 0.5893 GB, free: 22.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.3544, allocations: 94.62 kB / 0.5894 GB, free: 22.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3545, allocations: 1.375 kB / 0.5894 GB, free: 22.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001326/0.3546, allocations: 128.3 kB / 0.5896 GB, free: 22.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3546, allocations: 6.406 kB / 0.5896 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3546, allocations: 1.406 kB / 0.5896 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3546, allocations: 4 kB / 0.5896 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.3547, allocations: 8.656 kB / 0.5896 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3547, allocations: 6.609 kB / 0.5896 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.3548, allocations: 10.88 kB / 0.5896 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.3548, allocations: 5.812 kB / 0.5896 GB, free: 22.3 MB / 446.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 6.159e-05/0.3548, allocations: 123 kB / 0.5897 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.3549, allocations: 9 kB / 0.5897 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.3549, allocations: 6.094 kB / 0.5897 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3549, allocations: 0.9375 kB / 0.5897 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3549, allocations: 3.984 kB / 0.5897 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3549, allocations: 1.094 kB / 0.5897 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.558e-05/0.355, allocations: 156.9 kB / 0.5899 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.355, allocations: 0 / 0.5899 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-06/0.355, allocations: 5.953 kB / 0.5899 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.355, allocations: 0 / 0.5899 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.355, allocations: 2.219 kB / 0.5899 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.355, allocations: 1.094 kB / 0.5899 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.355, allocations: 0 / 0.5899 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.3551, allocations: 120.1 kB / 0.59 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.3551, allocations: 81.02 kB / 0.5901 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3552, allocations: 5.719 kB / 0.5901 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.3552, allocations: 0 / 0.5901 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.3552, allocations: 0 / 0.5901 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3552, allocations: 4 kB / 0.5901 GB, free: 21.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.033e-05/0.3552, allocations: 78.66 kB / 0.5902 GB, free: 21.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3552, allocations: 0 / 0.5902 GB, free: 21.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.3555, allocations: 31.92 kB / 0.5902 GB, free: 21.64 MB / 446.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.0001474/0.3556, allocations: 119.2 kB / 0.5903 GB, free: 21.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.3557, allocations: 61.23 kB / 0.5904 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3557, allocations: 4 kB / 0.5904 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.3558, allocations: 16.56 kB / 0.5904 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.3559, allocations: 8.812 kB / 0.5904 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.3561, allocations: 118.7 kB / 0.5905 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.3562, allocations: 0.6738 MB / 0.5912 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.844e-05/0.3562, allocations: 10.58 kB / 0.5912 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.286e-05/0.3563, allocations: 11.44 kB / 0.5912 GB, free: 20.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3563, allocations: 0 / 0.5912 GB, free: 20.57 MB / 446.1 MB Notification: Performance of Templates: time 0.002359/0.3586, allocations: 0.6675 MB / 0.5919 GB, free: 19.98 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)