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.001029/0.001029, allocations: 110 kB / 16.37 MB, free: 6.469 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.0009691/0.0009693, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7433/0.7433, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.312, allocations: 80.91 MB / 0.5858 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001976/0.314, allocations: 1.239 MB / 0.587 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000648/0.3146, allocations: 490.9 kB / 0.5875 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.3147, allocations: 0 / 0.5875 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.3147, allocations: 0 / 0.5875 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.3148, allocations: 2.031 kB / 0.5875 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.315, allocations: 54.62 kB / 0.5875 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.116e-05/0.3151, allocations: 19.58 kB / 0.5876 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.3151, allocations: 5.719 kB / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.987e-05/0.3152, allocations: 6.547 kB / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.259e-05/0.3152, allocations: 6.734 kB / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.3152, allocations: 1.031 kB / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.3154, allocations: 71.98 kB / 0.5876 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.3154, allocations: 8.484 kB / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.3155, allocations: 11.91 kB / 0.5877 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.3156, allocations: 58.72 kB / 0.5877 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3156, allocations: 0 / 0.5877 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3156, allocations: 0.5625 kB / 0.5877 GB, free: 23.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3156, allocations: 0.75 kB / 0.5877 GB, free: 23.95 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.0002836/0.3159, allocations: 340.1 kB / 0.588 GB, free: 23.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.316, allocations: 9.875 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.316, allocations: 2.938 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.796e-05/0.3161, allocations: 173.6 kB / 0.5882 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3161, allocations: 1.969 kB / 0.5882 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.3161, allocations: 6.688 kB / 0.5882 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.3162, allocations: 56.94 kB / 0.5883 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.3162, allocations: 1.812 kB / 0.5883 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3162, allocations: 0 / 0.5883 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.3162, allocations: 0 / 0.5883 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.3162, allocations: 12.03 kB / 0.5883 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.3164, allocations: 154.5 kB / 0.5884 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.3164, allocations: 31.98 kB / 0.5885 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.3164, allocations: 24.81 kB / 0.5885 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.3165, allocations: 3.562 kB / 0.5885 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.3166, allocations: 60.72 kB / 0.5886 GB, free: 23.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3166, allocations: 0 / 0.5886 GB, free: 23.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001914/0.3168, allocations: 100.6 kB / 0.5887 GB, free: 22.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.3168, allocations: 60.67 kB / 0.5887 GB, free: 22.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.754e-05/0.3168, allocations: 95.33 kB / 0.5888 GB, free: 22.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.3168, allocations: 27.55 kB / 0.5888 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.542e-05/0.3169, allocations: 81.86 kB / 0.5889 GB, free: 22.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3169, allocations: 11.56 kB / 0.5889 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.3169, allocations: 31.45 kB / 0.589 GB, free: 22.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.106e-05/0.317, allocations: 318.7 kB / 0.5893 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.317, allocations: 23.91 kB / 0.5893 GB, free: 22.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-05/0.3171, allocations: 73.16 kB / 0.5894 GB, free: 22.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.997e-05/0.3172, allocations: 98.34 kB / 0.5894 GB, free: 22.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3172, allocations: 1.469 kB / 0.5894 GB, free: 22.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001363/0.3173, allocations: 120.2 kB / 0.5896 GB, free: 22.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3173, allocations: 6.469 kB / 0.5896 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3173, allocations: 5.156 kB / 0.5896 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3174, allocations: 3.406 kB / 0.5896 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.3174, allocations: 17.48 kB / 0.5896 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3175, allocations: 3.531 kB / 0.5896 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.3175, allocations: 13.22 kB / 0.5896 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3175, allocations: 8.406 kB / 0.5896 GB, free: 22.07 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.452e-05/0.3176, allocations: 125.3 kB / 0.5897 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.3176, allocations: 11.84 kB / 0.5897 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.3176, allocations: 7.594 kB / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3176, allocations: 0 / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3176, allocations: 1.062 kB / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3176, allocations: 0 / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.864e-05/0.3177, allocations: 157.6 kB / 0.5899 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3177, allocations: 0 / 0.5899 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-06/0.3177, allocations: 1.875 kB / 0.5899 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.3177, allocations: 0.5 kB / 0.5899 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.3177, allocations: 1.219 kB / 0.5899 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3178, allocations: 0.5938 kB / 0.5899 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3178, allocations: 3.906 kB / 0.5899 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.3179, allocations: 107 kB / 0.59 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.3179, allocations: 84.95 kB / 0.5901 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3179, allocations: 4.281 kB / 0.5901 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.3179, allocations: 4.844 kB / 0.5901 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.318, allocations: 5.484 kB / 0.5901 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.318, allocations: 4.531 kB / 0.5901 GB, free: 21.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.081e-05/0.318, allocations: 75.28 kB / 0.5902 GB, free: 21.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.318, allocations: 1.5 kB / 0.5902 GB, free: 21.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.3182, allocations: 25.72 kB / 0.5902 GB, free: 21.46 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.0001481/0.3184, allocations: 121.8 kB / 0.5903 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.3185, allocations: 62.5 kB / 0.5904 GB, free: 21.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.3185, allocations: 0 / 0.5904 GB, free: 21.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.3185, allocations: 16.78 kB / 0.5904 GB, free: 21.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.3187, allocations: 14.73 kB / 0.5904 GB, free: 21.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.3189, allocations: 116.8 kB / 0.5905 GB, free: 21.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.796e-05/0.319, allocations: 0.6797 MB / 0.5912 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.889e-05/0.319, allocations: 4.344 kB / 0.5912 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.319, allocations: 10.88 kB / 0.5912 GB, free: 20.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.319, allocations: 0 / 0.5912 GB, free: 20.51 MB / 446.1 MB Notification: Performance of Templates: time 0.002247/0.3213, allocations: 0.6619 MB / 0.5919 GB, free: 20.05 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)