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.697/1.697, allocations: 288.4 MB / 303.3 MB, free: 8.125 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.001091/0.001091, allocations: 180.5 kB / 372 MB, free: 10.28 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.642/1.642, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007508/0.0007508, allocations: 86.38 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 15.95 kB / 0.8671 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2184, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001379/0.2199, allocations: 0.9645 MB / 0.9806 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.2206, allocations: 0.489 MB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.2207, allocations: 4 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.2207, allocations: 0 / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.997e-05/0.2208, allocations: 3.938 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.2211, allocations: 35.95 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.924e-05/0.2212, allocations: 19.97 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.2212, allocations: 3.984 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.319e-05/0.2213, allocations: 11.94 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.2213, allocations: 7.984 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2213, allocations: 0 / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2214, allocations: 43.95 kB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.2215, allocations: 11.94 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.2215, allocations: 25.7 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.824e-05/0.2216, allocations: 36.22 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2217, allocations: 0 / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2217, allocations: 0 / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2217, allocations: 0 / 0.9813 GB, free: 25.86 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.0003292/0.222, allocations: 335.2 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2221, allocations: 12.02 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.2221, allocations: 42.55 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.2221, allocations: 4 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.789e-05/0.2222, allocations: 163 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2222, allocations: 0 / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.2222, allocations: 4 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.2224, allocations: 53.62 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2224, allocations: 0 / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.2224, allocations: 0 / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2224, allocations: 0 / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.2224, allocations: 11.98 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.2225, allocations: 165.7 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.706e-05/0.2226, allocations: 26.58 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.2226, allocations: 16.95 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.2226, allocations: 0 / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.2228, allocations: 67.33 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.2228, allocations: 7.938 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001905/0.223, allocations: 93.67 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.223, allocations: 55.41 kB / 0.9823 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.324e-05/0.2231, allocations: 101.8 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2231, allocations: 29.7 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.2231, allocations: 84.12 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.2231, allocations: 15.84 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.2231, allocations: 7.938 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.2232, allocations: 322.8 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.388e-05/0.2232, allocations: 28.02 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.2233, allocations: 62 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.988e-05/0.2233, allocations: 31.98 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2234, allocations: 0 / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001264/0.2235, allocations: 117.4 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2235, allocations: 8 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2235, allocations: 0 / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2235, allocations: 4 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.2236, allocations: 15.98 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2236, allocations: 4.219 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.2237, allocations: 11.94 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.2237, allocations: 4 kB / 0.9831 GB, free: 23.74 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 8.193e-05/0.2238, allocations: 135.5 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.2238, allocations: 3.906 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.2238, allocations: 3.969 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.2238, allocations: 0 / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2238, allocations: 0 / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2238, allocations: 0 / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.411e-05/0.2239, allocations: 165.6 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2239, allocations: 0 / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-06/0.224, allocations: 4 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.224, allocations: 0 / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.224, allocations: 3.984 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.224, allocations: 0 / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.224, allocations: 0 / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.2241, allocations: 109 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.2241, allocations: 85.12 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.2241, allocations: 4 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.215e-05/0.2242, allocations: 0 / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.2242, allocations: 0 / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2242, allocations: 4 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.509e-05/0.2242, allocations: 75.28 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2242, allocations: 0 / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002001/0.2244, allocations: 27.94 kB / 0.9837 GB, free: 23.04 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.0003302/0.2248, allocations: 0.6709 MB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.2249, allocations: 55.91 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2249, allocations: 4 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.2249, allocations: 16.45 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.2251, allocations: 9.812 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.2255, allocations: 166.2 kB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.2256, allocations: 0.6809 MB / 0.9853 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.2256, allocations: 4 kB / 0.9853 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.2257, allocations: 7.438 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2257, allocations: 0 / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.2374, allocations: 1.407 MB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.2376, allocations: 269 kB / 0.9869 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.748, allocations: 0 / 0.9869 GB, free: 19.82 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)