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.001353/0.001353, 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.001921/0.001921, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9654/0.9654, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 69.03 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1781, allocations: 80.92 MB / 0.5837 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003227/0.1814, allocations: 1.53 MB / 0.5852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1825, allocations: 447.4 kB / 0.5856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.1826, allocations: 0 / 0.5856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.1827, allocations: 11.92 kB / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.1828, allocations: 16.3 kB / 0.5856 GB, free: 3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.1835, allocations: 234.8 kB / 0.5859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.1838, allocations: 283.9 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.1839, allocations: 11.98 kB / 0.5862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.1842, allocations: 206.3 kB / 0.5863 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.1844, allocations: 119.6 kB / 0.5865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.1845, allocations: 12 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.1845, allocations: 12 kB / 0.5865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1847, allocations: 71.78 kB / 0.5866 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.1848, allocations: 123.3 kB / 0.5867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1852, allocations: 283.3 kB / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1852, allocations: 0 / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1852, allocations: 0 / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1852, allocations: 0 / 0.5869 GB, free: 1.68 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.001305/0.1865, allocations: 0.7075 MB / 0.5876 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.1866, allocations: 8.031 kB / 0.5876 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.1867, allocations: 31.72 kB / 0.5877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.1871, allocations: 270.2 kB / 0.5879 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.1871, allocations: 8 kB / 0.5879 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.1872, allocations: 19.98 kB / 0.588 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.1875, allocations: 141.5 kB / 0.5881 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1876, allocations: 3.938 kB / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.1876, allocations: 4 kB / 0.5881 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1876, allocations: 4 kB / 0.5881 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.1877, allocations: 47.97 kB / 0.5881 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.1881, allocations: 305.4 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.1884, allocations: 130.8 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.1886, allocations: 56.83 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1886, allocations: 0 / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.1891, allocations: 227.4 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.997e-06/0.1891, allocations: 3.984 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000599/0.1897, allocations: 267.9 kB / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.1898, allocations: 71.38 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1901, allocations: 290.9 kB / 0.5894 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.1901, allocations: 37.7 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.1902, allocations: 93.12 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.1903, allocations: 43.45 kB / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.1904, allocations: 109.6 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1906, allocations: 326.8 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1908, allocations: 88.12 kB / 0.5901 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.1911, allocations: 159 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.1914, allocations: 242.6 kB / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1914, allocations: 0 / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007467/0.1922, allocations: 422.4 kB / 0.5909 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.609e-05/0.1923, allocations: 75.39 kB / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1923, allocations: 4 kB / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1923, allocations: 4.125 kB / 0.591 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.1925, allocations: 35.91 kB / 0.591 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1925, allocations: 0 / 0.591 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.1931, allocations: 59.8 kB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.1932, allocations: 55.98 kB / 0.5911 GB, free: 13.07 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.0002207/0.1934, allocations: 172 kB / 0.5913 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.1935, allocations: 23.72 kB / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.1935, allocations: 34.25 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1935, allocations: 3.938 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1935, allocations: 0 / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1935, allocations: 0 / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/0.1944, allocations: 0.5645 MB / 0.5919 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1944, allocations: 3.984 kB / 0.5919 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.1945, allocations: 8 kB / 0.5919 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1945, allocations: 4 kB / 0.5919 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.1945, allocations: 11.98 kB / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1945, allocations: 4 kB / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1945, allocations: 0 / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.195, allocations: 321.5 kB / 0.5922 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.1952, allocations: 164.6 kB / 0.5924 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.1952, allocations: 8 kB / 0.5924 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.1954, allocations: 15.98 kB / 0.5924 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.1955, allocations: 19.92 kB / 0.5924 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.1956, allocations: 31.97 kB / 0.5925 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000171/0.1957, allocations: 205.9 kB / 0.5927 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1958, allocations: 0 / 0.5927 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003203/0.1961, allocations: 47.98 kB / 0.5927 GB, free: 11.36 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.000144/0.1962, allocations: 115.2 kB / 0.5928 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.1968, allocations: 346.6 kB / 0.5931 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1968, allocations: 0 / 0.5931 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.197, allocations: 73.47 kB / 0.5932 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1973, allocations: 28.75 kB / 0.5932 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.1981, allocations: 465.7 kB / 0.5937 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1984, allocations: 0.7428 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.1986, allocations: 45.41 kB / 0.5945 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.1988, allocations: 31.42 kB / 0.5945 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1988, allocations: 4 kB / 0.5945 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of Templates: time 0.008398/0.2072, allocations: 3.999 MB / 0.5984 GB, free: 5.488 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)