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.0009287/0.0009291, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001032/0.001032, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9878/0.9878, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004032, allocations: 8 kB / 0.507 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1771, allocations: 82.31 MB / 0.5874 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001747/0.1789, allocations: 1.172 MB / 0.5885 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.1798, allocations: 411.2 kB / 0.5889 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.1799, allocations: 4 kB / 0.5889 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.18, allocations: 7.922 kB / 0.5889 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1801, allocations: 23.84 kB / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006583/0.1808, allocations: 203.1 kB / 0.5891 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.1811, allocations: 247.5 kB / 0.5894 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.1811, allocations: 4 kB / 0.5894 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.1815, allocations: 223.6 kB / 0.5896 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1817, allocations: 131.7 kB / 0.5897 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.1818, allocations: 8 kB / 0.5897 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.1818, allocations: 12 kB / 0.5897 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1819, allocations: 75.78 kB / 0.5898 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.182, allocations: 73.52 kB / 0.5899 GB, free: 480 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1823, allocations: 195.9 kB / 0.5901 GB, free: 284 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.1823, allocations: 8 kB / 0.5901 GB, free: 276 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1823, allocations: 4 kB / 0.5901 GB, free: 272 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1823, allocations: 0 / 0.5901 GB, free: 272 kB / 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.001107/0.1834, allocations: 0.6102 MB / 0.5907 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1835, allocations: 8.031 kB / 0.5907 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.533e-05/0.1835, allocations: 31.72 kB / 0.5907 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.1839, allocations: 270.3 kB / 0.591 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.1839, allocations: 8 kB / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.184, allocations: 16 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.1842, allocations: 149.5 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1843, allocations: 0 / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1843, allocations: 3.984 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1843, allocations: 4 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1844, allocations: 47.91 kB / 0.5912 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.1848, allocations: 313.3 kB / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.1851, allocations: 130.7 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.1852, allocations: 60.81 kB / 0.5917 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.1852, allocations: 4 kB / 0.5917 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004539/0.1857, allocations: 221.5 kB / 0.5919 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1857, allocations: 0 / 0.5919 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005672/0.1863, allocations: 265.2 kB / 0.5921 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.1863, allocations: 67.31 kB / 0.5922 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.1866, allocations: 290.9 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.1867, allocations: 37.7 kB / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.1868, allocations: 97.12 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.1868, allocations: 39.45 kB / 0.5926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.1869, allocations: 8 kB / 0.5926 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.187, allocations: 330.8 kB / 0.593 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1872, allocations: 92.17 kB / 0.5931 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.1875, allocations: 151 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.1877, allocations: 152.1 kB / 0.5933 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1877, allocations: 0 / 0.5933 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006819/0.1884, allocations: 416.5 kB / 0.5937 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.1885, allocations: 75.38 kB / 0.5938 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1885, allocations: 4 kB / 0.5938 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1885, allocations: 4 kB / 0.5938 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1887, allocations: 23.92 kB / 0.5938 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1887, allocations: 0 / 0.5938 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.1892, allocations: 79.84 kB / 0.5939 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.1893, allocations: 55.97 kB / 0.594 GB, free: 11.97 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.1894, allocations: 172 kB / 0.5941 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.1895, allocations: 27.62 kB / 0.5942 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.1896, allocations: 30.25 kB / 0.5942 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1896, allocations: 7.984 kB / 0.5942 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1896, allocations: 4 kB / 0.5942 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1896, allocations: 0 / 0.5942 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007724/0.1904, allocations: 0.5549 MB / 0.5947 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1904, allocations: 0 / 0.5947 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.1904, allocations: 11.98 kB / 0.5948 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1904, allocations: 0 / 0.5948 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.1905, allocations: 7.984 kB / 0.5948 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1905, allocations: 4 kB / 0.5948 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.1905, allocations: 0 / 0.5948 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.1909, allocations: 332.3 kB / 0.5951 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1911, allocations: 160.6 kB / 0.5952 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.1912, allocations: 15.98 kB / 0.5953 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.1914, allocations: 19.92 kB / 0.5953 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1915, allocations: 11.98 kB / 0.5953 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.1915, allocations: 31.97 kB / 0.5953 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001913/0.1917, allocations: 205.9 kB / 0.5955 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1917, allocations: 0 / 0.5955 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000315/0.192, allocations: 55.98 kB / 0.5956 GB, free: 10.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.1922, allocations: 111.7 kB / 0.5957 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005626/0.1928, allocations: 350.7 kB / 0.596 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1928, allocations: 0 / 0.596 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1929, allocations: 74.77 kB / 0.5961 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1933, allocations: 29.44 kB / 0.5961 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007063/0.194, allocations: 442.9 kB / 0.5965 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.1944, allocations: 0.736 MB / 0.5972 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.1945, allocations: 41.42 kB / 0.5973 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1946, allocations: 35.42 kB / 0.5973 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1946, allocations: 0 / 0.5973 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of Templates: time 0.007333/0.202, allocations: 3.888 MB / 0.6011 GB, free: 4.504 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)