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.001405/0.001405, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001517/0.001517, allocations: 191.8 kB / 16.25 MB, free: 6.645 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9768/0.9768, allocations: 135.6 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 68.23 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1734, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002782/0.1762, allocations: 1.53 MB / 0.586 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009438/0.1772, allocations: 411.4 kB / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.1772, allocations: 4 kB / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.1774, allocations: 7.938 kB / 0.5864 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1775, allocations: 28.22 kB / 0.5864 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.1781, allocations: 218.9 kB / 0.5866 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.1785, allocations: 327.9 kB / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.1786, allocations: 8 kB / 0.587 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.1789, allocations: 226.3 kB / 0.5872 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.1791, allocations: 127.6 kB / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.1792, allocations: 20 kB / 0.5873 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.846e-05/0.1792, allocations: 16 kB / 0.5873 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1794, allocations: 79.78 kB / 0.5874 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.1795, allocations: 131.3 kB / 0.5875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.1799, allocations: 295.3 kB / 0.5878 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1799, allocations: 3.938 kB / 0.5878 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1799, allocations: 0 / 0.5878 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1799, allocations: 0 / 0.5878 GB, free: 0.9219 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.001207/0.1811, allocations: 0.6997 MB / 0.5885 GB, free: 152 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1812, allocations: 8.031 kB / 0.5885 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.049e-05/0.1813, allocations: 35.66 kB / 0.5885 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1816, allocations: 258.3 kB / 0.5888 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.1816, allocations: 12 kB / 0.5888 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.1817, allocations: 16 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.182, allocations: 145.5 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.182, allocations: 7.922 kB / 0.589 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.182, allocations: 4 kB / 0.589 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-06/0.182, allocations: 0 / 0.589 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.1822, allocations: 47.91 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1825, allocations: 317.3 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1828, allocations: 134.7 kB / 0.5894 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1829, allocations: 52.83 kB / 0.5895 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.183, allocations: 8 kB / 0.5895 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000472/0.1834, allocations: 223.9 kB / 0.5897 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.1835, allocations: 0 / 0.5897 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005724/0.184, allocations: 274.9 kB / 0.59 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.1841, allocations: 63.3 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.1844, allocations: 287 kB / 0.5903 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.1845, allocations: 33.7 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.1846, allocations: 101.1 kB / 0.5904 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.1846, allocations: 43.44 kB / 0.5905 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.1848, allocations: 105.7 kB / 0.5906 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.185, allocations: 322.8 kB / 0.5909 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.1852, allocations: 100.2 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.1854, allocations: 151.1 kB / 0.5911 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.1858, allocations: 234.4 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1858, allocations: 7.938 kB / 0.5914 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007117/0.1865, allocations: 421.3 kB / 0.5918 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/0.1866, allocations: 71.39 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1866, allocations: 0 / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1867, allocations: 7.938 kB / 0.5918 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.1868, allocations: 27.91 kB / 0.5919 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1868, allocations: 4 kB / 0.5919 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.1873, allocations: 63.98 kB / 0.5919 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.899e-05/0.1874, allocations: 51.98 kB / 0.592 GB, free: 12.33 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.0001841/0.1876, allocations: 175.9 kB / 0.5921 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.1877, allocations: 23.72 kB / 0.5922 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.1878, allocations: 34.23 kB / 0.5922 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.1878, allocations: 11.94 kB / 0.5922 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1878, allocations: 0 / 0.5922 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1878, allocations: 0 / 0.5922 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000821/0.1886, allocations: 0.5579 MB / 0.5927 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1886, allocations: 0 / 0.5927 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.1887, allocations: 11.98 kB / 0.5928 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1887, allocations: 0 / 0.5928 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.1887, allocations: 11.98 kB / 0.5928 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1887, allocations: 0 / 0.5928 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1887, allocations: 4 kB / 0.5928 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.1892, allocations: 333.1 kB / 0.5931 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.1894, allocations: 160.5 kB / 0.5932 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.1894, allocations: 8 kB / 0.5933 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.1896, allocations: 15.98 kB / 0.5933 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1897, allocations: 11.98 kB / 0.5933 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.1897, allocations: 35.97 kB / 0.5933 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001978/0.1899, allocations: 209.9 kB / 0.5935 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1899, allocations: 0 / 0.5935 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002956/0.1902, allocations: 47.98 kB / 0.5936 GB, free: 10.6 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.000126/0.1904, allocations: 108.8 kB / 0.5937 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005791/0.191, allocations: 358.5 kB / 0.594 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.191, allocations: 0 / 0.594 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1911, allocations: 76.33 kB / 0.5941 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1914, allocations: 32.81 kB / 0.5941 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.1921, allocations: 471.5 kB / 0.5946 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.1925, allocations: 0.7396 MB / 0.5953 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.1927, allocations: 37.42 kB / 0.5953 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1928, allocations: 35.42 kB / 0.5954 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1928, allocations: 0 / 0.5954 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of Templates: time 0.007598/0.2004, allocations: 4.136 MB / 0.5994 GB, free: 4.586 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)