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.001017/0.001017, 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.001192/0.001193, allocations: 195.7 kB / 16.26 MB, free: 6.625 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.509/1.509, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9572/0.9572, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 61.41 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1641, allocations: 80.92 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002469/0.1666, allocations: 1.538 MB / 0.5854 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.1676, allocations: 415.4 kB / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.1676, allocations: 0 / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.134e-05/0.1677, allocations: 3.938 kB / 0.5858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.054e-05/0.1678, allocations: 24.28 kB / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.1684, allocations: 224.9 kB / 0.586 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.1688, allocations: 319.9 kB / 0.5863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.1689, allocations: 8 kB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.1693, allocations: 238.3 kB / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1695, allocations: 123.6 kB / 0.5867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.1695, allocations: 16 kB / 0.5867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.858e-05/0.1696, allocations: 20 kB / 0.5867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1697, allocations: 83.77 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.1699, allocations: 123.4 kB / 0.5869 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.1702, allocations: 295.3 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1702, allocations: 0 / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1702, allocations: 4 kB / 0.5872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1702, allocations: 0 / 0.5872 GB, free: 1.492 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.001389/0.1716, allocations: 0.6997 MB / 0.5879 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1717, allocations: 8.031 kB / 0.5879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1718, allocations: 31.72 kB / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.1721, allocations: 258.3 kB / 0.5882 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.1722, allocations: 12 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.1722, allocations: 19.98 kB / 0.5882 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.1726, allocations: 145.5 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1726, allocations: 3.938 kB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.1726, allocations: 4 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1726, allocations: 7.938 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1728, allocations: 47.91 kB / 0.5884 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1732, allocations: 309.4 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.1735, allocations: 130.7 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1736, allocations: 57.2 kB / 0.5889 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.1737, allocations: 3.984 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005221/0.1742, allocations: 233.3 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.1742, allocations: 0 / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006147/0.1748, allocations: 267.5 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.1749, allocations: 63.39 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.1752, allocations: 290.9 kB / 0.5897 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.1752, allocations: 37.7 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.1753, allocations: 93.12 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.1754, allocations: 51.44 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.1756, allocations: 105.7 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1757, allocations: 326.8 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.1759, allocations: 88.17 kB / 0.5903 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.1762, allocations: 155 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.1765, allocations: 246.2 kB / 0.5907 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1765, allocations: 0 / 0.5907 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000692/0.1772, allocations: 421.4 kB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/0.1773, allocations: 75.39 kB / 0.5912 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1773, allocations: 4 kB / 0.5912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1774, allocations: 3.938 kB / 0.5912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.1776, allocations: 31.91 kB / 0.5912 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1776, allocations: 0 / 0.5912 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/0.1781, allocations: 63.98 kB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.1782, allocations: 55.98 kB / 0.5914 GB, free: 12.89 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.0001992/0.1784, allocations: 168 kB / 0.5915 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.1784, allocations: 23.72 kB / 0.5915 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.1785, allocations: 30.25 kB / 0.5916 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1785, allocations: 3.938 kB / 0.5916 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1785, allocations: 0 / 0.5916 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1785, allocations: 4 kB / 0.5916 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007816/0.1793, allocations: 0.5607 MB / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1793, allocations: 3.938 kB / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.1794, allocations: 8 kB / 0.5921 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1794, allocations: 0 / 0.5921 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.1794, allocations: 11.98 kB / 0.5921 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.1794, allocations: 7.984 kB / 0.5922 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1794, allocations: 3.938 kB / 0.5922 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.1798, allocations: 324.7 kB / 0.5925 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.18, allocations: 164.6 kB / 0.5926 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.1801, allocations: 8 kB / 0.5926 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.1803, allocations: 11.98 kB / 0.5926 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.1804, allocations: 15.98 kB / 0.5927 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.1804, allocations: 31.97 kB / 0.5927 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001798/0.1806, allocations: 205.9 kB / 0.5929 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1806, allocations: 4 kB / 0.5929 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003034/0.1809, allocations: 51.98 kB / 0.5929 GB, free: 11.17 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.0001491/0.1811, allocations: 120.7 kB / 0.5931 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000568/0.1816, allocations: 346.6 kB / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1816, allocations: 0 / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1818, allocations: 78.08 kB / 0.5935 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1821, allocations: 25.19 kB / 0.5935 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/0.1828, allocations: 471.6 kB / 0.5939 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1831, allocations: 0.7435 MB / 0.5947 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000136/0.1833, allocations: 37.42 kB / 0.5947 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1834, allocations: 39.41 kB / 0.5947 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1834, allocations: 0 / 0.5947 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.007097/0.1905, allocations: 4.129 MB / 0.5988 GB, free: 5.168 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)