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.000889/0.0008891, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001114/0.001114, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7224/0.7224, allocations: 132.4 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004023, allocations: 12.8 kB / 0.5035 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3397, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.0009809/0.3408, allocations: 0.9677 MB / 0.5841 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006009/0.3414, allocations: 467.8 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.3414, allocations: 0 / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.3414, allocations: 1.219 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.3415, allocations: 1.516 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3417, allocations: 41.62 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.971e-05/0.3418, allocations: 16.78 kB / 0.5846 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.3418, allocations: 1.703 kB / 0.5846 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.3419, allocations: 5.781 kB / 0.5846 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.3419, allocations: 16.27 kB / 0.5846 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.3419, allocations: 0 / 0.5846 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.3421, allocations: 43.36 kB / 0.5846 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.3421, allocations: 13.86 kB / 0.5846 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.3422, allocations: 27.48 kB / 0.5847 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.534e-05/0.3422, allocations: 32.58 kB / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3423, allocations: 0 / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3423, allocations: 0.875 kB / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.185e-06/0.3423, allocations: 4 kB / 0.5847 GB, free: 2.875 MB / 430.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.000246/0.3425, allocations: 335.1 kB / 0.585 GB, free: 2.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3426, allocations: 10.16 kB / 0.585 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.3426, allocations: 1.984 kB / 0.585 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.624e-05/0.3427, allocations: 171.5 kB / 0.5852 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3427, allocations: 1.625 kB / 0.5852 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3427, allocations: 6.125 kB / 0.5852 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/0.3428, allocations: 45.22 kB / 0.5853 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3428, allocations: 4.75 kB / 0.5853 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3428, allocations: 0 / 0.5853 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3428, allocations: 0.7188 kB / 0.5853 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.3429, allocations: 13.25 kB / 0.5853 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.693e-05/0.343, allocations: 157.1 kB / 0.5854 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.477e-05/0.343, allocations: 32.31 kB / 0.5854 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.343, allocations: 22.34 kB / 0.5855 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.3431, allocations: 5.422 kB / 0.5855 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.3432, allocations: 71.67 kB / 0.5855 GB, free: 1.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3432, allocations: 0 / 0.5855 GB, free: 1.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001966/0.3434, allocations: 94.91 kB / 0.5856 GB, free: 1.914 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.3434, allocations: 60.05 kB / 0.5857 GB, free: 1.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.243e-05/0.3435, allocations: 92.12 kB / 0.5858 GB, free: 1.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3435, allocations: 33.16 kB / 0.5858 GB, free: 1.715 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.19e-05/0.3435, allocations: 81.48 kB / 0.5859 GB, free: 1.633 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.3435, allocations: 20.58 kB / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.3435, allocations: 1.094 kB / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.3436, allocations: 321.2 kB / 0.5862 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.3436, allocations: 20.14 kB / 0.5862 GB, free: 1.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.3437, allocations: 72.14 kB / 0.5863 GB, free: 1.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.503e-05/0.3437, allocations: 32.83 kB / 0.5863 GB, free: 1.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3438, allocations: 0.9062 kB / 0.5863 GB, free: 1.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000153/0.3439, allocations: 111.9 kB / 0.5864 GB, free: 1.156 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3439, allocations: 11.3 kB / 0.5865 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3439, allocations: 1.688 kB / 0.5865 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.344, allocations: 1.719 kB / 0.5865 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.344, allocations: 12.02 kB / 0.5865 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3441, allocations: 7.328 kB / 0.5865 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.3441, allocations: 14.03 kB / 0.5865 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3441, allocations: 9.328 kB / 0.5865 GB, free: 1.133 MB / 430.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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/0.3442, allocations: 126.1 kB / 0.5866 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.3442, allocations: 4 kB / 0.5866 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.3442, allocations: 5.297 kB / 0.5866 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3442, allocations: 0.7812 kB / 0.5866 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3442, allocations: 4.75 kB / 0.5866 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3442, allocations: 0.6875 kB / 0.5866 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.82e-05/0.3443, allocations: 152.2 kB / 0.5868 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3443, allocations: 0.9375 kB / 0.5868 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-06/0.3443, allocations: 0.6094 kB / 0.5868 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3443, allocations: 0.9375 kB / 0.5868 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3443, allocations: 1.469 kB / 0.5868 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3444, allocations: 5.453 kB / 0.5868 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3444, allocations: 0 / 0.5868 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.3445, allocations: 113.8 kB / 0.5869 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.3445, allocations: 87.22 kB / 0.587 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3445, allocations: 9.016 kB / 0.587 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.269e-05/0.3445, allocations: 0.7031 kB / 0.587 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.3446, allocations: 1.797 kB / 0.587 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3446, allocations: 3 kB / 0.587 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.046e-05/0.3446, allocations: 80.02 kB / 0.5871 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3446, allocations: 0 / 0.5871 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.3448, allocations: 22.94 kB / 0.5871 GB, free: 0.5312 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001402/0.345, allocations: 125 kB / 0.5872 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.3451, allocations: 56.39 kB / 0.5873 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3451, allocations: 1.188 kB / 0.5873 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/0.3452, allocations: 22.22 kB / 0.5873 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.3453, allocations: 0.5625 kB / 0.5873 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.3455, allocations: 115.7 kB / 0.5874 GB, free: 312 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.3457, allocations: 0.6779 MB / 0.5881 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.111e-05/0.3457, allocations: 5.562 kB / 0.5881 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.3457, allocations: 14.41 kB / 0.5881 GB, free: 15.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3457, allocations: 4.062 kB / 0.5881 GB, free: 15.59 MB / 446.1 MB Notification: Performance of Templates: time 0.002519/0.3482, allocations: 0.6328 MB / 0.5887 GB, free: 15.54 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)