Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.001282/0.001282, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001322/0.001322, allocations: 195.6 kB / 16.25 MB, free: 6.629 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 64.06 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2729, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002771/0.2757, allocations: 1.302 MB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.2767, allocations: 496.8 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.2767, allocations: 0 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.2768, allocations: 0 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.2768, allocations: 0 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.2772, allocations: 55.88 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.056e-05/0.2772, allocations: 15.97 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.2773, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/0.2773, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.2774, allocations: 8 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.2774, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.2775, allocations: 75.83 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.2776, allocations: 15.92 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.2777, allocations: 4 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2778, allocations: 59.86 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2778, allocations: 4 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2778, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2778, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8262 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.0003737/0.2782, allocations: 339.8 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2783, allocations: 12.03 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.2783, allocations: 8.781 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.2784, allocations: 160.4 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2784, allocations: 384 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.2784, allocations: 4.375 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.2786, allocations: 57.94 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.2786, allocations: 0 / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2786, allocations: 3.984 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2786, allocations: 0 / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.2786, allocations: 16 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.2788, allocations: 153.7 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.2789, allocations: 30.58 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.2789, allocations: 20.94 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.2789, allocations: 0 / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.2791, allocations: 67.34 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2791, allocations: 8 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002122/0.2793, allocations: 93.61 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.2793, allocations: 63.39 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.255e-05/0.2794, allocations: 93.84 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2794, allocations: 33.64 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.2795, allocations: 84.14 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.2795, allocations: 19.75 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.2795, allocations: 25.7 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2797, allocations: 322.9 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.2797, allocations: 19.98 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.2798, allocations: 65.98 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.2799, allocations: 101.9 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2799, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001662/0.2801, allocations: 121.5 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2801, allocations: 7.938 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2801, allocations: 4 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2801, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/0.2802, allocations: 19.92 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2803, allocations: 4 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.2803, allocations: 4 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.2803, allocations: 4 kB / 1.072 GB, free: 6.5 MB / 0.8262 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 0.0001154/0.2804, allocations: 129.9 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.2804, allocations: 7.938 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.2805, allocations: 7.953 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2805, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2805, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2805, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.2806, allocations: 161.5 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2806, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-06/0.2806, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2806, allocations: 3.938 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2807, allocations: 8 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2807, allocations: 3.938 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2807, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.2808, allocations: 101.1 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.2808, allocations: 85.05 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2809, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/0.2809, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.2809, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.2809, allocations: 12.02 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.281, allocations: 83.16 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.281, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002354/0.2812, allocations: 20 kB / 1.072 GB, free: 5.785 MB / 0.8262 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.0001979/0.2814, allocations: 123.2 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.2816, allocations: 64.27 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2816, allocations: 4.062 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.2816, allocations: 16 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.2817, allocations: 6.844 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.282, allocations: 121.4 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2823, allocations: 0.6806 MB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.2823, allocations: 7.984 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.2823, allocations: 11.5 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2824, allocations: 0 / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of Templates: time 0.002726/0.2851, allocations: 0.6571 MB / 1.074 GB, free: 4.086 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)