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.001016/0.001016, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001013/0.001013, allocations: 192.1 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.518/1.518, allocations: 292.3 MB / 0.5486 GB, free: 13.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.001534/0.001534, allocations: 70.23 kB / 0.6712 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1794, allocations: 114.6 MB / 0.783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00205/0.1815, allocations: 1.308 MB / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.1822, allocations: 0.5163 MB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.295e-05/0.1822, allocations: 0 / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.1822, allocations: 0 / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.1823, allocations: 4 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1826, allocations: 55.88 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.07e-05/0.1826, allocations: 11.98 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.1826, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.1827, allocations: 7.984 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.704e-05/0.1827, allocations: 11.92 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.161e-06/0.1827, allocations: 0 / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1829, allocations: 67.86 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.1829, allocations: 11.98 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.1829, allocations: 11.94 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.183, allocations: 60.14 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1831, allocations: 7.984 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1831, allocations: 0 / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.1831, allocations: 3.938 kB / 0.785 GB, free: 11.65 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.000299/0.1834, allocations: 339.4 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1834, allocations: 8.031 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.1834, allocations: 30.75 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.1835, allocations: 4.938 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.644e-05/0.1836, allocations: 160.4 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.1836, allocations: 384 / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1836, allocations: 12.38 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.736e-05/0.1837, allocations: 49.8 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.1837, allocations: 3.938 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.1837, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1837, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.1837, allocations: 15.94 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.1839, allocations: 157.7 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.99e-05/0.1839, allocations: 26.64 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.184, allocations: 24.94 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.184, allocations: 4 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.1841, allocations: 75.27 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1841, allocations: 0 / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0001658/0.1843, allocations: 89.69 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1843, allocations: 59.39 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.107e-05/0.1843, allocations: 97.8 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1844, allocations: 33.7 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/0.1844, allocations: 80.14 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.1844, allocations: 19.83 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1845, allocations: 25.72 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.1846, allocations: 318.8 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.1846, allocations: 19.98 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/0.1847, allocations: 69.94 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.1848, allocations: 97.92 kB / 0.7868 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1848, allocations: 0 / 0.7868 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001432/0.1849, allocations: 125.3 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.185, allocations: 4 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.185, allocations: 4 kB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.185, allocations: 0 / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.1851, allocations: 20.2 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1851, allocations: 4 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.1851, allocations: 4 kB / 0.7869 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1851, allocations: 4 kB / 0.7869 GB, free: 9.43 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 (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 7.867e-05/0.1852, allocations: 130.4 kB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.1852, allocations: 7.844 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.548e-05/0.1852, allocations: 3.969 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1852, allocations: 3.938 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1853, allocations: 8 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.1853, allocations: 4 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1854, allocations: 157.7 kB / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1854, allocations: 0 / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-06/0.1854, allocations: 3.938 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1854, allocations: 3.938 kB / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1854, allocations: 0 / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1854, allocations: 0 / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1854, allocations: 0 / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.1855, allocations: 117.3 kB / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.1856, allocations: 81.05 kB / 0.7874 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1856, allocations: 4 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.1856, allocations: 3.984 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.1856, allocations: 4 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1856, allocations: 0 / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.891e-05/0.1857, allocations: 75.28 kB / 0.7875 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1857, allocations: 0 / 0.7875 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002102/0.1859, allocations: 28 kB / 0.7876 GB, free: 8.707 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 (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.0003989/0.1863, allocations: 0.6709 MB / 0.7882 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1864, allocations: 59.91 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1864, allocations: 4.469 kB / 0.7883 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-05/0.1865, allocations: 20 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.1866, allocations: 3.984 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.1869, allocations: 159.1 kB / 0.7884 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1872, allocations: 0.6768 MB / 0.7891 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.1872, allocations: 4 kB / 0.7891 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.1872, allocations: 15.42 kB / 0.7891 GB, free: 7 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1872, allocations: 4.062 kB / 0.7891 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.104/1.291, allocations: 1.488 MB / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/1.292, allocations: 283.9 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/3.13, allocations: 0 / 0.7909 GB, free: 5.352 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/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)