Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001294/0.001294, allocations: 86.25 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.001699/0.001699, 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.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9589/0.9589, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 8 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1682, allocations: 82.31 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001433/0.1697, allocations: 0.9984 MB / 0.5885 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006949/0.1704, allocations: 413.1 kB / 0.5889 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.1705, allocations: 0 / 0.5889 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.461e-05/0.1706, allocations: 0 / 0.5889 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.1706, allocations: 19.86 kB / 0.5889 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.1708, allocations: 19.97 kB / 0.5889 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.806e-05/0.1709, allocations: 27.91 kB / 0.5889 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.171, allocations: 4 kB / 0.5889 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.134e-05/0.171, allocations: 19.92 kB / 0.589 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.1711, allocations: 11.98 kB / 0.589 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1711, allocations: 0 / 0.589 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1712, allocations: 39.89 kB / 0.589 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.1713, allocations: 15.98 kB / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.1713, allocations: 33.64 kB / 0.5891 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.294e-05/0.1714, allocations: 32.17 kB / 0.5891 GB, free: 1.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1714, allocations: 4 kB / 0.5891 GB, free: 1.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1714, allocations: 0 / 0.5891 GB, free: 1.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1714, allocations: 4 kB / 0.5891 GB, free: 1.246 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003608/0.1718, allocations: 343.2 kB / 0.5894 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1719, allocations: 12.03 kB / 0.5894 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.1719, allocations: 34.5 kB / 0.5895 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.1719, allocations: 4 kB / 0.5895 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.1721, allocations: 175 kB / 0.5896 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-06/0.1721, allocations: 0 / 0.5896 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.1721, allocations: 4 kB / 0.5896 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.357e-05/0.1722, allocations: 47.41 kB / 0.5897 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1722, allocations: 3.938 kB / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.1722, allocations: 0 / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1722, allocations: 0 / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.1723, allocations: 8 kB / 0.5897 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.1725, allocations: 174.5 kB / 0.5899 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.1725, allocations: 49.08 kB / 0.5899 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.1726, allocations: 17.84 kB / 0.5899 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1726, allocations: 0 / 0.5899 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1726, allocations: 34.56 kB / 0.59 GB, free: 168 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1726, allocations: 0 / 0.59 GB, free: 168 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.1728, allocations: 53.78 kB / 0.59 GB, free: 108 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1728, allocations: 81.11 kB / 0.5901 GB, free: 8 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.173, allocations: 145.4 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.173, allocations: 25.7 kB / 0.5903 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.173, allocations: 92.05 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.173, allocations: 0 / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.1731, allocations: 0 / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1732, allocations: 326.8 kB / 0.5907 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.1732, allocations: 23.98 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.1733, allocations: 27.94 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.1733, allocations: 35.92 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1733, allocations: 0 / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001298/0.1735, allocations: 93.58 kB / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1735, allocations: 4 kB / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.1735, allocations: 0 / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1735, allocations: 0 / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.641e-05/0.1736, allocations: 4 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1736, allocations: 3.984 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.1736, allocations: 11.84 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1736, allocations: 7.938 kB / 0.5909 GB, free: 15.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.146e-05/0.1737, allocations: 121.8 kB / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1737, allocations: 7.906 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.1738, allocations: 3.531 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1738, allocations: 96 / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1738, allocations: 7.922 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1738, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.1739, allocations: 165.6 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1739, allocations: 7.984 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.1739, allocations: 4 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1739, allocations: 4 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.174, allocations: 0 / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.174, allocations: 0 / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.174, allocations: 0 / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.585e-05/0.1741, allocations: 78.03 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.1741, allocations: 84.97 kB / 0.5913 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1741, allocations: 8.031 kB / 0.5913 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.604e-05/0.1742, allocations: 0 / 0.5913 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.1742, allocations: 3.938 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1742, allocations: 0 / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.788e-05/0.1742, allocations: 107 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1742, allocations: 0 / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002083/0.1745, allocations: 20 kB / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003944/0.1749, allocations: 0.6288 MB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.175, allocations: 85.62 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.175, allocations: 0 / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.175, allocations: 7.984 kB / 0.5922 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.1752, allocations: 4.156 kB / 0.5922 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.1758, allocations: 479.3 kB / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1761, allocations: 0.6888 MB / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.1761, allocations: 3.938 kB / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.1762, allocations: 23.42 kB / 0.5933 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1762, allocations: 0 / 0.5933 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.1905, allocations: 1.479 MB / 0.5948 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003189/0.1909, allocations: 249.2 kB / 0.595 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.799, allocations: 0 / 0.595 GB, free: 10.89 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) Environment - environmentSimulation: