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.001368/0.001368, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 196.1 kB / 16.53 MB, free: 6.672 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.574/1.574, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9622/0.9622, allocations: 135.2 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 63 kB / 0.5054 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1604, allocations: 80.93 MB / 0.5844 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002997/0.1634, allocations: 1.468 MB / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1645, allocations: 421 kB / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.1646, allocations: 4 kB / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.1647, allocations: 7.922 kB / 0.5862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.1648, allocations: 32.16 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.1656, allocations: 234.5 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.1659, allocations: 315.5 kB / 0.5868 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.166, allocations: 8 kB / 0.5868 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.1663, allocations: 187.7 kB / 0.587 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.1665, allocations: 100.1 kB / 0.5871 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.1666, allocations: 23.94 kB / 0.5871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.1667, allocations: 20 kB / 0.5871 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1668, allocations: 79.77 kB / 0.5872 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.167, allocations: 123.4 kB / 0.5873 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.1673, allocations: 287.3 kB / 0.5876 GB, free: 1.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1673, allocations: 4 kB / 0.5876 GB, free: 1.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1673, allocations: 0 / 0.5876 GB, free: 1.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1674, allocations: 0 / 0.5876 GB, free: 1.195 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.001238/0.1686, allocations: 0.6921 MB / 0.5883 GB, free: 440 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1686, allocations: 11.97 kB / 0.5883 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.947e-05/0.1688, allocations: 40.66 kB / 0.5883 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1691, allocations: 255.7 kB / 0.5886 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.1691, allocations: 16.36 kB / 0.5886 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/0.1692, allocations: 19.94 kB / 0.5886 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.1695, allocations: 149.5 kB / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1695, allocations: 0 / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.1696, allocations: 7.984 kB / 0.5888 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1696, allocations: 0 / 0.5888 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.1697, allocations: 47.97 kB / 0.5888 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.1701, allocations: 301.4 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.1705, allocations: 142.5 kB / 0.5892 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1706, allocations: 60.45 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1706, allocations: 4 kB / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005131/0.1712, allocations: 219.5 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.1712, allocations: 4 kB / 0.5895 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006277/0.1718, allocations: 275.3 kB / 0.5898 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.1719, allocations: 63.33 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.1722, allocations: 290.9 kB / 0.5901 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.1722, allocations: 41.7 kB / 0.5901 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.1723, allocations: 89.14 kB / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.1724, allocations: 43.44 kB / 0.5903 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.1726, allocations: 109.7 kB / 0.5904 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1727, allocations: 322.8 kB / 0.5907 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.173, allocations: 100.2 kB / 0.5908 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1732, allocations: 151.1 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.1736, allocations: 243.1 kB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1736, allocations: 4 kB / 0.5912 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007096/0.1743, allocations: 418.1 kB / 0.5916 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.1744, allocations: 71.39 kB / 0.5916 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1744, allocations: 0 / 0.5916 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.1744, allocations: 7.938 kB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.1747, allocations: 31.91 kB / 0.5917 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1747, allocations: 4 kB / 0.5917 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.1752, allocations: 63.98 kB / 0.5917 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/0.1753, allocations: 47.98 kB / 0.5918 GB, free: 12.61 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.0002058/0.1755, allocations: 173.3 kB / 0.5919 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.1756, allocations: 27.66 kB / 0.592 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.105e-05/0.1757, allocations: 30.25 kB / 0.592 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1757, allocations: 8 kB / 0.592 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1757, allocations: 0 / 0.592 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1757, allocations: 0 / 0.592 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.1765, allocations: 0.5567 MB / 0.5925 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1766, allocations: 0 / 0.5925 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.1766, allocations: 11.98 kB / 0.5926 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1766, allocations: 0 / 0.5926 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.1767, allocations: 15.98 kB / 0.5926 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.1767, allocations: 4 kB / 0.5926 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1767, allocations: 7.938 kB / 0.5926 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.1771, allocations: 324.9 kB / 0.5929 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.1773, allocations: 156.6 kB / 0.593 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.1774, allocations: 11.94 kB / 0.593 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.1776, allocations: 15.98 kB / 0.5931 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.1777, allocations: 11.98 kB / 0.5931 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.1777, allocations: 31.98 kB / 0.5931 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001863/0.1779, allocations: 213.9 kB / 0.5933 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1779, allocations: 0 / 0.5933 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003486/0.1783, allocations: 48 kB / 0.5934 GB, free: 10.88 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.000158/0.1785, allocations: 115.1 kB / 0.5935 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000613/0.1791, allocations: 352.1 kB / 0.5938 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-05/0.1791, allocations: 384 / 0.5938 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1793, allocations: 83.89 kB / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.1797, allocations: 20.88 kB / 0.5939 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.1804, allocations: 391.6 kB / 0.5943 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1807, allocations: 0.7407 MB / 0.595 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.1809, allocations: 45.41 kB / 0.595 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.181, allocations: 31.42 kB / 0.5951 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.181, allocations: 0 / 0.5951 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of Templates: time 0.007834/0.1889, allocations: 4.079 MB / 0.5991 GB, free: 5.004 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)