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.001664/0.001664, allocations: 108 kB / 15.61 MB, free: 152 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.001794/0.001794, allocations: 197 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9598/0.9598, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 61.03 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1761, allocations: 80.93 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003137/0.1793, allocations: 1.475 MB / 0.5858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1805, allocations: 424.9 kB / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.1806, allocations: 0 / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.1808, allocations: 3.938 kB / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.1809, allocations: 20.23 kB / 0.5862 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008147/0.1817, allocations: 250.2 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.1821, allocations: 311.5 kB / 0.5868 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.1822, allocations: 12 kB / 0.5868 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.1824, allocations: 179.8 kB / 0.5869 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.1826, allocations: 108 kB / 0.5871 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.1827, allocations: 20 kB / 0.5871 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.897e-05/0.1828, allocations: 20 kB / 0.5871 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1829, allocations: 75.78 kB / 0.5872 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.183, allocations: 123.3 kB / 0.5873 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.1833, allocations: 295.3 kB / 0.5876 GB, free: 1.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1834, allocations: 0 / 0.5876 GB, free: 1.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1834, allocations: 0 / 0.5876 GB, free: 1.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1834, allocations: 0 / 0.5876 GB, free: 1.25 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.001146/0.1845, allocations: 0.696 MB / 0.5882 GB, free: 492 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1846, allocations: 8.031 kB / 0.5882 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.1847, allocations: 32.66 kB / 0.5883 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1849, allocations: 267.6 kB / 0.5885 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.185, allocations: 12.38 kB / 0.5885 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.1851, allocations: 23.92 kB / 0.5886 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.1854, allocations: 149 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1854, allocations: 3.938 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.1854, allocations: 12 kB / 0.5887 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1854, allocations: 0 / 0.5887 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1856, allocations: 43.97 kB / 0.5888 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.1859, allocations: 305.4 kB / 0.5891 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1862, allocations: 126.7 kB / 0.5892 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1863, allocations: 64.77 kB / 0.5892 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1864, allocations: 7.938 kB / 0.5893 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004474/0.1868, allocations: 215.5 kB / 0.5895 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.806e-06/0.1868, allocations: 4 kB / 0.5895 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000572/0.1874, allocations: 273.1 kB / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1875, allocations: 63.39 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.1877, allocations: 290.9 kB / 0.5901 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.1878, allocations: 33.7 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.1879, allocations: 101.1 kB / 0.5902 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.1879, allocations: 39.45 kB / 0.5902 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.1881, allocations: 109.7 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1882, allocations: 326.8 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.1884, allocations: 88.19 kB / 0.5907 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.1887, allocations: 152.4 kB / 0.5909 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.189, allocations: 247.1 kB / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.189, allocations: 0 / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006645/0.1897, allocations: 418.1 kB / 0.5915 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/0.1897, allocations: 81.14 kB / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1897, allocations: 0 / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1898, allocations: 4 kB / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.19, allocations: 27.91 kB / 0.5916 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.19, allocations: 4 kB / 0.5916 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.1905, allocations: 63.73 kB / 0.5917 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.1906, allocations: 51.98 kB / 0.5917 GB, free: 12.66 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.0001648/0.1908, allocations: 180 kB / 0.5919 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1908, allocations: 27.66 kB / 0.5919 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.1909, allocations: 30.25 kB / 0.592 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1909, allocations: 4 kB / 0.592 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1909, allocations: 0 / 0.592 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1909, allocations: 0 / 0.592 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.1916, allocations: 0.5645 MB / 0.5925 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1916, allocations: 3.984 kB / 0.5925 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.1917, allocations: 8 kB / 0.5925 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1917, allocations: 0 / 0.5925 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.1917, allocations: 11.98 kB / 0.5925 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1917, allocations: 0 / 0.5925 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1917, allocations: 7.984 kB / 0.5925 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.1921, allocations: 325 kB / 0.5928 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.1923, allocations: 164.6 kB / 0.593 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.1924, allocations: 8 kB / 0.593 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1926, allocations: 11.98 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.1927, allocations: 15.98 kB / 0.593 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.1927, allocations: 35.91 kB / 0.5931 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001726/0.1929, allocations: 205.9 kB / 0.5933 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1929, allocations: 3.938 kB / 0.5933 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003091/0.1932, allocations: 51.98 kB / 0.5933 GB, free: 10.93 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.0001204/0.1933, allocations: 115.2 kB / 0.5934 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005397/0.1939, allocations: 354.9 kB / 0.5938 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1939, allocations: 0 / 0.5938 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1941, allocations: 73.31 kB / 0.5938 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1944, allocations: 23.17 kB / 0.5939 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.195, allocations: 392 kB / 0.5942 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1953, allocations: 0.7405 MB / 0.595 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.1954, allocations: 37.42 kB / 0.595 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.1956, allocations: 43.41 kB / 0.595 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.1956, allocations: 0 / 0.595 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.007027/0.2026, allocations: 4.095 MB / 0.599 GB, free: 5.043 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (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)