Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.479/1.479, allocations: 288.4 MB / 303.6 MB, free: 8.121 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.0009478/0.0009478, allocations: 176.5 kB / 372.3 MB, free: 10.14 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.186/1.186, allocations: 205.4 MB / 0.631 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006988/0.0006987, allocations: 86.91 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 16.47 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1523, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.000949/0.1533, allocations: 0.9745 MB / 0.9812 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000596/0.1539, allocations: 0.4929 MB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.276e-05/0.1539, allocations: 0 / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.1539, allocations: 0 / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.154, allocations: 0 / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1542, allocations: 47.88 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.234e-05/0.1543, allocations: 19.97 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.1543, allocations: 3.984 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.1543, allocations: 8 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.769e-05/0.1544, allocations: 7.938 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.354e-06/0.1544, allocations: 0 / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1545, allocations: 71.84 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.1545, allocations: 8 kB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.1546, allocations: 37.67 kB / 0.9819 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.619e-05/0.1547, allocations: 44.22 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1547, allocations: 0 / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1547, allocations: 0 / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.1547, allocations: 0 / 0.9819 GB, free: 25.5 MB / 0.6198 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.0002093/0.1549, allocations: 339.4 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1549, allocations: 11.97 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.528e-05/0.155, allocations: 34.75 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.155, allocations: 4.938 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.414e-05/0.155, allocations: 164.4 kB / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.1551, allocations: 384 / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1551, allocations: 4.375 kB / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.025e-05/0.1552, allocations: 57.75 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1552, allocations: 0 / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.1552, allocations: 4 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1552, allocations: 3.984 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.081e-05/0.1552, allocations: 11.94 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.82e-05/0.1553, allocations: 157.7 kB / 0.9827 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.1554, allocations: 34.56 kB / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.1554, allocations: 16.95 kB / 0.9827 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.1554, allocations: 0 / 0.9827 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.509e-05/0.1555, allocations: 67.33 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1555, allocations: 4 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001443/0.1557, allocations: 101.6 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.1557, allocations: 59.41 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.762e-05/0.1557, allocations: 93.77 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.1557, allocations: 29.7 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.134e-05/0.1557, allocations: 84.14 kB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.1558, allocations: 15.83 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.1558, allocations: 4 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.342e-05/0.1558, allocations: 310.8 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.1558, allocations: 28.02 kB / 0.9835 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.1559, allocations: 66.22 kB / 0.9835 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.128e-05/0.156, allocations: 97.88 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.156, allocations: 0 / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001148/0.1561, allocations: 121.4 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.1561, allocations: 8.219 kB / 0.9837 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1561, allocations: 4 kB / 0.9837 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1561, allocations: 0 / 0.9837 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.1562, allocations: 15.94 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1562, allocations: 7.969 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.1563, allocations: 4 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1563, allocations: 11.94 kB / 0.9838 GB, free: 23.29 MB / 0.6198 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.1563, allocations: 127.6 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-06/0.1563, allocations: 11.84 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.422e-05/0.1564, allocations: 11.95 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1564, allocations: 4 kB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1564, allocations: 0 / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1564, allocations: 0 / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.911e-05/0.1564, allocations: 145.7 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1565, allocations: 3.984 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/0.1565, allocations: 3.938 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1565, allocations: 0 / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.1565, allocations: 0 / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1565, allocations: 7.938 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1565, allocations: 4 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.459e-05/0.1566, allocations: 101.1 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.1566, allocations: 84.98 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1566, allocations: 4 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.132e-05/0.1566, allocations: 0 / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.1567, allocations: 4 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1567, allocations: 4 kB / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.015e-05/0.1567, allocations: 87.3 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1567, allocations: 0 / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002105/0.1569, allocations: 20 kB / 0.9844 GB, free: 22.59 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.1572, allocations: 0.6709 MB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.862e-05/0.1573, allocations: 67.88 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1573, allocations: 0 / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.017e-05/0.1573, allocations: 16 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.1574, allocations: 3.938 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.1577, allocations: 162.2 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.442e-05/0.1578, allocations: 0.6775 MB / 0.9859 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.1578, allocations: 11.98 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.1578, allocations: 7.438 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1578, allocations: 0 / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2186/0.3764, allocations: 1.379 MB / 0.9873 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/0.3767, allocations: 272.3 kB / 0.9876 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.866, allocations: 0 / 0.9876 GB, free: 19.38 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)