Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.000996/0.0009961, allocations: 109.3 kB / 16.37 MB, free: 6.48 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.0009789/0.000979, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7812/0.7812, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3316, allocations: 80.19 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002274/0.334, allocations: 1.235 MB / 0.5827 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008207/0.3348, allocations: 498.9 kB / 0.5832 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.3348, allocations: 2.062 kB / 0.5832 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.3349, allocations: 0 / 0.5832 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.533e-05/0.3349, allocations: 5.281 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.3352, allocations: 53.56 kB / 0.5833 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.963e-05/0.3353, allocations: 10.92 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.3353, allocations: 2.469 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.3354, allocations: 8.016 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.052e-05/0.3354, allocations: 10.64 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.3354, allocations: 1.094 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.3356, allocations: 66.14 kB / 0.5834 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.3356, allocations: 12.08 kB / 0.5834 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.3357, allocations: 10.06 kB / 0.5834 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3358, allocations: 54.33 kB / 0.5835 GB, free: 26.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3358, allocations: 7.922 kB / 0.5835 GB, free: 26.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3358, allocations: 4.812 kB / 0.5835 GB, free: 26.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3358, allocations: 1.281 kB / 0.5835 GB, free: 26.11 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.0002621/0.3361, allocations: 340 kB / 0.5838 GB, free: 25.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.3361, allocations: 9.062 kB / 0.5838 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.3361, allocations: 2.781 kB / 0.5838 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.657e-05/0.3362, allocations: 165.2 kB / 0.584 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3362, allocations: 2.75 kB / 0.584 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.3362, allocations: 14.47 kB / 0.584 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.971e-05/0.3363, allocations: 44.72 kB / 0.584 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3363, allocations: 3.984 kB / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3364, allocations: 3.75 kB / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.3364, allocations: 0 / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.3364, allocations: 15.91 kB / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.205e-05/0.3365, allocations: 156.4 kB / 0.5842 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.012e-05/0.3365, allocations: 28.83 kB / 0.5842 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.3366, allocations: 24.78 kB / 0.5842 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.3366, allocations: 0.5938 kB / 0.5842 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.888e-05/0.3367, allocations: 68.12 kB / 0.5843 GB, free: 25.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3367, allocations: 0 / 0.5843 GB, free: 25.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001752/0.3369, allocations: 98.8 kB / 0.5844 GB, free: 25.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.3369, allocations: 59.41 kB / 0.5845 GB, free: 25.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.678e-05/0.3369, allocations: 95.22 kB / 0.5845 GB, free: 24.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.3369, allocations: 32.05 kB / 0.5846 GB, free: 24.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.288e-05/0.337, allocations: 81.52 kB / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.337, allocations: 14.56 kB / 0.5847 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.337, allocations: 30.8 kB / 0.5847 GB, free: 24.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.3371, allocations: 316.3 kB / 0.585 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.3371, allocations: 20.67 kB / 0.585 GB, free: 24.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.3372, allocations: 71.05 kB / 0.5851 GB, free: 24.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.3373, allocations: 98.69 kB / 0.5852 GB, free: 24.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3373, allocations: 0.625 kB / 0.5852 GB, free: 24.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001289/0.3374, allocations: 118.2 kB / 0.5853 GB, free: 24.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.3374, allocations: 7.406 kB / 0.5853 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3374, allocations: 2.219 kB / 0.5853 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3375, allocations: 7.688 kB / 0.5853 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.3375, allocations: 22.42 kB / 0.5853 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3376, allocations: 240 / 0.5853 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.3376, allocations: 9.969 kB / 0.5853 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.3376, allocations: 9.234 kB / 0.5854 GB, free: 24.24 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 7.553e-05/0.3377, allocations: 124.8 kB / 0.5855 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.3377, allocations: 8.547 kB / 0.5855 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.72e-05/0.3377, allocations: 4.469 kB / 0.5855 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3377, allocations: 7.859 kB / 0.5855 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3377, allocations: 0 / 0.5855 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3377, allocations: 1.062 kB / 0.5855 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.805e-05/0.3378, allocations: 159.6 kB / 0.5856 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3378, allocations: 3.594 kB / 0.5856 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-06/0.3378, allocations: 0.625 kB / 0.5856 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3378, allocations: 2.281 kB / 0.5856 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3379, allocations: 3.938 kB / 0.5857 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3379, allocations: 0 / 0.5857 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3379, allocations: 0 / 0.5857 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.338, allocations: 109.2 kB / 0.5858 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.338, allocations: 82.02 kB / 0.5858 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.338, allocations: 3.5 kB / 0.5858 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.24e-05/0.338, allocations: 5.188 kB / 0.5858 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.3381, allocations: 4.578 kB / 0.5858 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3381, allocations: 8.25 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.202e-05/0.3381, allocations: 76.12 kB / 0.5859 GB, free: 23.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3381, allocations: 1.062 kB / 0.5859 GB, free: 23.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.3383, allocations: 30.06 kB / 0.586 GB, free: 23.61 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.0001735/0.3385, allocations: 122.3 kB / 0.5861 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.3387, allocations: 57.47 kB / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3387, allocations: 0 / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.3387, allocations: 21 kB / 0.5861 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.3388, allocations: 4.969 kB / 0.5862 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.3391, allocations: 118.1 kB / 0.5863 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.333e-05/0.3392, allocations: 0.6792 MB / 0.5869 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.939e-05/0.3392, allocations: 4.594 kB / 0.5869 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.3392, allocations: 14.09 kB / 0.5869 GB, free: 22.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3392, allocations: 0.5625 kB / 0.5869 GB, free: 22.66 MB / 446.1 MB Notification: Performance of Templates: time 0.00248/0.3417, allocations: 0.6579 MB / 0.5876 GB, free: 22.39 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)