Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001538/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00128/0.00128, allocations: 191.8 kB / 16.14 MB, free: 6.688 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7551/0.7551, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 62.56 kB / 0.5011 GB, free: 9.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1599, allocations: 80.2 MB / 0.5794 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003208/0.1632, allocations: 1.527 MB / 0.5809 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1647, allocations: 451.3 kB / 0.5813 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1648, allocations: 4 kB / 0.5813 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.1651, allocations: 7.922 kB / 0.5814 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1653, allocations: 20.28 kB / 0.5814 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1664, allocations: 218.4 kB / 0.5816 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.1669, allocations: 295.9 kB / 0.5819 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.167, allocations: 11.97 kB / 0.5819 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.1674, allocations: 210.3 kB / 0.5821 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.1677, allocations: 123.5 kB / 0.5822 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.1678, allocations: 8 kB / 0.5822 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.097e-05/0.1679, allocations: 8 kB / 0.5822 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.168, allocations: 75.77 kB / 0.5823 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.1682, allocations: 123.4 kB / 0.5824 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.1686, allocations: 279.3 kB / 0.5827 GB, free: 5.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1686, allocations: 0 / 0.5827 GB, free: 5.914 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1686, allocations: 0 / 0.5827 GB, free: 5.914 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1686, allocations: 0 / 0.5827 GB, free: 5.914 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.001531/0.1701, allocations: 0.7075 MB / 0.5834 GB, free: 5.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.1702, allocations: 12.03 kB / 0.5834 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.1703, allocations: 27.72 kB / 0.5834 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.1708, allocations: 258.3 kB / 0.5836 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.1708, allocations: 15.94 kB / 0.5837 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.149e-05/0.1709, allocations: 19.98 kB / 0.5837 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.1712, allocations: 152.1 kB / 0.5838 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1713, allocations: 3.938 kB / 0.5838 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.1713, allocations: 0 / 0.5838 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1713, allocations: 0 / 0.5838 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.1715, allocations: 47.97 kB / 0.5839 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.1719, allocations: 313.3 kB / 0.5842 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.1723, allocations: 146.7 kB / 0.5843 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1724, allocations: 56.84 kB / 0.5844 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1724, allocations: 3.984 kB / 0.5844 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005493/0.173, allocations: 215.6 kB / 0.5846 GB, free: 3.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.173, allocations: 0 / 0.5846 GB, free: 3.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006751/0.1737, allocations: 275 kB / 0.5848 GB, free: 3.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1738, allocations: 59.31 kB / 0.5849 GB, free: 3.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.1741, allocations: 287 kB / 0.5852 GB, free: 3.145 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.1742, allocations: 49.69 kB / 0.5852 GB, free: 3.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.1742, allocations: 85.14 kB / 0.5853 GB, free: 3.004 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.1743, allocations: 51.44 kB / 0.5853 GB, free: 2.953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.1745, allocations: 101.7 kB / 0.5854 GB, free: 2.844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1747, allocations: 322.8 kB / 0.5857 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.1749, allocations: 96.17 kB / 0.5858 GB, free: 2.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.1752, allocations: 147.4 kB / 0.586 GB, free: 2.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.1755, allocations: 247.6 kB / 0.5862 GB, free: 1.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1756, allocations: 0 / 0.5862 GB, free: 1.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000709/0.1763, allocations: 418.2 kB / 0.5866 GB, free: 1.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.649e-05/0.1764, allocations: 75.38 kB / 0.5867 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1764, allocations: 0 / 0.5867 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1764, allocations: 7.938 kB / 0.5867 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.1766, allocations: 27.92 kB / 0.5867 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1766, allocations: 4 kB / 0.5867 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.1772, allocations: 63.98 kB / 0.5868 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.1772, allocations: 51.97 kB / 0.5868 GB, free: 1.324 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001831/0.1774, allocations: 176.6 kB / 0.587 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.1775, allocations: 23.72 kB / 0.587 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.1776, allocations: 30.25 kB / 0.5871 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1776, allocations: 7.938 kB / 0.5871 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1776, allocations: 0 / 0.5871 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1776, allocations: 3.984 kB / 0.5871 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/0.1784, allocations: 0.5632 MB / 0.5876 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1784, allocations: 3.938 kB / 0.5876 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.1785, allocations: 4 kB / 0.5876 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1785, allocations: 0 / 0.5876 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.1785, allocations: 19.97 kB / 0.5876 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1785, allocations: 7.938 kB / 0.5876 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1785, allocations: 0 / 0.5876 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.179, allocations: 319 kB / 0.588 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.1792, allocations: 160.6 kB / 0.5881 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.1793, allocations: 8 kB / 0.5881 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.1795, allocations: 19.92 kB / 0.5881 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.1796, allocations: 15.97 kB / 0.5881 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.1796, allocations: 35.98 kB / 0.5882 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001969/0.1798, allocations: 209.9 kB / 0.5884 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.1798, allocations: 0 / 0.5884 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003297/0.1802, allocations: 48 kB / 0.5884 GB, free: 15.58 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 (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.0001401/0.1803, allocations: 111.2 kB / 0.5885 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005738/0.1809, allocations: 340.7 kB / 0.5889 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1809, allocations: 384 / 0.5889 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.1811, allocations: 75.91 kB / 0.5889 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1814, allocations: 32.53 kB / 0.589 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/0.1822, allocations: 465.4 kB / 0.5894 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1826, allocations: 0.7438 MB / 0.5901 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.1827, allocations: 33.44 kB / 0.5902 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1828, allocations: 43.41 kB / 0.5902 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1829, allocations: 3.938 kB / 0.5902 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.00846/0.1913, allocations: 3.996 MB / 0.5941 GB, free: 9.73 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)