Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001168/0.001168, allocations: 109.3 kB / 16.29 MB, free: 6.43 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.001108/0.001108, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 0.5495 GB, free: 17.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2616, allocations: 114.5 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002766/0.2644, allocations: 1.252 MB / 0.7853 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.2653, allocations: 0.523 MB / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.2654, allocations: 0 / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.2654, allocations: 0 / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.2655, allocations: 0 / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.2659, allocations: 55.81 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.2659, allocations: 15.98 kB / 0.7859 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.266, allocations: 0 / 0.7859 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.266, allocations: 11.92 kB / 0.7859 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.08e-05/0.2661, allocations: 7.984 kB / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.2661, allocations: 0 / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.2662, allocations: 67.86 kB / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.2663, allocations: 7.984 kB / 0.786 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.2663, allocations: 11.94 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.2665, allocations: 55.86 kB / 0.7861 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2665, allocations: 8 kB / 0.7861 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2665, allocations: 0 / 0.7861 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.2665, allocations: 0 / 0.7861 GB, free: 1.836 MB / 0.6544 GB 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.0003822/0.2669, allocations: 339.8 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.267, allocations: 15.97 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.267, allocations: 4.844 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.516e-05/0.2671, allocations: 160.4 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.2671, allocations: 384 / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2671, allocations: 4.375 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.2672, allocations: 61.94 kB / 0.7866 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2673, allocations: 0 / 0.7866 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.2673, allocations: 0 / 0.7866 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2673, allocations: 0 / 0.7866 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.905e-05/0.2673, allocations: 15.92 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.2675, allocations: 157.7 kB / 0.7868 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.894e-05/0.2675, allocations: 30.58 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.2676, allocations: 24.94 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.2676, allocations: 4 kB / 0.7869 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.2677, allocations: 63.34 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2678, allocations: 7.938 kB / 0.7869 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002011/0.268, allocations: 89.67 kB / 0.787 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.268, allocations: 55.41 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.2681, allocations: 97.84 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.2681, allocations: 33.73 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.2681, allocations: 80.14 kB / 0.7873 GB, free: 424 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.2681, allocations: 19.75 kB / 0.7873 GB, free: 404 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.2682, allocations: 29.7 kB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.2683, allocations: 318.8 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.669e-05/0.2683, allocations: 19.98 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3844/0.6528, allocations: 66.38 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.653, allocations: 97.58 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.653, allocations: 2.625 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001765/0.6532, allocations: 114.1 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.6532, allocations: 10.78 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6532, allocations: 0 / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.6532, allocations: 4.062 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.6533, allocations: 12.09 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6533, allocations: 3.562 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.6534, allocations: 11.75 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.6534, allocations: 6.031 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB 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.985e-05/0.6535, allocations: 131.7 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.6535, allocations: 4.438 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.6536, allocations: 3.969 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.6536, allocations: 3.234 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6536, allocations: 0 / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6536, allocations: 8.062 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.145e-05/0.6537, allocations: 159.5 kB / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6537, allocations: 0 / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-06/0.6537, allocations: 0 / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6537, allocations: 2.625 kB / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.6537, allocations: 0.5938 kB / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6537, allocations: 0 / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6537, allocations: 0.5312 kB / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.6538, allocations: 113.2 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.6539, allocations: 78.83 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.6539, allocations: 6.219 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.6539, allocations: 3.516 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.6539, allocations: 10.31 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.654, allocations: 2.875 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.479e-05/0.654, allocations: 75.28 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.654, allocations: 0 / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002417/0.6542, allocations: 28.31 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB 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.0001727/0.6544, allocations: 126.1 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.6545, allocations: 59 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6546, allocations: 3.828 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.6546, allocations: 19.62 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.6547, allocations: 3.688 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.655, allocations: 116.2 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.6551, allocations: 0.6785 MB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.6551, allocations: 3.906 kB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.6551, allocations: 13.48 kB / 0.7895 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6552, allocations: 0 / 0.7895 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.002552/0.6577, allocations: 0.6561 MB / 0.7902 GB, free: 47.17 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)