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.001162/0.001162, 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.001699/0.001698, allocations: 191.6 kB / 16.25 MB, free: 6.633 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.053/1.053, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 68.27 kB / 0.5049 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1725, allocations: 80.92 MB / 0.5839 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002839/0.1754, allocations: 1.532 MB / 0.5854 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.1764, allocations: 415.3 kB / 0.5858 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.1765, allocations: 4 kB / 0.5858 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1767, allocations: 11.92 kB / 0.5858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1768, allocations: 20.28 kB / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008553/0.1777, allocations: 215.9 kB / 0.586 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.1781, allocations: 331.9 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.1782, allocations: 8 kB / 0.5863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/0.1786, allocations: 226.3 kB / 0.5866 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.1789, allocations: 131.5 kB / 0.5867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.248e-05/0.179, allocations: 20 kB / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.145e-05/0.179, allocations: 16 kB / 0.5867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1792, allocations: 75.78 kB / 0.5868 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.1793, allocations: 131.3 kB / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.1797, allocations: 299.3 kB / 0.5872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1797, allocations: 0 / 0.5872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1797, allocations: 0 / 0.5872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1797, allocations: 0 / 0.5872 GB, free: 1.52 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.00123/0.1809, allocations: 0.6958 MB / 0.5879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.181, allocations: 12.02 kB / 0.5879 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1811, allocations: 31.72 kB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1814, allocations: 254.4 kB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.1814, allocations: 15.98 kB / 0.5882 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.1815, allocations: 16 kB / 0.5882 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.1818, allocations: 149.5 kB / 0.5883 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1818, allocations: 3.938 kB / 0.5883 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.1819, allocations: 7.984 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1819, allocations: 3.984 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.182, allocations: 43.97 kB / 0.5884 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.1825, allocations: 313.4 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.1828, allocations: 130.7 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.1829, allocations: 57.2 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.183, allocations: 4 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005065/0.1835, allocations: 227.5 kB / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.335e-06/0.1835, allocations: 0 / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006277/0.1841, allocations: 271 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1842, allocations: 63.39 kB / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.1845, allocations: 290.9 kB / 0.5897 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.1845, allocations: 33.7 kB / 0.5897 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.1846, allocations: 97.14 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.1847, allocations: 47.42 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.1848, allocations: 105.7 kB / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.185, allocations: 322.8 kB / 0.5903 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.1852, allocations: 92.17 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.1855, allocations: 163 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.1858, allocations: 234.4 kB / 0.5907 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1858, allocations: 3.938 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007188/0.1866, allocations: 421.7 kB / 0.5911 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.1866, allocations: 75.39 kB / 0.5912 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1867, allocations: 0 / 0.5912 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1867, allocations: 7.938 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1869, allocations: 27.91 kB / 0.5912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1869, allocations: 4 kB / 0.5912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.1874, allocations: 71.86 kB / 0.5913 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/0.1875, allocations: 51.98 kB / 0.5914 GB, free: 12.92 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.0001915/0.1877, allocations: 164 kB / 0.5915 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.1878, allocations: 23.72 kB / 0.5915 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.1878, allocations: 34.25 kB / 0.5916 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1878, allocations: 11.94 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1879, allocations: 0 / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1879, allocations: 3.938 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008031/0.1887, allocations: 0.5577 MB / 0.5921 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1887, allocations: 0 / 0.5921 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.1887, allocations: 15.92 kB / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1888, allocations: 0 / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.1888, allocations: 11.98 kB / 0.5922 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1888, allocations: 0 / 0.5922 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1888, allocations: 0 / 0.5922 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.1892, allocations: 329.5 kB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.1894, allocations: 164.5 kB / 0.5926 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/0.1895, allocations: 11.98 kB / 0.5926 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.1897, allocations: 11.98 kB / 0.5927 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.1898, allocations: 15.98 kB / 0.5927 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.1899, allocations: 27.98 kB / 0.5927 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001973/0.1901, allocations: 213.9 kB / 0.5929 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1901, allocations: 0 / 0.5929 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003377/0.1904, allocations: 48 kB / 0.5929 GB, free: 11.2 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.0001329/0.1906, allocations: 115.2 kB / 0.5931 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005855/0.1911, allocations: 350.6 kB / 0.5934 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1912, allocations: 0 / 0.5934 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1913, allocations: 76.27 kB / 0.5935 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.1917, allocations: 35.11 kB / 0.5935 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.1924, allocations: 474.1 kB / 0.5939 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1927, allocations: 0.7407 MB / 0.5947 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.1929, allocations: 37.42 kB / 0.5947 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.193, allocations: 35.42 kB / 0.5947 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.193, allocations: 0 / 0.5947 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of Templates: time 0.007896/0.2009, allocations: 4.14 MB / 0.5988 GB, free: 5.184 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)