Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00128/0.00128, 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.001101/0.001101, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7426/0.7426, allocations: 132.2 MB / 422.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.27 kB / 0.5011 GB, free: 9.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1688, allocations: 80.2 MB / 0.5794 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002897/0.1718, allocations: 1.537 MB / 0.5809 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1729, allocations: 451.4 kB / 0.5813 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.173, allocations: 0 / 0.5813 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.1731, allocations: 3.938 kB / 0.5814 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.1732, allocations: 20.28 kB / 0.5814 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.1739, allocations: 221.8 kB / 0.5816 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1742, allocations: 287.9 kB / 0.5819 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.1742, allocations: 7.984 kB / 0.5819 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.1745, allocations: 218.3 kB / 0.5821 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1747, allocations: 127.6 kB / 0.5822 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.276e-05/0.1748, allocations: 8 kB / 0.5822 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.1749, allocations: 12 kB / 0.5822 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.175, allocations: 67.78 kB / 0.5823 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1752, allocations: 119.4 kB / 0.5824 GB, free: 6.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.1756, allocations: 279.3 kB / 0.5827 GB, free: 5.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1756, allocations: 0 / 0.5827 GB, free: 5.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1756, allocations: 4 kB / 0.5827 GB, free: 5.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1756, allocations: 0 / 0.5827 GB, free: 5.852 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.001524/0.1771, allocations: 0.7075 MB / 0.5834 GB, free: 5.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1772, allocations: 8.031 kB / 0.5834 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.1773, allocations: 27.72 kB / 0.5834 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1777, allocations: 262.3 kB / 0.5836 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.1777, allocations: 15.94 kB / 0.5837 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.1778, allocations: 16 kB / 0.5837 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.1781, allocations: 149.5 kB / 0.5838 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1782, allocations: 7.938 kB / 0.5838 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.1782, allocations: 3.984 kB / 0.5838 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1782, allocations: 0 / 0.5838 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.1783, allocations: 47.97 kB / 0.5839 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.1787, allocations: 317.3 kB / 0.5842 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.1791, allocations: 134.7 kB / 0.5843 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.1792, allocations: 63.7 kB / 0.5844 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.1793, allocations: 4 kB / 0.5844 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005006/0.1798, allocations: 223.5 kB / 0.5846 GB, free: 3.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/0.1798, allocations: 0 / 0.5846 GB, free: 3.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006057/0.1804, allocations: 267.2 kB / 0.5848 GB, free: 3.434 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1804, allocations: 63.3 kB / 0.5849 GB, free: 3.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.1808, allocations: 287 kB / 0.5852 GB, free: 3.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.1808, allocations: 37.7 kB / 0.5852 GB, free: 3.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.1809, allocations: 93.12 kB / 0.5853 GB, free: 2.941 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.181, allocations: 47.44 kB / 0.5853 GB, free: 2.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.1811, allocations: 109.7 kB / 0.5854 GB, free: 2.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1812, allocations: 318.8 kB / 0.5857 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1815, allocations: 96.17 kB / 0.5858 GB, free: 2.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.1817, allocations: 151.3 kB / 0.586 GB, free: 2.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.1821, allocations: 239.5 kB / 0.5862 GB, free: 1.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1821, allocations: 0 / 0.5862 GB, free: 1.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007248/0.1828, allocations: 430.5 kB / 0.5866 GB, free: 1.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.048e-05/0.1829, allocations: 71.39 kB / 0.5867 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1829, allocations: 0 / 0.5867 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.183, allocations: 7.938 kB / 0.5867 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.1832, allocations: 27.97 kB / 0.5867 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1832, allocations: 7.938 kB / 0.5867 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.1837, allocations: 59.8 kB / 0.5868 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-05/0.1838, allocations: 60 kB / 0.5868 GB, free: 1.25 MB / 494.1 MB 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.0001833/0.184, allocations: 168 kB / 0.587 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.1841, allocations: 23.72 kB / 0.587 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.1841, allocations: 34.25 kB / 0.5871 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1841, allocations: 3.938 kB / 0.5871 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1842, allocations: 0 / 0.5871 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1842, allocations: 0 / 0.5871 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008134/0.185, allocations: 0.5631 MB / 0.5876 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.185, allocations: 3.938 kB / 0.5876 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.185, allocations: 11.92 kB / 0.5876 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1851, allocations: 4 kB / 0.5876 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.1851, allocations: 11.98 kB / 0.5876 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1851, allocations: 0 / 0.5876 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1851, allocations: 4 kB / 0.5876 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.1855, allocations: 323 kB / 0.588 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.1857, allocations: 160.6 kB / 0.5881 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.1858, allocations: 8 kB / 0.5881 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.186, allocations: 19.92 kB / 0.5881 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.1861, allocations: 15.98 kB / 0.5881 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.1861, allocations: 27.97 kB / 0.5882 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001793/0.1863, allocations: 209.9 kB / 0.5884 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.51e-07/0.1863, allocations: 0 / 0.5884 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003279/0.1866, allocations: 55.98 kB / 0.5884 GB, free: 15.52 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.000123/0.1868, allocations: 107.2 kB / 0.5885 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.1873, allocations: 344.6 kB / 0.5889 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1873, allocations: 0 / 0.5889 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.1875, allocations: 71.95 kB / 0.5889 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1878, allocations: 35.7 kB / 0.589 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.1885, allocations: 465.7 kB / 0.5894 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.1889, allocations: 0.7438 MB / 0.5901 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.189, allocations: 33.42 kB / 0.5902 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.1892, allocations: 43.42 kB / 0.5902 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.1892, allocations: 0 / 0.5902 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.007099/0.1963, allocations: 4.003 MB / 0.5941 GB, free: 9.66 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)