Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 108.4 kB / 16.41 MB, free: 6.496 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.00119/0.00119, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7958/0.7958, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 69.67 kB / 0.5862 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 80.92 MB / 0.6653 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002958/0.1611, allocations: 1.483 MB / 0.6667 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1621, allocations: 424.4 kB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.1623, allocations: 3.938 kB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1624, allocations: 7.922 kB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.1625, allocations: 20.23 kB / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.1633, allocations: 239.5 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.1638, allocations: 319.4 kB / 0.6677 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.082e-05/0.1639, allocations: 11.98 kB / 0.6677 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.1642, allocations: 187.7 kB / 0.6679 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.1645, allocations: 112.1 kB / 0.668 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.745e-05/0.1646, allocations: 20 kB / 0.668 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.966e-05/0.1647, allocations: 16 kB / 0.668 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1648, allocations: 87.7 kB / 0.6681 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.165, allocations: 119.4 kB / 0.6682 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1653, allocations: 275.1 kB / 0.6685 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1653, allocations: 4 kB / 0.6685 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1653, allocations: 0 / 0.6685 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.1653, allocations: 0 / 0.6685 GB, free: 2.551 MB / 0.4981 GB 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.001325/0.1666, allocations: 0.6998 MB / 0.6692 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1667, allocations: 13.11 kB / 0.6692 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1668, allocations: 32.64 kB / 0.6692 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1672, allocations: 255.6 kB / 0.6695 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.1672, allocations: 16.36 kB / 0.6695 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.1673, allocations: 23.94 kB / 0.6695 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1676, allocations: 145 kB / 0.6696 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1676, allocations: 3.938 kB / 0.6696 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.1676, allocations: 8 kB / 0.6696 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1677, allocations: 0 / 0.6696 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1678, allocations: 47.97 kB / 0.6697 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.1682, allocations: 313.3 kB / 0.67 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.1685, allocations: 134.6 kB / 0.6701 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.1687, allocations: 60.78 kB / 0.6702 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.1687, allocations: 11.97 kB / 0.6702 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/0.1692, allocations: 211.5 kB / 0.6704 GB, free: 420 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.884e-06/0.1692, allocations: 0 / 0.6704 GB, free: 420 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006145/0.1698, allocations: 278.8 kB / 0.6707 GB, free: 136 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1699, allocations: 59.41 kB / 0.6707 GB, free: 64 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.1702, allocations: 287 kB / 0.671 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.1702, allocations: 41.69 kB / 0.671 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.1703, allocations: 93.05 kB / 0.6711 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.1704, allocations: 39.59 kB / 0.6711 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.1706, allocations: 105.6 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1707, allocations: 330.8 kB / 0.6716 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.1709, allocations: 88.19 kB / 0.6716 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.1711, allocations: 144.7 kB / 0.6718 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.1715, allocations: 251.2 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1715, allocations: 7.938 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006982/0.1722, allocations: 406.2 kB / 0.6724 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.1723, allocations: 71.58 kB / 0.6725 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/0.1723, allocations: 4 kB / 0.6725 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1723, allocations: 4 kB / 0.6725 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.1725, allocations: 31.91 kB / 0.6725 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1725, allocations: 4 kB / 0.6725 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.1731, allocations: 59.8 kB / 0.6726 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.1731, allocations: 47.98 kB / 0.6726 GB, free: 13.97 MB / 0.5137 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.000186/0.1733, allocations: 172 kB / 0.6728 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.1734, allocations: 35.56 kB / 0.6728 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.1735, allocations: 30.25 kB / 0.6729 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1735, allocations: 0 / 0.6729 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1735, allocations: 4 kB / 0.6729 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1735, allocations: 0 / 0.6729 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007731/0.1743, allocations: 0.5665 MB / 0.6734 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1743, allocations: 0 / 0.6734 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.1743, allocations: 15.98 kB / 0.6734 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1743, allocations: 0 / 0.6734 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.1744, allocations: 15.98 kB / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1744, allocations: 0 / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1744, allocations: 0 / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.1748, allocations: 334.8 kB / 0.6738 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.175, allocations: 148.7 kB / 0.6739 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.175, allocations: 8 kB / 0.6739 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.1753, allocations: 19.98 kB / 0.6739 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1753, allocations: 11.98 kB / 0.6739 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.1754, allocations: 31.98 kB / 0.674 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001835/0.1756, allocations: 209.9 kB / 0.6742 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1756, allocations: 0 / 0.6742 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004421/0.176, allocations: 47.98 kB / 0.6742 GB, free: 12.24 MB / 0.5137 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.0001707/0.1762, allocations: 119.8 kB / 0.6743 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005519/0.1768, allocations: 348.3 kB / 0.6747 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1768, allocations: 0 / 0.6747 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.1769, allocations: 75.89 kB / 0.6747 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1773, allocations: 25.94 kB / 0.6748 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.178, allocations: 409.8 kB / 0.6752 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1783, allocations: 0.7396 MB / 0.6759 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.1784, allocations: 39.42 kB / 0.6759 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1784, allocations: 7.938 kB / 0.6759 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.005451/0.1839, allocations: 2.984 MB / 0.6788 GB, free: 7.441 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)