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.00743/0.007431, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001501/0.001501, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9275/0.9275, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 70.25 kB / 0.5856 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1735, allocations: 80.92 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002923/0.1765, allocations: 1.483 MB / 0.6661 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1776, allocations: 427.3 kB / 0.6665 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.1777, allocations: 0 / 0.6665 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.1779, allocations: 7.875 kB / 0.6665 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.178, allocations: 24.23 kB / 0.6665 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.1788, allocations: 242.5 kB / 0.6667 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.1791, allocations: 315.5 kB / 0.667 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.1792, allocations: 4 kB / 0.667 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.1795, allocations: 191.7 kB / 0.6672 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.1797, allocations: 113 kB / 0.6673 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.1797, allocations: 24 kB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.1798, allocations: 16 kB / 0.6674 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1799, allocations: 83.72 kB / 0.6674 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.1801, allocations: 123.4 kB / 0.6676 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1804, allocations: 275.1 kB / 0.6678 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1804, allocations: 0 / 0.6678 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.457e-06/0.1804, allocations: 3.984 kB / 0.6678 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1804, allocations: 0 / 0.6678 GB, free: 2.512 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.001238/0.1817, allocations: 0.6999 MB / 0.6685 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1817, allocations: 9.109 kB / 0.6685 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.1818, allocations: 32.66 kB / 0.6685 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.1821, allocations: 267.5 kB / 0.6688 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.1821, allocations: 8.375 kB / 0.6688 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.1822, allocations: 31.91 kB / 0.6688 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.1825, allocations: 153.1 kB / 0.669 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1825, allocations: 0 / 0.669 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1826, allocations: 0 / 0.669 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1826, allocations: 4 kB / 0.669 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1827, allocations: 47.97 kB / 0.669 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.1831, allocations: 317.3 kB / 0.6693 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.1834, allocations: 126.6 kB / 0.6695 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.1835, allocations: 60.83 kB / 0.6695 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1836, allocations: 0 / 0.6695 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.1841, allocations: 229 kB / 0.6697 GB, free: 372 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.1841, allocations: 0 / 0.6697 GB, free: 372 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005837/0.1847, allocations: 265.2 kB / 0.67 GB, free: 100 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.1847, allocations: 63.39 kB / 0.67 GB, free: 24 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.185, allocations: 287 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.1851, allocations: 37.7 kB / 0.6704 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.1852, allocations: 101 kB / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.1852, allocations: 35.61 kB / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.1854, allocations: 105.6 kB / 0.6706 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1855, allocations: 322.8 kB / 0.6709 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.1858, allocations: 92.17 kB / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.186, allocations: 152.6 kB / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.1864, allocations: 247.3 kB / 0.6714 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1864, allocations: 0 / 0.6714 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006698/0.187, allocations: 414.3 kB / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.589e-05/0.1871, allocations: 75.39 kB / 0.6718 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1871, allocations: 0 / 0.6718 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1872, allocations: 4.188 kB / 0.6718 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.1873, allocations: 31.91 kB / 0.6719 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1874, allocations: 4 kB / 0.6719 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/0.1879, allocations: 59.8 kB / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.188, allocations: 51.98 kB / 0.672 GB, free: 13.93 MB / 0.5137 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.0001869/0.1882, allocations: 172 kB / 0.6721 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.1882, allocations: 35.55 kB / 0.6722 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.1883, allocations: 26.25 kB / 0.6722 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1883, allocations: 4 kB / 0.6722 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1883, allocations: 0 / 0.6722 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1883, allocations: 0 / 0.6722 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000775/0.1891, allocations: 0.5684 MB / 0.6728 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1891, allocations: 4 kB / 0.6728 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.1891, allocations: 11.98 kB / 0.6728 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1891, allocations: 0 / 0.6728 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.1892, allocations: 23.92 kB / 0.6728 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1892, allocations: 0 / 0.6728 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1892, allocations: 0 / 0.6728 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.1896, allocations: 329.2 kB / 0.6731 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.1898, allocations: 152.7 kB / 0.6733 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.1899, allocations: 11.98 kB / 0.6733 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.1901, allocations: 11.98 kB / 0.6733 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.1902, allocations: 19.98 kB / 0.6733 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.1902, allocations: 31.92 kB / 0.6733 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001968/0.1904, allocations: 209.9 kB / 0.6735 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1904, allocations: 0 / 0.6735 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003412/0.1908, allocations: 48 kB / 0.6736 GB, free: 12.19 MB / 0.5137 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.0001412/0.1909, allocations: 113.3 kB / 0.6737 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005464/0.1915, allocations: 354.7 kB / 0.674 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1915, allocations: 0 / 0.674 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.1916, allocations: 71.91 kB / 0.6741 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.192, allocations: 27.67 kB / 0.6741 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.1926, allocations: 371.8 kB / 0.6745 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.193, allocations: 0.7474 MB / 0.6752 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.1931, allocations: 37.42 kB / 0.6752 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1932, allocations: 35.42 kB / 0.6753 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1932, allocations: 0 / 0.6753 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.007399/0.2006, allocations: 4.077 MB / 0.6793 GB, free: 6.309 MB / 0.5137 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)