Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007489/0.0007489, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004956/0.004956, allocations: 170.2 kB / 16.27 MB, free: 6.332 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.014/1.014, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 9.344 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 82.3 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001538/0.1698, allocations: 1.192 MB / 0.5891 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000904/0.1707, allocations: 445.7 kB / 0.5896 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.1707, allocations: 0 / 0.5896 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.077e-05/0.1708, allocations: 3.938 kB / 0.5896 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.1709, allocations: 20.28 kB / 0.5896 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.1715, allocations: 227.4 kB / 0.5898 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1718, allocations: 291.9 kB / 0.5901 GB, free: 476 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.1718, allocations: 4 kB / 0.5901 GB, free: 472 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.1721, allocations: 210.3 kB / 0.5903 GB, free: 264 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1723, allocations: 127.5 kB / 0.5904 GB, free: 136 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.886e-05/0.1724, allocations: 8 kB / 0.5904 GB, free: 128 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.608e-05/0.1725, allocations: 8 kB / 0.5904 GB, free: 120 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.1726, allocations: 75.78 kB / 0.5905 GB, free: 44 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1727, allocations: 145.1 kB / 0.5906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.173, allocations: 279.2 kB / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.173, allocations: 0 / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.173, allocations: 0 / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.173, allocations: 0 / 0.5909 GB, free: 15.62 MB / 0.4981 GB 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.001031/0.1741, allocations: 0.618 MB / 0.5915 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1741, allocations: 12.03 kB / 0.5915 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.942e-05/0.1742, allocations: 35.72 kB / 0.5915 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1745, allocations: 258.3 kB / 0.5918 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.1745, allocations: 8 kB / 0.5918 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.1746, allocations: 16 kB / 0.5918 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1749, allocations: 149.5 kB / 0.5919 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1749, allocations: 3.938 kB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.1749, allocations: 3.984 kB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1749, allocations: 4 kB / 0.592 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.1751, allocations: 47.97 kB / 0.592 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.1754, allocations: 317.3 kB / 0.5923 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1757, allocations: 130.8 kB / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1758, allocations: 56.83 kB / 0.5925 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1759, allocations: 4 kB / 0.5925 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004382/0.1763, allocations: 227.5 kB / 0.5927 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.562e-06/0.1763, allocations: 0 / 0.5927 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005601/0.1769, allocations: 275.3 kB / 0.593 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.177, allocations: 71.33 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.1772, allocations: 287 kB / 0.5933 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.1773, allocations: 33.7 kB / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.1774, allocations: 93.05 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.1774, allocations: 47.52 kB / 0.5935 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.1775, allocations: 33.7 kB / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1776, allocations: 326.8 kB / 0.5938 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.1778, allocations: 92.17 kB / 0.5939 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.1781, allocations: 151.1 kB / 0.5941 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.1784, allocations: 243.1 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1784, allocations: 3.938 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006666/0.1791, allocations: 418.1 kB / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.846e-05/0.1792, allocations: 75.39 kB / 0.5948 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1792, allocations: 3.984 kB / 0.5948 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1792, allocations: 7.938 kB / 0.5948 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1794, allocations: 28.11 kB / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1794, allocations: 4 kB / 0.5948 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.1799, allocations: 68.89 kB / 0.5949 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/0.18, allocations: 59.97 kB / 0.5949 GB, free: 11.16 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 (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.0001741/0.1802, allocations: 168 kB / 0.5951 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.1802, allocations: 23.72 kB / 0.5951 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.1803, allocations: 26.25 kB / 0.5951 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1803, allocations: 7.938 kB / 0.5951 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1803, allocations: 0 / 0.5951 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1803, allocations: 3.984 kB / 0.5951 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007546/0.1811, allocations: 0.5645 MB / 0.5957 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.1811, allocations: 0 / 0.5957 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.1812, allocations: 8 kB / 0.5957 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1812, allocations: 4 kB / 0.5957 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.1812, allocations: 15.91 kB / 0.5957 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1812, allocations: 0 / 0.5957 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1812, allocations: 0 / 0.5957 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.1816, allocations: 321 kB / 0.596 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.1818, allocations: 172.5 kB / 0.5962 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.1819, allocations: 12 kB / 0.5962 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.1821, allocations: 11.98 kB / 0.5962 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.1822, allocations: 19.97 kB / 0.5962 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.1822, allocations: 27.98 kB / 0.5963 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000188/0.1824, allocations: 209.9 kB / 0.5965 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1824, allocations: 0 / 0.5965 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003098/0.1827, allocations: 44 kB / 0.5965 GB, free: 9.441 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.0001337/0.1829, allocations: 127.1 kB / 0.5966 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005363/0.1834, allocations: 338.6 kB / 0.5969 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1834, allocations: 0 / 0.5969 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1836, allocations: 71.91 kB / 0.597 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1839, allocations: 26.84 kB / 0.597 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.1846, allocations: 467.2 kB / 0.5975 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.1849, allocations: 0.7447 MB / 0.5982 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.185, allocations: 45.34 kB / 0.5983 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.1852, allocations: 35.42 kB / 0.5983 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1852, allocations: 0 / 0.5983 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of Templates: time 0.007581/0.1927, allocations: 3.971 MB / 0.6022 GB, free: 3.59 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)