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.001626/0.001626, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001741/0.001741, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8082/0.8082, allocations: 135.1 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 71.89 kB / 0.506 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4056, allocations: 80.91 MB / 0.5851 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00284/0.4085, allocations: 1.237 MB / 0.5863 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000905/0.4094, allocations: 490.9 kB / 0.5867 GB, free: 24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.4095, allocations: 0.9062 kB / 0.5867 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.4095, allocations: 0 / 0.5867 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.4096, allocations: 2.031 kB / 0.5867 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.41, allocations: 49.12 kB / 0.5868 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.895e-05/0.41, allocations: 15.86 kB / 0.5868 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.4101, allocations: 8.234 kB / 0.5868 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.4101, allocations: 3.5 kB / 0.5868 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.4102, allocations: 10.8 kB / 0.5868 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.986e-06/0.4102, allocations: 3.938 kB / 0.5868 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.4104, allocations: 69.8 kB / 0.5869 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.4104, allocations: 9.234 kB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.4105, allocations: 15.7 kB / 0.5869 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.4106, allocations: 53.86 kB / 0.587 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4106, allocations: 0 / 0.587 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4107, allocations: 1.844 kB / 0.587 GB, free: 23.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4107, allocations: 0.5312 kB / 0.587 GB, free: 23.86 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.0003725/0.411, allocations: 339.8 kB / 0.5873 GB, free: 23.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4111, allocations: 9.5 kB / 0.5873 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.4112, allocations: 7 kB / 0.5873 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.745e-05/0.4113, allocations: 166.3 kB / 0.5875 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4113, allocations: 1.438 kB / 0.5875 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.4113, allocations: 8 kB / 0.5875 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.4114, allocations: 49.84 kB / 0.5875 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.4114, allocations: 0 / 0.5875 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.4115, allocations: 0 / 0.5875 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4115, allocations: 3.984 kB / 0.5875 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.776e-05/0.4115, allocations: 19.55 kB / 0.5875 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.4117, allocations: 153.9 kB / 0.5877 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.964e-05/0.4117, allocations: 33.42 kB / 0.5877 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.4118, allocations: 20.64 kB / 0.5877 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.4118, allocations: 6.422 kB / 0.5878 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.412, allocations: 66.66 kB / 0.5878 GB, free: 22.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.412, allocations: 0 / 0.5878 GB, free: 22.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000251/0.4122, allocations: 96.45 kB / 0.5879 GB, free: 22.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.4123, allocations: 55.84 kB / 0.588 GB, free: 22.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.963e-05/0.4123, allocations: 99.25 kB / 0.5881 GB, free: 22.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.4124, allocations: 29.23 kB / 0.5881 GB, free: 22.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.938e-05/0.4124, allocations: 80.14 kB / 0.5882 GB, free: 22.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.4124, allocations: 13.09 kB / 0.5882 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.4125, allocations: 31.2 kB / 0.5882 GB, free: 22.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.4125, allocations: 317.4 kB / 0.5885 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.4126, allocations: 20.86 kB / 0.5885 GB, free: 22.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/0.4126, allocations: 83.66 kB / 0.5886 GB, free: 22.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.4128, allocations: 96 kB / 0.5887 GB, free: 22.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4128, allocations: 0 / 0.5887 GB, free: 22.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001663/0.4129, allocations: 120.5 kB / 0.5888 GB, free: 22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.413, allocations: 7.719 kB / 0.5888 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.413, allocations: 5.703 kB / 0.5888 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.413, allocations: 2.938 kB / 0.5888 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.4131, allocations: 13.55 kB / 0.5888 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4131, allocations: 10.02 kB / 0.5888 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.4132, allocations: 7.031 kB / 0.5889 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4132, allocations: 8.438 kB / 0.5889 GB, free: 21.98 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 8.781e-05/0.4133, allocations: 124.5 kB / 0.589 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.4133, allocations: 13.03 kB / 0.589 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.4133, allocations: 7.953 kB / 0.589 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4133, allocations: 2.219 kB / 0.589 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4133, allocations: 0 / 0.589 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4133, allocations: 0 / 0.589 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.365e-05/0.4134, allocations: 156 kB / 0.5892 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4135, allocations: 0 / 0.5892 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-06/0.4135, allocations: 1 kB / 0.5892 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4135, allocations: 3.938 kB / 0.5892 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.4135, allocations: 1.406 kB / 0.5892 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4135, allocations: 1.25 kB / 0.5892 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4135, allocations: 1.562 kB / 0.5892 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.4136, allocations: 111.4 kB / 0.5893 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.4137, allocations: 84.2 kB / 0.5893 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4137, allocations: 6.438 kB / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.179e-05/0.4137, allocations: 1.375 kB / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.4137, allocations: 1.469 kB / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.4137, allocations: 10.02 kB / 0.5894 GB, free: 21.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.4138, allocations: 75.28 kB / 0.5894 GB, free: 21.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4138, allocations: 0 / 0.5894 GB, free: 21.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000248/0.414, allocations: 22.03 kB / 0.5895 GB, free: 21.37 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.000201/0.4142, allocations: 122.8 kB / 0.5896 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.4144, allocations: 58.53 kB / 0.5896 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4144, allocations: 0 / 0.5896 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.4144, allocations: 19.47 kB / 0.5897 GB, free: 21.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.4146, allocations: 6.969 kB / 0.5897 GB, free: 21.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.4149, allocations: 144.8 kB / 0.5898 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.415, allocations: 0.6793 MB / 0.5905 GB, free: 20.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.4151, allocations: 10.75 kB / 0.5905 GB, free: 20.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4151, allocations: 0 / 0.5905 GB, free: 20.39 MB / 446.1 MB Notification: Performance of Templates: time 0.002593/0.4177, allocations: 0.8213 MB / 0.5913 GB, free: 19.84 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)