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.001268/0.001268, allocations: 102.8 kB / 16.35 MB, free: 5.879 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.00114/0.00114, allocations: 193.7 kB / 17.29 MB, free: 5.516 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.359/1.359, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.738/1.738, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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: 71.91 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2035, allocations: 114.5 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002419/0.206, allocations: 1.25 MB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009415/0.2069, allocations: 0.5191 MB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.207, allocations: 0 / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.207, allocations: 4 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.2071, allocations: 0 / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.2074, allocations: 47.88 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.463e-05/0.2075, allocations: 19.92 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.2075, allocations: 4 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.138e-05/0.2076, allocations: 3.984 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.2076, allocations: 7.984 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.2076, allocations: 3.938 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.2078, allocations: 67.86 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.2079, allocations: 11.98 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.2079, allocations: 8 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.208, allocations: 59.84 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2081, allocations: 0 / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2081, allocations: 0 / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2081, allocations: 0 / 0.7868 GB, free: 1.105 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.0003366/0.2084, allocations: 334.3 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2085, allocations: 12.03 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.2085, allocations: 8.844 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.085e-05/0.2086, allocations: 160.4 kB / 0.7873 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.2086, allocations: 12.31 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.2086, allocations: 4.375 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2087, allocations: 57.98 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2088, allocations: 0 / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2088, allocations: 0 / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2088, allocations: 0 / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.768e-05/0.2088, allocations: 8 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.209, allocations: 161.6 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.182e-05/0.209, allocations: 34.58 kB / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.2091, allocations: 28.94 kB / 0.7875 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-06/0.2091, allocations: 3.938 kB / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.2092, allocations: 67.34 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2092, allocations: 0 / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.3303/0.5395, allocations: 91.16 kB / 0.7877 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.5396, allocations: 61.7 kB / 0.7878 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.88e-05/0.5396, allocations: 93.2 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.5397, allocations: 31.2 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.805e-05/0.5397, allocations: 85.58 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.5397, allocations: 18.5 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.5398, allocations: 32.66 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.5398, allocations: 319.8 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.5399, allocations: 19.56 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-05/0.5399, allocations: 68.12 kB / 0.7884 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.175e-05/0.54, allocations: 96.78 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.54, allocations: 2.25 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001516/0.5402, allocations: 116.1 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5402, allocations: 9.438 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5402, allocations: 0 / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5402, allocations: 4.188 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.5403, allocations: 18 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.5403, allocations: 1.938 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.924e-05/0.5404, allocations: 7.625 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.5404, allocations: 9.25 kB / 0.7887 GB, free: 48.3 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 7.33e-05/0.5405, allocations: 127.6 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.5405, allocations: 5.406 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.5405, allocations: 7.906 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5405, allocations: 6 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5405, allocations: 0 / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.5405, allocations: 0 / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.189e-05/0.5406, allocations: 148.6 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5406, allocations: 0 / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-06/0.5406, allocations: 6.312 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.5406, allocations: 0 / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.5407, allocations: 8.203 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5407, allocations: 3.812 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5407, allocations: 0.5938 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.5408, allocations: 112.2 kB / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.5408, allocations: 77.11 kB / 0.7891 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.5408, allocations: 10.42 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.336e-05/0.5408, allocations: 4.031 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.5409, allocations: 0 / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.5409, allocations: 3.156 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.247e-05/0.5409, allocations: 77.19 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.5409, allocations: 0 / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002475/0.5412, allocations: 22.44 kB / 0.7892 GB, free: 47.75 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.0001642/0.5413, allocations: 128.4 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.5415, allocations: 59.88 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5415, allocations: 3.156 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.5415, allocations: 14.94 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.5416, allocations: 2.188 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.5419, allocations: 116.2 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.542, allocations: 0.6785 MB / 0.7902 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.542, allocations: 5.25 kB / 0.7902 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.542, allocations: 11.72 kB / 0.7902 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.542, allocations: 0 / 0.7902 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.002597/0.5446, allocations: 0.6626 MB / 0.7909 GB, free: 46.87 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)