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.001086/0.001086, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001271/0.001271, allocations: 172.7 kB / 15.95 MB, free: 208 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.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9686/0.9686, allocations: 135.3 MB / 426.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 9.156 kB / 0.507 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1827, allocations: 82.31 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001652/0.1844, allocations: 1.18 MB / 0.5885 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000928/0.1853, allocations: 399.2 kB / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.1854, allocations: 0 / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.1855, allocations: 7.922 kB / 0.5889 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.1856, allocations: 19.91 kB / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.1862, allocations: 214.3 kB / 0.5891 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.1865, allocations: 247.5 kB / 0.5894 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.1865, allocations: 7.984 kB / 0.5894 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.1869, allocations: 219.6 kB / 0.5896 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1871, allocations: 131.7 kB / 0.5897 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.1872, allocations: 8 kB / 0.5897 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.509e-05/0.1872, allocations: 12 kB / 0.5897 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1873, allocations: 79.78 kB / 0.5898 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.1874, allocations: 61.58 kB / 0.5899 GB, free: 468 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1876, allocations: 211.8 kB / 0.5901 GB, free: 256 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1876, allocations: 4 kB / 0.5901 GB, free: 252 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1876, allocations: 3.938 kB / 0.5901 GB, free: 248 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1876, allocations: 0 / 0.5901 GB, free: 248 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.001032/0.1887, allocations: 0.6141 MB / 0.5907 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1887, allocations: 12.03 kB / 0.5907 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.631e-05/0.1888, allocations: 27.72 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1891, allocations: 254.5 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.1892, allocations: 12 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.1892, allocations: 19.94 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1895, allocations: 149.5 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1895, allocations: 0 / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1896, allocations: 3.984 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1896, allocations: 0 / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.1897, allocations: 47.97 kB / 0.5912 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.19, allocations: 313.3 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.1903, allocations: 138.7 kB / 0.5916 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.1905, allocations: 56.83 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.1905, allocations: 4 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004966/0.191, allocations: 221.3 kB / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.191, allocations: 0 / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005604/0.1916, allocations: 265.2 kB / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1916, allocations: 59.39 kB / 0.5922 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.1919, allocations: 286.9 kB / 0.5925 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.192, allocations: 45.7 kB / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.192, allocations: 89.12 kB / 0.5926 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.1921, allocations: 51.44 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.1921, allocations: 4 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1923, allocations: 330.8 kB / 0.593 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1925, allocations: 92.17 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.1927, allocations: 151 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.193, allocations: 158 kB / 0.5933 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.193, allocations: 0 / 0.5933 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006556/0.1936, allocations: 407.3 kB / 0.5937 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.1937, allocations: 77.25 kB / 0.5938 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1938, allocations: 3.984 kB / 0.5938 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1938, allocations: 8 kB / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.1939, allocations: 27.92 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.194, allocations: 4 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.1945, allocations: 79.81 kB / 0.5939 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/0.1946, allocations: 51.98 kB / 0.594 GB, free: 11.95 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.0001873/0.1947, allocations: 171.9 kB / 0.5941 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.1948, allocations: 35.56 kB / 0.5942 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.1949, allocations: 30.25 kB / 0.5942 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1949, allocations: 7.984 kB / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1949, allocations: 0 / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1949, allocations: 4 kB / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.1957, allocations: 0.5529 MB / 0.5947 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1957, allocations: 0 / 0.5947 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.1957, allocations: 7.984 kB / 0.5947 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1958, allocations: 4 kB / 0.5948 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.1958, allocations: 15.92 kB / 0.5948 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1958, allocations: 0 / 0.5948 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1958, allocations: 8 kB / 0.5948 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.1962, allocations: 321.3 kB / 0.5951 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.1964, allocations: 156.7 kB / 0.5952 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.1965, allocations: 11.98 kB / 0.5952 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.1967, allocations: 15.98 kB / 0.5953 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.1967, allocations: 11.98 kB / 0.5953 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.1968, allocations: 35.91 kB / 0.5953 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001896/0.197, allocations: 209.9 kB / 0.5955 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.197, allocations: 0 / 0.5955 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003107/0.1973, allocations: 51.98 kB / 0.5956 GB, free: 10.22 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.0001385/0.1975, allocations: 113.2 kB / 0.5957 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000569/0.198, allocations: 346.7 kB / 0.596 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.198, allocations: 384 / 0.596 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1982, allocations: 79.89 kB / 0.5961 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1986, allocations: 20.88 kB / 0.5961 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007721/0.1993, allocations: 444.3 kB / 0.5965 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.1998, allocations: 0.7399 MB / 0.5972 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.1999, allocations: 45.36 kB / 0.5973 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2001, allocations: 31.42 kB / 0.5973 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of SimCode: time 4.4e-07/0.2001, allocations: 0 / 0.5973 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of Templates: time 0.007605/0.2077, allocations: 3.904 MB / 0.6011 GB, free: 4.477 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)