Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_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.005005/0.005005, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001249/0.001249, allocations: 202.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 286.5 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002916/0.002916, allocations: 103.9 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1597, allocations: 86.97 MB / 0.766 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002196/0.1619, allocations: 1.233 MB / 0.7672 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.1628, allocations: 486.7 kB / 0.7676 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.1628, allocations: 0 / 0.7676 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.1629, allocations: 3.938 kB / 0.7676 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.1629, allocations: 8.5 kB / 0.7676 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1633, allocations: 55.81 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.225e-05/0.1633, allocations: 11.98 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.1634, allocations: 0 / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.987e-05/0.1634, allocations: 4 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.1634, allocations: 11.98 kB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1635, allocations: 3.984 kB / 0.7677 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1636, allocations: 63.86 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.1637, allocations: 11.98 kB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.1637, allocations: 7.938 kB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.1639, allocations: 72 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1639, allocations: 0 / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1639, allocations: 4 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.1639, allocations: 0 / 0.7679 GB, free: 6.879 MB / 0.5606 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.0003692/0.1643, allocations: 339.4 kB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1643, allocations: 8.031 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.1644, allocations: 34.75 kB / 0.7682 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.1644, allocations: 4.938 kB / 0.7682 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1645, allocations: 164.4 kB / 0.7684 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1645, allocations: 8.359 kB / 0.7684 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1645, allocations: 4.375 kB / 0.7684 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1647, allocations: 57.75 kB / 0.7685 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.1647, allocations: 0 / 0.7685 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1647, allocations: 4 kB / 0.7685 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1647, allocations: 0 / 0.7685 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.47e-05/0.1647, allocations: 4 kB / 0.7685 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.1649, allocations: 153.7 kB / 0.7686 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.42e-05/0.1649, allocations: 34.62 kB / 0.7686 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.165, allocations: 20.95 kB / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-06/0.165, allocations: 0 / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.1651, allocations: 75.27 kB / 0.7687 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1652, allocations: 0 / 0.7687 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002148/0.1654, allocations: 97.62 kB / 0.7688 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1654, allocations: 59.39 kB / 0.7689 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.1655, allocations: 89.86 kB / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1655, allocations: 37.73 kB / 0.769 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.1656, allocations: 80.14 kB / 0.7691 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.1656, allocations: 27.77 kB / 0.7691 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.1656, allocations: 25.72 kB / 0.7691 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1658, allocations: 318.8 kB / 0.7694 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.1658, allocations: 19.98 kB / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.819e-05/0.1659, allocations: 72.06 kB / 0.7695 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1661, allocations: 97.92 kB / 0.7696 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1661, allocations: 4 kB / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001704/0.1662, allocations: 117.4 kB / 0.7697 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1663, allocations: 7.938 kB / 0.7697 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1663, allocations: 4 kB / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1663, allocations: 3.984 kB / 0.7698 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.1664, allocations: 12 kB / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1664, allocations: 4.219 kB / 0.7698 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/0.1664, allocations: 7.953 kB / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1664, allocations: 4 kB / 0.7698 GB, free: 4.645 MB / 0.5606 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 0.0001057/0.1665, allocations: 126.4 kB / 0.7699 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.1666, allocations: 3.938 kB / 0.7699 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.1666, allocations: 11.97 kB / 0.7699 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1666, allocations: 0 / 0.7699 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1666, allocations: 0 / 0.7699 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1666, allocations: 4 kB / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.1668, allocations: 153.6 kB / 0.7701 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1668, allocations: 0 / 0.7701 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-06/0.1668, allocations: 3.938 kB / 0.7701 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1668, allocations: 0 / 0.7701 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1668, allocations: 4 kB / 0.7701 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1668, allocations: 4 kB / 0.7701 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1668, allocations: 0 / 0.7701 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.167, allocations: 113 kB / 0.7702 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.167, allocations: 81.05 kB / 0.7703 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.167, allocations: 7.984 kB / 0.7703 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.1671, allocations: 4 kB / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.1671, allocations: 0 / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1671, allocations: 0 / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.1671, allocations: 83.31 kB / 0.7704 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1671, allocations: 0 / 0.7704 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002397/0.1674, allocations: 23.94 kB / 0.7704 GB, free: 3.938 MB / 0.5606 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.0005211/0.1679, allocations: 0.671 MB / 0.771 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.1681, allocations: 59.91 kB / 0.7711 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1681, allocations: 3.938 kB / 0.7711 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.538e-05/0.1681, allocations: 16.47 kB / 0.7711 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.1682, allocations: 11.33 kB / 0.7711 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.1686, allocations: 161.1 kB / 0.7713 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1689, allocations: 0.6768 MB / 0.7719 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.169, allocations: 4 kB / 0.7719 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.169, allocations: 15.42 kB / 0.772 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.169, allocations: 0 / 0.772 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.1913, allocations: 1.615 MB / 0.7735 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/7.857, allocations: 10.89 kB / 0.7735 GB, free: 0.8203 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.csv --start-time 3.5 --stop-time 5.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)