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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 292.3 MB / 308.1 MB, free: 4.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001414, allocations: 188.5 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001014, allocations: 98.92 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009919/0.0009919, allocations: 48.11 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2268, allocations: 114.5 MB / 0.9823 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002593/0.2294, allocations: 1.324 MB / 0.9836 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2305, allocations: 0.5191 MB / 0.9841 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.2305, allocations: 7.938 kB / 0.9841 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.2306, allocations: 0 / 0.9841 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.2307, allocations: 0 / 0.9841 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.231, allocations: 47.88 kB / 0.9841 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.2311, allocations: 19.98 kB / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.2312, allocations: 3.984 kB / 0.9841 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.2312, allocations: 7.984 kB / 0.9841 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.2312, allocations: 4 kB / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.365e-06/0.2313, allocations: 0 / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.2314, allocations: 71.86 kB / 0.9842 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.2315, allocations: 7.984 kB / 0.9842 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.2315, allocations: 15.92 kB / 0.9842 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.2317, allocations: 64.11 kB / 0.9843 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2317, allocations: 0 / 0.9843 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.22e-07/0.2317, allocations: 4 kB / 0.9843 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.2317, allocations: 0 / 0.9843 GB, free: 8.266 MB / 0.7136 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.0003515/0.2321, allocations: 343.4 kB / 0.9846 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2321, allocations: 11.97 kB / 0.9846 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.2322, allocations: 4.938 kB / 0.9846 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2323, allocations: 164.4 kB / 0.9848 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2323, allocations: 384 / 0.9848 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2323, allocations: 4.375 kB / 0.9848 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.2324, allocations: 57.98 kB / 0.9849 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.2324, allocations: 0 / 0.9849 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.2324, allocations: 0 / 0.9849 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.2324, allocations: 0 / 0.9849 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.2325, allocations: 15.92 kB / 0.9849 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.2326, allocations: 153.7 kB / 0.985 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.2327, allocations: 34.58 kB / 0.9851 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.2327, allocations: 16.95 kB / 0.9851 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.2327, allocations: 8 kB / 0.9851 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.2329, allocations: 67.33 kB / 0.9851 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2329, allocations: 0 / 0.9851 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000185/0.2331, allocations: 101.5 kB / 0.9852 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.2331, allocations: 55.41 kB / 0.9853 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.901e-05/0.2332, allocations: 89.86 kB / 0.9854 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.2332, allocations: 37.69 kB / 0.9854 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.2332, allocations: 84.17 kB / 0.9855 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.2333, allocations: 15.84 kB / 0.9855 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.2333, allocations: 29.7 kB / 0.9855 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2334, allocations: 318.8 kB / 0.9858 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.2335, allocations: 19.98 kB / 0.9859 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.2336, allocations: 69.98 kB / 0.9859 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.2337, allocations: 97.88 kB / 0.986 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2337, allocations: 4 kB / 0.986 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001707/0.2339, allocations: 121.4 kB / 0.9861 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2339, allocations: 11.88 kB / 0.9862 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2339, allocations: 4 kB / 0.9862 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2339, allocations: 0 / 0.9862 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.234, allocations: 19.94 kB / 0.9862 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.234, allocations: 3.984 kB / 0.9862 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.2341, allocations: 8.219 kB / 0.9862 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2341, allocations: 8 kB / 0.9862 GB, free: 6.059 MB / 0.7136 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.0001238/0.2342, allocations: 129.7 kB / 0.9863 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.2342, allocations: 7.844 kB / 0.9863 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.2343, allocations: 3.969 kB / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2343, allocations: 3.984 kB / 0.9863 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2343, allocations: 4 kB / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2343, allocations: 0 / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.2344, allocations: 153.7 kB / 0.9865 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2344, allocations: 0 / 0.9865 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-06/0.2344, allocations: 3.984 kB / 0.9865 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2344, allocations: 3.938 kB / 0.9865 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2344, allocations: 0 / 0.9865 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2344, allocations: 0 / 0.9865 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2344, allocations: 0 / 0.9865 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.2348, allocations: 0.6709 MB / 0.9871 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.2349, allocations: 85.02 kB / 0.9872 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2349, allocations: 3.938 kB / 0.9872 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.244e-05/0.2349, allocations: 4 kB / 0.9872 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.2349, allocations: 0 / 0.9872 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2349, allocations: 4 kB / 0.9872 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.125e-05/0.235, allocations: 75.28 kB / 0.9873 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.235, allocations: 0 / 0.9873 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003333/0.2353, allocations: 27.98 kB / 0.9873 GB, free: 4.746 MB / 0.7136 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.0001783/0.2355, allocations: 127.2 kB / 0.9875 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.2356, allocations: 59.84 kB / 0.9875 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2356, allocations: 0 / 0.9875 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.2357, allocations: 16 kB / 0.9875 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.2358, allocations: 4 kB / 0.9875 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.2361, allocations: 246.6 kB / 0.9878 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.2364, allocations: 0.6809 MB / 0.9884 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.2364, allocations: 7.906 kB / 0.9884 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.2365, allocations: 7.438 kB / 0.9885 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.2365, allocations: 0 / 0.9885 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of Templates: time 0.002517/0.239, allocations: 0.657 MB / 0.9891 GB, free: 2.914 MB / 0.7136 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)