Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001178/0.001178, allocations: 177.3 kB / 15.94 MB, free: 228 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.216/1.216, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8394/0.8394, allocations: 135.2 MB / 426.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003022, allocations: 8 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1599, allocations: 82.31 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001554/0.1615, allocations: 1.163 MB / 0.5883 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1626, allocations: 391.1 kB / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.1626, allocations: 0 / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.606e-05/0.1627, allocations: 3.938 kB / 0.5887 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1628, allocations: 23.91 kB / 0.5887 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.1635, allocations: 207.6 kB / 0.5889 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.1637, allocations: 147.8 kB / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.1638, allocations: 7.984 kB / 0.5891 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.164, allocations: 163.7 kB / 0.5892 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.1643, allocations: 127.7 kB / 0.5894 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.1643, allocations: 12 kB / 0.5894 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.1644, allocations: 8 kB / 0.5894 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1645, allocations: 75.78 kB / 0.5894 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.1646, allocations: 73.58 kB / 0.5895 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1648, allocations: 199.8 kB / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.1648, allocations: 0 / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1648, allocations: 0 / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1648, allocations: 4 kB / 0.5897 GB, free: 0.5234 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001017/0.1658, allocations: 0.618 MB / 0.5903 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1659, allocations: 12.03 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.474e-05/0.166, allocations: 31.72 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1663, allocations: 254.5 kB / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.1663, allocations: 4 kB / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.1664, allocations: 23.98 kB / 0.5906 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.1667, allocations: 157.3 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1667, allocations: 0 / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.1667, allocations: 3.938 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1668, allocations: 0 / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1669, allocations: 47.97 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.1672, allocations: 309.4 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.1675, allocations: 130.7 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1675, allocations: 7.938 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003989/0.1679, allocations: 215.5 kB / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1679, allocations: 0 / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005124/0.1684, allocations: 275.9 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1685, allocations: 59.39 kB / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1687, allocations: 286.9 kB / 0.592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.1688, allocations: 45.69 kB / 0.5921 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1689, allocations: 89.14 kB / 0.5922 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.1689, allocations: 43.45 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.1689, allocations: 8 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1691, allocations: 330.8 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.1693, allocations: 88.17 kB / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.1695, allocations: 155.1 kB / 0.5928 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.1697, allocations: 149.9 kB / 0.5929 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1697, allocations: 0 / 0.5929 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006199/0.1703, allocations: 423.2 kB / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/0.1704, allocations: 71.39 kB / 0.5934 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1704, allocations: 3.938 kB / 0.5934 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1704, allocations: 4 kB / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1706, allocations: 27.91 kB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1706, allocations: 4 kB / 0.5934 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.1711, allocations: 75.8 kB / 0.5935 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.1712, allocations: 55.92 kB / 0.5935 GB, free: 12.29 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: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001845/0.1714, allocations: 175.9 kB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.1714, allocations: 23.72 kB / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.1715, allocations: 30.25 kB / 0.5938 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1715, allocations: 8 kB / 0.5938 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1715, allocations: 0 / 0.5938 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1715, allocations: 0 / 0.5938 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007629/0.1723, allocations: 0.5567 MB / 0.5943 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1723, allocations: 3.984 kB / 0.5943 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.1724, allocations: 12 kB / 0.5943 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1724, allocations: 0 / 0.5943 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.1724, allocations: 11.98 kB / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1724, allocations: 0 / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1724, allocations: 4 kB / 0.5944 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.1728, allocations: 325.1 kB / 0.5947 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.173, allocations: 164.6 kB / 0.5948 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.173, allocations: 8 kB / 0.5948 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.1732, allocations: 11.98 kB / 0.5948 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.1733, allocations: 19.97 kB / 0.5949 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.1733, allocations: 31.97 kB / 0.5949 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000168/0.1735, allocations: 209.9 kB / 0.5951 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1735, allocations: 0 / 0.5951 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002974/0.1738, allocations: 52 kB / 0.5951 GB, free: 10.57 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: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001272/0.174, allocations: 114.5 kB / 0.5952 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.1745, allocations: 346.7 kB / 0.5956 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1745, allocations: 384 / 0.5956 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1746, allocations: 73.16 kB / 0.5956 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.1748, allocations: 26.91 kB / 0.5957 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006692/0.1755, allocations: 442.9 kB / 0.5961 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.1759, allocations: 0.7438 MB / 0.5968 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.176, allocations: 41.42 kB / 0.5969 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1762, allocations: 31.42 kB / 0.5969 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1762, allocations: 0 / 0.5969 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.00628/0.1824, allocations: 3.905 MB / 0.6007 GB, free: 4.828 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: