Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001477/0.001477, allocations: 195.7 kB / 16.14 MB, free: 6.688 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.722/2.722, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 65.02 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2639, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002364/0.2663, allocations: 1.31 MB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.2671, allocations: 0.4891 MB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.2672, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.2672, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.2673, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.2676, allocations: 43.88 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.204e-05/0.2677, allocations: 19.98 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.2677, allocations: 8 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.621e-05/0.2677, allocations: 3.984 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.829e-05/0.2678, allocations: 11.92 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.2678, allocations: 4 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.268, allocations: 67.86 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.268, allocations: 7.984 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.2681, allocations: 7.938 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.2682, allocations: 71.83 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2682, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.61e-07/0.2682, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.2682, allocations: 4 kB / 1.07 GB, free: 8.816 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.0003567/0.2686, allocations: 335.8 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2686, allocations: 12.02 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.2687, allocations: 4.844 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/0.2688, allocations: 160.4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2688, allocations: 4.375 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.2688, allocations: 4.375 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2689, allocations: 50 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.2689, allocations: 4 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.2689, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2689, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.269, allocations: 23.86 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.2691, allocations: 157.6 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.04e-05/0.2692, allocations: 30.62 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.2692, allocations: 16.95 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.2692, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.2694, allocations: 79.33 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.635e-06/0.2694, allocations: 0 / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0001968/0.2696, allocations: 101.6 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.2697, allocations: 55.41 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.557e-05/0.2697, allocations: 89.86 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2697, allocations: 33.69 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.2698, allocations: 84.14 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.2698, allocations: 19.78 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.2699, allocations: 33.7 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.27, allocations: 310.8 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.2701, allocations: 19.98 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.2702, allocations: 73.92 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.2703, allocations: 93.94 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2703, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001666/0.2705, allocations: 121.4 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2705, allocations: 11.94 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2705, allocations: 0 / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2705, allocations: 4 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.2706, allocations: 15.94 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.2706, allocations: 4 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.2707, allocations: 7.984 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2707, allocations: 4.219 kB / 1.071 GB, free: 6.625 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 8.872e-05/0.2708, allocations: 129.8 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.2708, allocations: 3.938 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.914e-05/0.2708, allocations: 3.969 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2708, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2708, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2709, allocations: 3.984 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.271, allocations: 157.5 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.271, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-06/0.271, allocations: 8 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.271, allocations: 7.922 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.271, allocations: 3.938 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.271, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.271, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.2712, allocations: 109 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.2712, allocations: 81.05 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2712, allocations: 7.938 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.2713, allocations: 4.031 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.2713, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2713, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.2713, allocations: 75.28 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2713, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002468/0.2716, allocations: 31.98 kB / 1.072 GB, free: 5.906 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.0001899/0.2718, allocations: 127.2 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.2719, allocations: 59.91 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2719, allocations: 0 / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-05/0.272, allocations: 20 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.2721, allocations: 0.6562 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.2724, allocations: 127.1 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.2726, allocations: 0.6792 MB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.458e-05/0.2726, allocations: 11.98 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.2727, allocations: 15.38 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2727, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of Templates: time 0.002674/0.2754, allocations: 0.6396 MB / 1.074 GB, free: 4.219 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)