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.001197/0.001197, allocations: 107.4 kB / 15.34 MB, free: 0.4961 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.001226/0.001226, allocations: 190.2 kB / 16.25 MB, free: 6.637 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7592/0.7592, allocations: 132.2 MB / 422.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 57.19 kB / 0.5013 GB, free: 9.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1869, allocations: 80.2 MB / 0.5796 GB, free: 9.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002712/0.1896, allocations: 1.538 MB / 0.5811 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.1907, allocations: 417.4 kB / 0.5815 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.1907, allocations: 0 / 0.5815 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.1909, allocations: 15.92 kB / 0.5815 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.191, allocations: 20.28 kB / 0.5815 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.1918, allocations: 222.5 kB / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000368/0.1921, allocations: 319.9 kB / 0.582 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.1922, allocations: 11.98 kB / 0.5821 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.1926, allocations: 230.3 kB / 0.5823 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.1928, allocations: 127.6 kB / 0.5824 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.1929, allocations: 23.94 kB / 0.5824 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.851e-05/0.1929, allocations: 16 kB / 0.5824 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1931, allocations: 79.78 kB / 0.5825 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.1932, allocations: 127.4 kB / 0.5826 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.1937, allocations: 299.3 kB / 0.5829 GB, free: 5.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1937, allocations: 0 / 0.5829 GB, free: 5.672 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1937, allocations: 0 / 0.5829 GB, free: 5.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.1937, allocations: 4 kB / 0.5829 GB, free: 5.668 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.001535/0.1953, allocations: 0.692 MB / 0.5836 GB, free: 4.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1953, allocations: 8.031 kB / 0.5836 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.1954, allocations: 39.61 kB / 0.5836 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.1958, allocations: 250.4 kB / 0.5839 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.1958, allocations: 15.98 kB / 0.5839 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.1959, allocations: 12 kB / 0.5839 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.1962, allocations: 153.5 kB / 0.5841 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1963, allocations: 7.875 kB / 0.5841 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.1963, allocations: 7.984 kB / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1963, allocations: 0 / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1964, allocations: 39.98 kB / 0.5841 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.1968, allocations: 313.4 kB / 0.5844 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.1971, allocations: 134.6 kB / 0.5845 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.1973, allocations: 60.83 kB / 0.5846 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1973, allocations: 4 kB / 0.5846 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005061/0.1979, allocations: 223.5 kB / 0.5848 GB, free: 3.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.923e-06/0.1979, allocations: 0 / 0.5848 GB, free: 3.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006257/0.1985, allocations: 271.5 kB / 0.5851 GB, free: 3.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1986, allocations: 59.41 kB / 0.5851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.1989, allocations: 294.9 kB / 0.5854 GB, free: 2.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.1991, allocations: 37.7 kB / 0.5854 GB, free: 2.867 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.1991, allocations: 89.14 kB / 0.5855 GB, free: 2.777 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.1992, allocations: 47.44 kB / 0.5856 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.1994, allocations: 109.7 kB / 0.5857 GB, free: 2.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1996, allocations: 322.8 kB / 0.586 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.1998, allocations: 96.17 kB / 0.5861 GB, free: 2.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.2, allocations: 143.3 kB / 0.5862 GB, free: 2.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.2003, allocations: 250.7 kB / 0.5865 GB, free: 1.758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2004, allocations: 0 / 0.5865 GB, free: 1.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007542/0.2011, allocations: 422.5 kB / 0.5869 GB, free: 1.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/0.2012, allocations: 67.39 kB / 0.5869 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.2012, allocations: 4 kB / 0.5869 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2012, allocations: 7.938 kB / 0.5869 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.2014, allocations: 31.91 kB / 0.587 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.2014, allocations: 8 kB / 0.587 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.202, allocations: 63.92 kB / 0.587 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.2021, allocations: 47.98 kB / 0.5871 GB, free: 1.09 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.0002378/0.2023, allocations: 168.6 kB / 0.5872 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.2024, allocations: 31.7 kB / 0.5873 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.2024, allocations: 30.25 kB / 0.5873 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2024, allocations: 3.938 kB / 0.5873 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2025, allocations: 4 kB / 0.5873 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2025, allocations: 0 / 0.5873 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.2035, allocations: 0.5606 MB / 0.5879 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2035, allocations: 0 / 0.5879 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.2036, allocations: 11.98 kB / 0.5879 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2036, allocations: 0 / 0.5879 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.2036, allocations: 19.92 kB / 0.5879 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.2036, allocations: 0 / 0.5879 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2036, allocations: 3.938 kB / 0.5879 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.2041, allocations: 324.9 kB / 0.5882 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.2043, allocations: 160.5 kB / 0.5884 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.2044, allocations: 11.98 kB / 0.5884 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.2046, allocations: 15.98 kB / 0.5884 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.2047, allocations: 11.98 kB / 0.5884 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/0.2047, allocations: 31.98 kB / 0.5884 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001773/0.2049, allocations: 209.9 kB / 0.5886 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2049, allocations: 0 / 0.5886 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003505/0.2053, allocations: 44 kB / 0.5887 GB, free: 15.36 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.000145/0.2054, allocations: 123.2 kB / 0.5888 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007786/0.2062, allocations: 346.9 kB / 0.5891 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2062, allocations: 0 / 0.5891 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.2064, allocations: 78.08 kB / 0.5892 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.2067, allocations: 27.44 kB / 0.5892 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008185/0.2075, allocations: 468 kB / 0.5897 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.2079, allocations: 0.7488 MB / 0.5904 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.208, allocations: 33.42 kB / 0.5904 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.2082, allocations: 35.42 kB / 0.5905 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2082, allocations: 4 kB / 0.5905 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.008327/0.2165, allocations: 4.14 MB / 0.5945 GB, free: 9.355 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)