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.006841/0.006841, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001901/0.001902, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002474/0.002474, allocations: 290.8 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9932/0.9932, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002631, allocations: 96 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1681, allocations: 86.98 MB / 0.766 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002219/0.1704, allocations: 1.234 MB / 0.7672 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008074/0.1712, allocations: 486.8 kB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.1712, allocations: 0 / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.1713, allocations: 7.938 kB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.051e-05/0.1713, allocations: 0.5156 kB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1716, allocations: 51.81 kB / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.1717, allocations: 15.97 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.1717, allocations: 0 / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.132e-05/0.1718, allocations: 8 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/0.1718, allocations: 4 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.1718, allocations: 7.938 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.172, allocations: 71.84 kB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.172, allocations: 11.97 kB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.1721, allocations: 11.94 kB / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1722, allocations: 64.02 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1722, allocations: 0 / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1722, allocations: 0 / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1722, allocations: 0 / 0.7679 GB, free: 6.902 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.0003965/0.1726, allocations: 343.4 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1727, allocations: 12.03 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.1727, allocations: 30.75 kB / 0.7682 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.1727, allocations: 8.938 kB / 0.7682 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1729, allocations: 160.4 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1729, allocations: 4.375 kB / 0.7684 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1729, allocations: 4.375 kB / 0.7684 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.173, allocations: 53.8 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.173, allocations: 4 kB / 0.7685 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.173, allocations: 0 / 0.7685 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.173, allocations: 0 / 0.7685 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.1731, allocations: 15.94 kB / 0.7685 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.1732, allocations: 149.7 kB / 0.7686 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.787e-05/0.1733, allocations: 30.64 kB / 0.7686 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.1733, allocations: 24.94 kB / 0.7687 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-06/0.1733, allocations: 0 / 0.7687 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.1735, allocations: 71.28 kB / 0.7687 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.103e-06/0.1735, allocations: 0 / 0.7687 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002023/0.1737, allocations: 97.62 kB / 0.7688 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.1738, allocations: 59.39 kB / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.16e-05/0.1738, allocations: 89.86 kB / 0.769 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1738, allocations: 33.7 kB / 0.769 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.1739, allocations: 80.14 kB / 0.7691 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.1739, allocations: 23.83 kB / 0.7691 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.174, allocations: 29.7 kB / 0.7691 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1741, allocations: 318.9 kB / 0.7694 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.1741, allocations: 23.98 kB / 0.7695 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.214e-05/0.1742, allocations: 65.92 kB / 0.7695 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1744, allocations: 93.94 kB / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1744, allocations: 4 kB / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001698/0.1745, allocations: 125.5 kB / 0.7697 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1746, allocations: 7.938 kB / 0.7697 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1746, allocations: 4 kB / 0.7697 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1746, allocations: 0 / 0.7697 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.1747, allocations: 19.92 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1747, allocations: 4 kB / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.1747, allocations: 3.953 kB / 0.7698 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1747, allocations: 8 kB / 0.7698 GB, free: 4.664 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 9.587e-05/0.1748, allocations: 126.5 kB / 0.7699 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.1749, allocations: 11.92 kB / 0.7699 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.1749, allocations: 7.969 kB / 0.7699 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1749, allocations: 0 / 0.7699 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1749, allocations: 0 / 0.7699 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1749, allocations: 0 / 0.7699 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.175, allocations: 153.6 kB / 0.7701 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.175, allocations: 0 / 0.7701 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.175, allocations: 3.938 kB / 0.7701 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1751, allocations: 0 / 0.7701 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1751, allocations: 12 kB / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1751, allocations: 0 / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1751, allocations: 0 / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.1752, allocations: 109 kB / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.1753, allocations: 85.05 kB / 0.7703 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1753, allocations: 0 / 0.7703 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.1753, allocations: 4 kB / 0.7703 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.1753, allocations: 7.984 kB / 0.7703 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1753, allocations: 8.031 kB / 0.7703 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.1754, allocations: 79.31 kB / 0.7704 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1754, allocations: 0 / 0.7704 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002905/0.1757, allocations: 19.94 kB / 0.7704 GB, free: 3.953 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.0005004/0.1762, allocations: 0.671 MB / 0.771 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.1763, allocations: 59.84 kB / 0.7711 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1763, allocations: 0 / 0.7711 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.024e-05/0.1764, allocations: 16 kB / 0.7711 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.1765, allocations: 3.062 kB / 0.7711 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.177, allocations: 163 kB / 0.7713 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1773, allocations: 0.6772 MB / 0.7719 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.884e-05/0.1773, allocations: 8 kB / 0.7719 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.1773, allocations: 17.67 kB / 0.772 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1773, allocations: 0 / 0.772 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06599/0.2433, allocations: 1.611 MB / 0.7735 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.606, allocations: 7.422 kB / 0.7735 GB, free: 0.8438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)