Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001145/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00137/0.00137, allocations: 189.8 kB / 16.14 MB, free: 6.688 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7635/0.7635, allocations: 132.2 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.78 kB / 0.5011 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.187, allocations: 80.2 MB / 0.5794 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002945/0.19, allocations: 1.53 MB / 0.5809 GB, free: 7.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1911, allocations: 451.3 kB / 0.5813 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.1912, allocations: 4 kB / 0.5814 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1913, allocations: 3.938 kB / 0.5814 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.1915, allocations: 20.3 kB / 0.5814 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.1921, allocations: 226.1 kB / 0.5816 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.1924, allocations: 283.9 kB / 0.5819 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.1925, allocations: 7.984 kB / 0.5819 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.1928, allocations: 214.3 kB / 0.5821 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.193, allocations: 123.6 kB / 0.5822 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.1931, allocations: 8 kB / 0.5822 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.1931, allocations: 8 kB / 0.5822 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1933, allocations: 79.78 kB / 0.5823 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.1934, allocations: 119.4 kB / 0.5824 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.1938, allocations: 287.2 kB / 0.5827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1938, allocations: 0 / 0.5827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1938, allocations: 0 / 0.5827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1938, allocations: 0 / 0.5827 GB, free: 5.879 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.001195/0.195, allocations: 0.6997 MB / 0.5834 GB, free: 5.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.195, allocations: 12.03 kB / 0.5834 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.713e-05/0.1951, allocations: 35.7 kB / 0.5834 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.1954, allocations: 254.3 kB / 0.5836 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.1955, allocations: 19.92 kB / 0.5837 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.1956, allocations: 23.98 kB / 0.5837 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.1959, allocations: 141.5 kB / 0.5838 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1959, allocations: 3.938 kB / 0.5838 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.1959, allocations: 11.92 kB / 0.5838 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1959, allocations: 0 / 0.5838 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1961, allocations: 43.98 kB / 0.5839 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1965, allocations: 309.3 kB / 0.5842 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.1968, allocations: 130.8 kB / 0.5843 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.1969, allocations: 67.39 kB / 0.5844 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.197, allocations: 0 / 0.5844 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/0.1975, allocations: 221.6 kB / 0.5846 GB, free: 3.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.1975, allocations: 0 / 0.5846 GB, free: 3.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006253/0.1981, allocations: 269.1 kB / 0.5848 GB, free: 3.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1982, allocations: 63.31 kB / 0.5849 GB, free: 3.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.1984, allocations: 295 kB / 0.5852 GB, free: 3.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.1985, allocations: 37.7 kB / 0.5852 GB, free: 3.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.1986, allocations: 93.12 kB / 0.5853 GB, free: 2.973 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.1986, allocations: 43.45 kB / 0.5853 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.1988, allocations: 101.7 kB / 0.5854 GB, free: 2.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1989, allocations: 326.8 kB / 0.5857 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.1991, allocations: 92.17 kB / 0.5858 GB, free: 2.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.1994, allocations: 151.3 kB / 0.586 GB, free: 2.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.1998, allocations: 250.7 kB / 0.5862 GB, free: 1.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1998, allocations: 0 / 0.5862 GB, free: 1.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000748/0.2006, allocations: 414.5 kB / 0.5866 GB, free: 1.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.2006, allocations: 81.72 kB / 0.5867 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2007, allocations: 3.938 kB / 0.5867 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.2007, allocations: 7.938 kB / 0.5867 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.2009, allocations: 27.91 kB / 0.5867 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.2009, allocations: 4.188 kB / 0.5867 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.2015, allocations: 63.8 kB / 0.5868 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.2016, allocations: 51.98 kB / 0.5868 GB, free: 1.289 MB / 494.1 MB 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.0001959/0.2018, allocations: 168.7 kB / 0.587 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.2018, allocations: 27.7 kB / 0.587 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/0.2019, allocations: 30.25 kB / 0.5871 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.2019, allocations: 7.938 kB / 0.5871 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2019, allocations: 0 / 0.5871 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2019, allocations: 0 / 0.5871 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008379/0.2028, allocations: 0.5684 MB / 0.5876 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2028, allocations: 3.938 kB / 0.5876 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.2028, allocations: 7.984 kB / 0.5876 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2028, allocations: 0 / 0.5876 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.2029, allocations: 15.98 kB / 0.5876 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2029, allocations: 4 kB / 0.5876 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2029, allocations: 0 / 0.5876 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.2033, allocations: 323 kB / 0.588 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.2036, allocations: 164.6 kB / 0.5881 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.2036, allocations: 11.98 kB / 0.5881 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.2039, allocations: 7.984 kB / 0.5881 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.2039, allocations: 11.98 kB / 0.5881 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.204, allocations: 35.98 kB / 0.5882 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001955/0.2042, allocations: 209.9 kB / 0.5884 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2042, allocations: 0 / 0.5884 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003229/0.2045, allocations: 48 kB / 0.5884 GB, free: 15.55 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.0001394/0.2047, allocations: 115.2 kB / 0.5885 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000577/0.2053, allocations: 341.1 kB / 0.5889 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2053, allocations: 4.062 kB / 0.5889 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.2054, allocations: 67.91 kB / 0.5889 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.2058, allocations: 32.8 kB / 0.589 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.2067, allocations: 469.4 kB / 0.5894 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.2072, allocations: 0.7421 MB / 0.5901 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.2074, allocations: 37.42 kB / 0.5902 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2076, allocations: 31.42 kB / 0.5902 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.2076, allocations: 4 kB / 0.5902 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.007924/0.2155, allocations: 4.008 MB / 0.5941 GB, free: 9.695 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)