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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001553/0.001553, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.809/1.809, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0005442/0.0005442, allocations: 19.69 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2588, allocations: 116.3 MB / 0.7873 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001331/0.2602, allocations: 0.9704 MB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007862/0.261, allocations: 497.3 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.261, allocations: 0 / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.261, allocations: 0 / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.035e-05/0.2611, allocations: 4 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.2614, allocations: 43.83 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.2614, allocations: 3.984 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.2615, allocations: 4 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.2615, allocations: 4 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.385e-05/0.2616, allocations: 4 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.2616, allocations: 0 / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.2617, allocations: 39.94 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.2618, allocations: 19.92 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.2618, allocations: 25.7 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2619, allocations: 40.23 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.262, allocations: 0 / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.262, allocations: 0 / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.262, allocations: 3.938 kB / 0.7889 GB, free: 10.18 MB / 0.6075 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.0003461/0.2623, allocations: 331.3 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2624, allocations: 12.03 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.2624, allocations: 30.56 kB / 0.7892 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.2625, allocations: 3.938 kB / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2626, allocations: 167 kB / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2626, allocations: 8 kB / 0.7894 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2626, allocations: 4 kB / 0.7894 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.2627, allocations: 49.62 kB / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2628, allocations: 0 / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2628, allocations: 0 / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2628, allocations: 0 / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.99e-05/0.2628, allocations: 12 kB / 0.7895 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.263, allocations: 157.6 kB / 0.7896 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.263, allocations: 34.62 kB / 0.7896 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-06/0.2631, allocations: 0 / 0.7896 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.2632, allocations: 75.42 kB / 0.7897 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.2632, allocations: 0 / 0.7897 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002636/0.2635, allocations: 174.8 kB / 0.7899 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.2635, allocations: 63.39 kB / 0.7899 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.679e-05/0.2636, allocations: 93.77 kB / 0.79 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.2636, allocations: 33.73 kB / 0.7901 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.2636, allocations: 84.14 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.2637, allocations: 15.83 kB / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.2637, allocations: 4 kB / 0.7902 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2638, allocations: 318.8 kB / 0.7905 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-05/0.2639, allocations: 19.98 kB / 0.7905 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.2639, allocations: 73.92 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.264, allocations: 28 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.264, allocations: 0 / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001638/0.2642, allocations: 117.5 kB / 0.7907 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2642, allocations: 4 kB / 0.7907 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2642, allocations: 7.938 kB / 0.7907 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2642, allocations: 0 / 0.7907 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.2643, allocations: 19.98 kB / 0.7907 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2643, allocations: 0 / 0.7907 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.2644, allocations: 8 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2644, allocations: 4 kB / 0.7907 GB, free: 7.996 MB / 0.6075 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 0.000117/0.2645, allocations: 137.8 kB / 0.7909 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.2645, allocations: 3.906 kB / 0.7909 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.2645, allocations: 11.91 kB / 0.7909 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2645, allocations: 0 / 0.7909 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2646, allocations: 3.938 kB / 0.7909 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2646, allocations: 0 / 0.7909 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.2647, allocations: 153.6 kB / 0.791 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2647, allocations: 0 / 0.791 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/0.2647, allocations: 0 / 0.791 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2647, allocations: 0 / 0.791 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.2647, allocations: 8 kB / 0.791 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2647, allocations: 4 kB / 0.791 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2647, allocations: 0 / 0.791 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.2649, allocations: 105 kB / 0.7911 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.2649, allocations: 85.06 kB / 0.7912 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.2649, allocations: 4 kB / 0.7912 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/0.265, allocations: 0 / 0.7912 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.265, allocations: 7.984 kB / 0.7912 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.265, allocations: 4.031 kB / 0.7912 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.265, allocations: 75.28 kB / 0.7913 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.265, allocations: 4 kB / 0.7913 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002219/0.2653, allocations: 20 kB / 0.7913 GB, free: 7.281 MB / 0.6075 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.0004681/0.2657, allocations: 0.6709 MB / 0.792 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.2659, allocations: 59.84 kB / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2659, allocations: 0 / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.931e-05/0.2659, allocations: 16 kB / 0.7921 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.104e-05/0.266, allocations: 0 / 0.7921 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.2664, allocations: 165.6 kB / 0.7922 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.2667, allocations: 0.6848 MB / 0.7929 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.2667, allocations: 4 kB / 0.7929 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.2668, allocations: 15.44 kB / 0.7929 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2668, allocations: 0 / 0.7929 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.2776, allocations: 1.377 MB / 0.7943 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.2778, allocations: 250.9 kB / 0.7945 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.2, allocations: 0 / 0.7945 GB, free: 4.102 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) Environment - environmentSimulation: