Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 199.6 kB / 16.54 MB, free: 6.672 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9978/0.9978, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.11 kB / 0.5053 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1717, allocations: 80.93 MB / 0.5844 GB, free: 4.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002991/0.1747, allocations: 1.464 MB / 0.5858 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1757, allocations: 424.9 kB / 0.5862 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.1758, allocations: 0 / 0.5862 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.176, allocations: 11.88 kB / 0.5862 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.1761, allocations: 24.22 kB / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.1769, allocations: 245.4 kB / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.1773, allocations: 307.5 kB / 0.5868 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.1773, allocations: 11.98 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.1776, allocations: 191.7 kB / 0.587 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1779, allocations: 104.1 kB / 0.5871 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.178, allocations: 20 kB / 0.5871 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-05/0.1781, allocations: 23.94 kB / 0.5871 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1782, allocations: 75.78 kB / 0.5872 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1783, allocations: 123.4 kB / 0.5873 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.1786, allocations: 287.4 kB / 0.5876 GB, free: 1.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1787, allocations: 0 / 0.5876 GB, free: 1.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1787, allocations: 0 / 0.5876 GB, free: 1.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1787, allocations: 0 / 0.5876 GB, free: 1.227 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.001248/0.1799, allocations: 0.6999 MB / 0.5882 GB, free: 464 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.18, allocations: 8.031 kB / 0.5883 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.1801, allocations: 36.59 kB / 0.5883 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.1804, allocations: 255.7 kB / 0.5885 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.1804, allocations: 16.36 kB / 0.5885 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.1805, allocations: 15.94 kB / 0.5886 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.1808, allocations: 153.5 kB / 0.5887 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1808, allocations: 0 / 0.5887 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.1809, allocations: 8 kB / 0.5887 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1809, allocations: 0 / 0.5887 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.181, allocations: 43.97 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.1814, allocations: 305.4 kB / 0.5891 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.1817, allocations: 142.6 kB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1819, allocations: 60.77 kB / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1819, allocations: 8 kB / 0.5893 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004718/0.1824, allocations: 211.5 kB / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.1824, allocations: 4 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006013/0.183, allocations: 275 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.183, allocations: 59.41 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.1833, allocations: 290.9 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.1834, allocations: 41.69 kB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.1835, allocations: 89.14 kB / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.1835, allocations: 43.45 kB / 0.5902 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.1837, allocations: 109.7 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1838, allocations: 326.8 kB / 0.5906 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.1841, allocations: 96.17 kB / 0.5907 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.1843, allocations: 152.4 kB / 0.5909 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.1847, allocations: 247.1 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1847, allocations: 0 / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000722/0.1854, allocations: 414.1 kB / 0.5915 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/0.1855, allocations: 75.56 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1855, allocations: 4 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.1856, allocations: 4 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.1858, allocations: 31.86 kB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1858, allocations: 7.938 kB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.1863, allocations: 63.78 kB / 0.5917 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/0.1864, allocations: 47.98 kB / 0.5917 GB, free: 12.64 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.0001962/0.1866, allocations: 172 kB / 0.5919 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.1867, allocations: 31.64 kB / 0.5919 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.1868, allocations: 30.27 kB / 0.592 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1868, allocations: 7.984 kB / 0.592 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1868, allocations: 0 / 0.592 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1868, allocations: 0 / 0.592 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009044/0.1877, allocations: 0.5567 MB / 0.5925 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1877, allocations: 4 kB / 0.5925 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.1878, allocations: 11.98 kB / 0.5925 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1878, allocations: 3.938 kB / 0.5925 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.1878, allocations: 15.98 kB / 0.5925 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1878, allocations: 0 / 0.5925 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1878, allocations: 0 / 0.5925 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.1883, allocations: 320.9 kB / 0.5928 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.1885, allocations: 156.6 kB / 0.593 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.1886, allocations: 15.98 kB / 0.593 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.1888, allocations: 19.92 kB / 0.593 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.1889, allocations: 11.98 kB / 0.593 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.1889, allocations: 31.98 kB / 0.5931 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002386/0.1892, allocations: 209.9 kB / 0.5933 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.71e-07/0.1892, allocations: 0 / 0.5933 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000358/0.1896, allocations: 44 kB / 0.5933 GB, free: 10.92 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.0001414/0.1897, allocations: 127.2 kB / 0.5934 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005965/0.1903, allocations: 346.9 kB / 0.5938 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1903, allocations: 0 / 0.5938 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.1905, allocations: 77.31 kB / 0.5938 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1909, allocations: 27.95 kB / 0.5939 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.1916, allocations: 388 kB / 0.5942 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.192, allocations: 0.7407 MB / 0.595 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.1921, allocations: 41.42 kB / 0.595 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.1923, allocations: 35.42 kB / 0.595 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1923, allocations: 0 / 0.595 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of Templates: time 0.00804/0.2003, allocations: 4.089 MB / 0.599 GB, free: 5.031 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)