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.006254/0.006254, allocations: 101.1 kB / 15.88 MB, free: 5.871 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.001056/0.001056, allocations: 193.5 kB / 16.79 MB, free: 5.816 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9306/0.9306, allocations: 135.1 MB / 425.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.5 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1488, allocations: 80.92 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002604/0.1514, allocations: 1.538 MB / 0.5858 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.1524, allocations: 437.5 kB / 0.5863 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.1525, allocations: 3.938 kB / 0.5863 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.944e-05/0.1526, allocations: 7.984 kB / 0.5863 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.749e-05/0.1527, allocations: 28.16 kB / 0.5863 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.1532, allocations: 223.1 kB / 0.5865 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.1535, allocations: 287.9 kB / 0.5868 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.1535, allocations: 11.98 kB / 0.5868 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.1538, allocations: 210.3 kB / 0.587 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.154, allocations: 119.6 kB / 0.5871 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.671e-05/0.1541, allocations: 8 kB / 0.5871 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.1541, allocations: 12 kB / 0.5871 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1543, allocations: 75.77 kB / 0.5872 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1544, allocations: 123.3 kB / 0.5873 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1546, allocations: 203.9 kB / 0.5875 GB, free: 1.738 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1546, allocations: 4 kB / 0.5875 GB, free: 1.734 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1546, allocations: 0 / 0.5875 GB, free: 1.734 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1546, allocations: 0 / 0.5875 GB, free: 1.734 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.00118/0.1558, allocations: 0.7035 MB / 0.5882 GB, free: 0.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1559, allocations: 8.031 kB / 0.5882 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.534e-05/0.156, allocations: 31.72 kB / 0.5882 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1563, allocations: 262.2 kB / 0.5885 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.1563, allocations: 12 kB / 0.5885 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.1564, allocations: 16 kB / 0.5885 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.1567, allocations: 145.5 kB / 0.5887 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1567, allocations: 0 / 0.5887 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.1567, allocations: 7.984 kB / 0.5887 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1567, allocations: 0 / 0.5887 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1569, allocations: 51.91 kB / 0.5887 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.1572, allocations: 309.4 kB / 0.589 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.1576, allocations: 134.8 kB / 0.5891 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.1577, allocations: 60.58 kB / 0.5892 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1577, allocations: 4 kB / 0.5892 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004532/0.1582, allocations: 219.5 kB / 0.5894 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.1582, allocations: 0 / 0.5894 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005875/0.1588, allocations: 275.5 kB / 0.5897 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.1588, allocations: 59.39 kB / 0.5897 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.1591, allocations: 294.8 kB / 0.59 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.1591, allocations: 37.7 kB / 0.59 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.1592, allocations: 97.12 kB / 0.5901 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.1593, allocations: 47.44 kB / 0.5902 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.1594, allocations: 105.7 kB / 0.5903 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1596, allocations: 322.8 kB / 0.5906 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.1599, allocations: 96.17 kB / 0.5907 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.1601, allocations: 151.1 kB / 0.5908 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.1605, allocations: 245.2 kB / 0.5911 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1605, allocations: 0 / 0.5911 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006889/0.1612, allocations: 422.2 kB / 0.5915 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.1613, allocations: 71.39 kB / 0.5915 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1613, allocations: 0 / 0.5915 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1613, allocations: 4 kB / 0.5915 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.1615, allocations: 31.91 kB / 0.5916 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1615, allocations: 4 kB / 0.5916 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.162, allocations: 63.98 kB / 0.5916 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/0.1621, allocations: 47.98 kB / 0.5917 GB, free: 13.14 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.0002142/0.1623, allocations: 183.9 kB / 0.5919 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.1624, allocations: 23.72 kB / 0.5919 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.1624, allocations: 26.25 kB / 0.5919 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1625, allocations: 4 kB / 0.5919 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1625, allocations: 4 kB / 0.5919 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1625, allocations: 0 / 0.5919 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007804/0.1633, allocations: 0.5645 MB / 0.5925 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1633, allocations: 0 / 0.5925 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.1633, allocations: 11.98 kB / 0.5925 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1633, allocations: 0 / 0.5925 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.1634, allocations: 15.98 kB / 0.5925 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1634, allocations: 3.938 kB / 0.5925 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1634, allocations: 0 / 0.5925 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.1638, allocations: 329.2 kB / 0.5928 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.164, allocations: 156.6 kB / 0.593 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.164, allocations: 8 kB / 0.593 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1643, allocations: 19.92 kB / 0.593 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.1643, allocations: 11.98 kB / 0.593 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.1644, allocations: 35.97 kB / 0.593 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001755/0.1646, allocations: 205.9 kB / 0.5932 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1646, allocations: 4 kB / 0.5932 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003131/0.1649, allocations: 51.98 kB / 0.5933 GB, free: 11.41 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.0001202/0.165, allocations: 103.2 kB / 0.5934 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005832/0.1656, allocations: 342.6 kB / 0.5937 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1656, allocations: 0 / 0.5937 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1658, allocations: 79.88 kB / 0.5938 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1661, allocations: 26.81 kB / 0.5938 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.1668, allocations: 499 kB / 0.5943 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1671, allocations: 0.7453 MB / 0.595 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.1672, allocations: 39.42 kB / 0.595 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1672, allocations: 3.938 kB / 0.595 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of Templates: time 0.004594/0.1718, allocations: 2.972 MB / 0.5979 GB, free: 6.562 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)