Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00164/0.00164, allocations: 195.7 kB / 16.26 MB, free: 6.629 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.995/0.995, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 59.91 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1698, allocations: 81.03 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002517/0.1724, allocations: 1.519 MB / 0.586 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008509/0.1733, allocations: 427.3 kB / 0.5864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.1733, allocations: 3.938 kB / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.699e-05/0.1734, allocations: 0 / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.1734, allocations: 24.22 kB / 0.5864 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.174, allocations: 217.5 kB / 0.5866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.1743, allocations: 323.9 kB / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.91e-05/0.1743, allocations: 7.984 kB / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.1746, allocations: 230.3 kB / 0.5872 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1748, allocations: 127.6 kB / 0.5873 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.1749, allocations: 16 kB / 0.5873 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.1749, allocations: 24 kB / 0.5873 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.732e-05/0.175, allocations: 79.78 kB / 0.5874 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.1752, allocations: 131.3 kB / 0.5875 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.1755, allocations: 291.3 kB / 0.5878 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1755, allocations: 0 / 0.5878 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1755, allocations: 0 / 0.5878 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1755, allocations: 0 / 0.5878 GB, free: 0.9375 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.001158/0.1766, allocations: 0.7074 MB / 0.5885 GB, free: 160 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1767, allocations: 8.031 kB / 0.5885 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.1768, allocations: 35.72 kB / 0.5885 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.1771, allocations: 254.3 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.1771, allocations: 12 kB / 0.5888 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.1772, allocations: 16 kB / 0.5888 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1775, allocations: 153 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1775, allocations: 3.938 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.1775, allocations: 3.938 kB / 0.589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1776, allocations: 4 kB / 0.589 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1777, allocations: 47.91 kB / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.178, allocations: 321.3 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1783, allocations: 122.7 kB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1785, allocations: 56.83 kB / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1785, allocations: 3.984 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004737/0.179, allocations: 227.9 kB / 0.5897 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.179, allocations: 0 / 0.5897 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005664/0.1796, allocations: 271.3 kB / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.1796, allocations: 67.3 kB / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.1799, allocations: 287 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.18, allocations: 41.7 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.1801, allocations: 93.12 kB / 0.5904 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.1802, allocations: 47.44 kB / 0.5905 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.1803, allocations: 101.7 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1805, allocations: 322.8 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.1807, allocations: 96.16 kB / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.181, allocations: 151.1 kB / 0.5911 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.1813, allocations: 250.3 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1813, allocations: 0 / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006945/0.182, allocations: 413.7 kB / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.792e-05/0.1821, allocations: 71.39 kB / 0.5918 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1821, allocations: 4 kB / 0.5918 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1822, allocations: 3.938 kB / 0.5918 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.1824, allocations: 36.09 kB / 0.5919 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1824, allocations: 4 kB / 0.5919 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.1829, allocations: 59.8 kB / 0.5919 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.183, allocations: 51.98 kB / 0.592 GB, free: 12.34 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 (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.0002069/0.1832, allocations: 172 kB / 0.5921 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.1832, allocations: 27.72 kB / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.1833, allocations: 30.25 kB / 0.5922 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.1833, allocations: 7.922 kB / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1833, allocations: 0 / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1833, allocations: 0 / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008044/0.1841, allocations: 0.5606 MB / 0.5927 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1841, allocations: 0 / 0.5927 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.1842, allocations: 11.98 kB / 0.5927 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1842, allocations: 0 / 0.5927 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.1842, allocations: 15.98 kB / 0.5928 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1842, allocations: 7.938 kB / 0.5928 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1842, allocations: 0 / 0.5928 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.1847, allocations: 328.2 kB / 0.5931 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.1849, allocations: 164.5 kB / 0.5932 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.1849, allocations: 8 kB / 0.5932 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.1852, allocations: 15.98 kB / 0.5933 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1852, allocations: 15.98 kB / 0.5933 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.1853, allocations: 35.97 kB / 0.5933 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001903/0.1855, allocations: 201.9 kB / 0.5935 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1855, allocations: 4 kB / 0.5935 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002991/0.1858, allocations: 47.98 kB / 0.5936 GB, free: 10.61 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.000147/0.1859, allocations: 115.2 kB / 0.5937 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005716/0.1865, allocations: 357 kB / 0.594 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1865, allocations: 0 / 0.594 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1867, allocations: 67.97 kB / 0.5941 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.187, allocations: 24.81 kB / 0.5941 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/0.1877, allocations: 475.6 kB / 0.5945 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1881, allocations: 0.7433 MB / 0.5953 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.1882, allocations: 37.42 kB / 0.5953 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1883, allocations: 35.42 kB / 0.5953 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1883, allocations: 0 / 0.5953 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of Templates: time 0.007583/0.1959, allocations: 4.135 MB / 0.5994 GB, free: 4.605 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)