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.005825/0.005825, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001281/0.001281, allocations: 195 kB / 16.67 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.397/1.397, 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.8503/0.8503, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.83 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1727, allocations: 80.92 MB / 0.6646 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002766/0.1756, allocations: 1.484 MB / 0.6661 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009877/0.1766, allocations: 415.4 kB / 0.6665 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.1766, allocations: 4 kB / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1768, allocations: 7.875 kB / 0.6665 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1769, allocations: 24.22 kB / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.1776, allocations: 238.6 kB / 0.6667 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.178, allocations: 323.5 kB / 0.667 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.178, allocations: 4 kB / 0.667 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.1783, allocations: 191.7 kB / 0.6672 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1785, allocations: 110 kB / 0.6673 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.125e-05/0.1786, allocations: 16 kB / 0.6673 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.1787, allocations: 24 kB / 0.6674 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1788, allocations: 79.72 kB / 0.6674 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.1789, allocations: 123.4 kB / 0.6676 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.1793, allocations: 282.9 kB / 0.6678 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1793, allocations: 0 / 0.6678 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1793, allocations: 0 / 0.6678 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1793, allocations: 0 / 0.6678 GB, free: 2.531 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.001197/0.1805, allocations: 0.7037 MB / 0.6685 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1806, allocations: 13.11 kB / 0.6685 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.613e-05/0.1807, allocations: 36.75 kB / 0.6686 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.181, allocations: 267.8 kB / 0.6688 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.181, allocations: 8.375 kB / 0.6688 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.1811, allocations: 27.86 kB / 0.6688 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.1814, allocations: 145 kB / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1814, allocations: 0 / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.1814, allocations: 4 kB / 0.669 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1814, allocations: 4 kB / 0.669 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.1816, allocations: 51.91 kB / 0.669 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.1819, allocations: 317.4 kB / 0.6693 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.1822, allocations: 134.6 kB / 0.6695 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1824, allocations: 52.84 kB / 0.6695 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1824, allocations: 4 kB / 0.6695 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004541/0.1829, allocations: 217.4 kB / 0.6697 GB, free: 392 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.522e-06/0.1829, allocations: 0 / 0.6697 GB, free: 392 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005984/0.1835, allocations: 273.3 kB / 0.67 GB, free: 112 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.1836, allocations: 67.34 kB / 0.6701 GB, free: 32 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.1839, allocations: 294.9 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.1839, allocations: 33.7 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.184, allocations: 93.12 kB / 0.6705 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.1841, allocations: 47.67 kB / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.1842, allocations: 105.8 kB / 0.6706 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1844, allocations: 326.8 kB / 0.6709 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.1846, allocations: 92.17 kB / 0.671 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.1848, allocations: 156.7 kB / 0.6712 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.1851, allocations: 246.9 kB / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1852, allocations: 0 / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006713/0.1858, allocations: 404.7 kB / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-05/0.1859, allocations: 73.42 kB / 0.6718 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1859, allocations: 4 kB / 0.6719 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1859, allocations: 0 / 0.6719 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1861, allocations: 32.09 kB / 0.6719 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.1862, allocations: 8 kB / 0.6719 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.1866, allocations: 55.91 kB / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.1867, 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.0001783/0.1869, allocations: 171.9 kB / 0.6722 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.187, allocations: 39.73 kB / 0.6722 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.187, allocations: 26.25 kB / 0.6722 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1871, allocations: 4 kB / 0.6722 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1871, allocations: 0 / 0.6722 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1871, allocations: 0 / 0.6722 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/0.1879, allocations: 0.5645 MB / 0.6728 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1879, allocations: 0 / 0.6728 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.1879, allocations: 7.984 kB / 0.6728 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.188, allocations: 11.94 kB / 0.6728 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.188, allocations: 11.98 kB / 0.6728 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.188, allocations: 4 kB / 0.6728 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.188, allocations: 0 / 0.6728 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.1884, allocations: 332.8 kB / 0.6731 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.1886, allocations: 152.9 kB / 0.6733 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.1887, allocations: 11.98 kB / 0.6733 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.1889, allocations: 11.98 kB / 0.6733 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1889, allocations: 11.98 kB / 0.6733 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.189, allocations: 35.98 kB / 0.6733 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001859/0.1892, allocations: 209.9 kB / 0.6735 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1892, allocations: 0 / 0.6735 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003032/0.1895, allocations: 48 kB / 0.6736 GB, free: 12.2 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.0001387/0.1896, allocations: 117.3 kB / 0.6737 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005336/0.1902, allocations: 346.8 kB / 0.674 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1902, allocations: 8.062 kB / 0.674 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.1903, allocations: 74.08 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.0003409/0.1907, allocations: 30.86 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.0006873/0.1914, allocations: 387.5 kB / 0.6745 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1917, allocations: 0.7435 MB / 0.6752 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.1919, allocations: 41.42 kB / 0.6753 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.192, allocations: 31.42 kB / 0.6753 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.192, allocations: 0 / 0.6753 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.007559/0.1995, allocations: 4.088 MB / 0.6793 GB, free: 6.289 MB / 0.5137 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)