Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_dev_IDEAS_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.001295/0.001295, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001696/0.001696, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9247/0.9247, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 16.67 kB / 0.5071 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 82.31 MB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00141/0.1743, allocations: 0.9633 MB / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.1752, allocations: 460.9 kB / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.1752, allocations: 0 / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.1752, allocations: 0 / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.1753, allocations: 0 / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1756, allocations: 43.88 kB / 0.5889 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.1757, allocations: 15.98 kB / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.1758, allocations: 0 / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.1758, allocations: 11.94 kB / 0.589 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.1758, allocations: 11.97 kB / 0.589 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.1759, allocations: 4 kB / 0.589 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.176, allocations: 39.95 kB / 0.589 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.1761, allocations: 19.92 kB / 0.589 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.1761, allocations: 25.7 kB / 0.5891 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.523e-05/0.1762, allocations: 31.95 kB / 0.5891 GB, free: 1.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1762, allocations: 0 / 0.5891 GB, free: 1.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1762, allocations: 0 / 0.5891 GB, free: 1.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1762, allocations: 4 kB / 0.5891 GB, free: 1.215 MB / 494.1 MB 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.000321/0.1766, allocations: 331.5 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1766, allocations: 12.03 kB / 0.5894 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.1767, allocations: 34.56 kB / 0.5894 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.1767, allocations: 0 / 0.5894 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.068e-05/0.1768, allocations: 163 kB / 0.5896 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1768, allocations: 0 / 0.5896 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1768, allocations: 8 kB / 0.5896 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1769, allocations: 49.62 kB / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.177, allocations: 0 / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.177, allocations: 3.984 kB / 0.5897 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.177, allocations: 0 / 0.5897 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.369e-05/0.177, allocations: 16 kB / 0.5897 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.1772, allocations: 161.6 kB / 0.5898 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.1773, allocations: 30.58 kB / 0.5899 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.1773, allocations: 20.94 kB / 0.5899 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.1773, allocations: 0 / 0.5899 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.1774, allocations: 75.34 kB / 0.59 GB, free: 156 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.1775, allocations: 0 / 0.59 GB, free: 156 kB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002064/0.1777, allocations: 93.58 kB / 0.59 GB, free: 56 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.1777, allocations: 55.41 kB / 0.5901 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.89e-05/0.1778, allocations: 93.84 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1778, allocations: 33.7 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.1778, allocations: 80.14 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1779, allocations: 19.75 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.1779, allocations: 0 / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.178, allocations: 334.8 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.178, allocations: 19.98 kB / 0.5907 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.1781, allocations: 65.94 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.061e-05/0.1782, allocations: 31.98 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1782, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001612/0.1783, allocations: 109.5 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1784, allocations: 11.94 kB / 0.5909 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1784, allocations: 4 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1784, allocations: 4 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.1785, allocations: 12.22 kB / 0.5909 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1785, allocations: 7.984 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.728e-05/0.1785, allocations: 11.91 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1786, allocations: 4 kB / 0.5909 GB, free: 15.11 MB / 0.4981 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.436e-05/0.1787, allocations: 131.2 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.1787, allocations: 0 / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.1787, allocations: 3.969 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1787, allocations: 0 / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1787, allocations: 7.984 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1787, allocations: 4 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.1788, allocations: 153.6 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1789, allocations: 4 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.1789, allocations: 3.984 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1789, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1789, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1789, allocations: 3.938 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1789, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.179, allocations: 113 kB / 0.5913 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.1791, allocations: 84.97 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1791, allocations: 8 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.188e-05/0.1791, allocations: 0 / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.1791, allocations: 0 / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1792, allocations: 4 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.1792, allocations: 75.28 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1792, allocations: 0 / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002297/0.1794, allocations: 27.98 kB / 0.5915 GB, free: 14.39 MB / 0.4981 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.0004526/0.1799, allocations: 0.6632 MB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.18, allocations: 51.86 kB / 0.5922 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.18, allocations: 480 / 0.5922 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.892e-05/0.1801, allocations: 23.98 kB / 0.5922 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1802, allocations: 7.938 kB / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.1806, allocations: 154.3 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.1808, allocations: 0.677 MB / 0.593 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.1809, allocations: 4 kB / 0.593 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.1809, allocations: 19.42 kB / 0.5931 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1809, allocations: 4.062 kB / 0.5931 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.1919, allocations: 1.363 MB / 0.5944 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.1922, allocations: 259.9 kB / 0.5946 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.845, allocations: 7.938 kB / 0.5946 GB, free: 11.22 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) Environment - environmentSimulation: