Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.532/2.532, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001979/0.001979, allocations: 186 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009684/0.0009681, allocations: 89.7 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004998, allocations: 16.31 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2174, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001376/0.2189, allocations: 0.9781 MB / 0.9794 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000959/0.2198, allocations: 497 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.2199, allocations: 4 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.2199, allocations: 0 / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.944e-05/0.22, allocations: 3.984 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.2203, allocations: 35.91 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.753e-05/0.2204, allocations: 23.95 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.2204, allocations: 0 / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/0.2204, allocations: 7.938 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.2205, allocations: 11.98 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.2205, allocations: 0 / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.2207, allocations: 43.95 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.2207, allocations: 7.938 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.2208, allocations: 29.7 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.197e-05/0.2209, allocations: 36.22 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2209, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2209, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2209, allocations: 0 / 0.9801 GB, free: 26.55 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.0002968/0.2212, allocations: 335.3 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2213, allocations: 15.95 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.2213, allocations: 42.55 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.2214, allocations: 7.953 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.118e-05/0.2214, allocations: 159.1 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2215, allocations: 0 / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2215, allocations: 4 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.2216, allocations: 49.62 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2216, allocations: 4 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2217, allocations: 0 / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2217, allocations: 0 / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.2217, allocations: 15.98 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.2218, allocations: 157.7 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.112e-05/0.2219, allocations: 30.58 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.2219, allocations: 16.95 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.222, allocations: 3.984 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.2221, allocations: 63.34 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.524e-06/0.2221, allocations: 4 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002173/0.2224, allocations: 93.67 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.2224, allocations: 59.41 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.6e-05/0.2224, allocations: 97.75 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.2225, allocations: 29.7 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.911e-05/0.2225, allocations: 92.06 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.2225, allocations: 11.84 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.2225, allocations: 4 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.2226, allocations: 318.8 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.2227, allocations: 35.95 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.2228, allocations: 63.25 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.2229, allocations: 31.98 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2229, allocations: 0 / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002118/0.2231, allocations: 121.4 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2231, allocations: 8 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2231, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2232, allocations: 4 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.2233, allocations: 8 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2233, allocations: 8.219 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.2233, allocations: 4 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2234, allocations: 7.938 kB / 0.9819 GB, free: 24.43 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 9.09e-05/0.2235, allocations: 133.7 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.2235, allocations: 3.906 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.2235, allocations: 7.969 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2235, allocations: 0 / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2235, allocations: 0 / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2235, allocations: 4 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.982e-05/0.2236, allocations: 153.6 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2237, allocations: 0 / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.2237, allocations: 0 / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2237, allocations: 7.984 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2237, allocations: 3.984 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2237, allocations: 0 / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2237, allocations: 0 / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.2239, allocations: 109.2 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.2239, allocations: 85.12 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.2239, allocations: 8 kB / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.786e-05/0.224, allocations: 0 / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.224, allocations: 0 / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.224, allocations: 4 kB / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.527e-05/0.224, allocations: 75.28 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2241, allocations: 0 / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002745/0.2243, allocations: 24 kB / 0.9825 GB, free: 23.73 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.0004291/0.2248, allocations: 0.667 MB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.2249, allocations: 67.78 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.225, allocations: 0 / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.796e-05/0.225, allocations: 20.45 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.2252, allocations: 8.016 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.2256, allocations: 166.2 kB / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.2258, allocations: 0.677 MB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.2258, allocations: 4 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.2258, allocations: 11.44 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.2258, allocations: 0 / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.2492, allocations: 1.395 MB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.2494, allocations: 261.9 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/2.906, allocations: 2.922 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)