Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006557/0.006562, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001121/0.001121, allocations: 193.3 kB / 16.67 MB, free: 5.922 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7881/0.7881, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 57.44 kB / 0.5813 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.159, allocations: 80.22 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003113/0.1621, allocations: 1.479 MB / 0.6611 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1633, allocations: 415.3 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.1634, allocations: 4 kB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.1636, allocations: 11.86 kB / 0.6615 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.1637, allocations: 24.23 kB / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.1646, allocations: 239 kB / 0.6618 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.165, allocations: 319.5 kB / 0.6621 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.1651, allocations: 4 kB / 0.6621 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.1655, allocations: 195.6 kB / 0.6623 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.1658, allocations: 104.1 kB / 0.6624 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-05/0.1659, allocations: 16 kB / 0.6624 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.166, allocations: 24 kB / 0.6624 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1661, allocations: 79.77 kB / 0.6625 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.1662, allocations: 123.3 kB / 0.6626 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1666, allocations: 282.9 kB / 0.6629 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1666, allocations: 0 / 0.6629 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1666, allocations: 0 / 0.6629 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.1667, allocations: 0 / 0.6629 GB, free: 6.961 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.001311/0.168, allocations: 0.7076 MB / 0.6635 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.168, allocations: 12.03 kB / 0.6636 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1681, allocations: 44.66 kB / 0.6636 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1685, allocations: 259.9 kB / 0.6638 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.1685, allocations: 16.3 kB / 0.6639 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.1686, allocations: 19.94 kB / 0.6639 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.1688, allocations: 145.5 kB / 0.664 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1689, allocations: 0 / 0.664 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.1689, allocations: 4 kB / 0.664 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1689, allocations: 0 / 0.664 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1691, allocations: 51.91 kB / 0.6641 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1694, allocations: 313.4 kB / 0.6644 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.1697, allocations: 134.6 kB / 0.6645 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1698, allocations: 52.84 kB / 0.6646 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1699, allocations: 4 kB / 0.6646 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004359/0.1703, allocations: 225.1 kB / 0.6648 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1703, allocations: 0 / 0.6648 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006059/0.1709, allocations: 275.5 kB / 0.665 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.171, allocations: 59.41 kB / 0.6651 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.1713, allocations: 294.9 kB / 0.6654 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.1713, allocations: 37.69 kB / 0.6654 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.1714, allocations: 93.14 kB / 0.6655 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.1715, allocations: 43.67 kB / 0.6655 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.1716, allocations: 109.8 kB / 0.6656 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1718, allocations: 322.8 kB / 0.666 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.172, allocations: 88.17 kB / 0.666 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.1722, allocations: 154.4 kB / 0.6662 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.1725, allocations: 252.1 kB / 0.6664 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1726, allocations: 0 / 0.6664 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006955/0.1733, allocations: 404.7 kB / 0.6668 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/0.1733, allocations: 75.39 kB / 0.6669 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1733, allocations: 4 kB / 0.6669 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1734, allocations: 0 / 0.6669 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.1735, allocations: 32.09 kB / 0.6669 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1736, allocations: 4 kB / 0.6669 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.174, allocations: 55.91 kB / 0.667 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/0.1741, allocations: 55.98 kB / 0.667 GB, free: 2.355 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.0001693/0.1743, allocations: 172.8 kB / 0.6672 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.1744, allocations: 35.75 kB / 0.6672 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/0.1744, allocations: 34.25 kB / 0.6673 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1744, allocations: 0 / 0.6673 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1744, allocations: 0 / 0.6673 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1744, allocations: 0 / 0.6673 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.1752, allocations: 0.5645 MB / 0.6678 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1752, allocations: 3.938 kB / 0.6678 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.1753, allocations: 11.98 kB / 0.6678 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1753, allocations: 4 kB / 0.6678 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.1753, allocations: 11.98 kB / 0.6678 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1753, allocations: 0 / 0.6678 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1753, allocations: 4 kB / 0.6678 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.1757, allocations: 328.9 kB / 0.6682 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1759, allocations: 156.9 kB / 0.6683 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.1759, allocations: 8 kB / 0.6683 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.1761, allocations: 7.984 kB / 0.6683 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.1762, allocations: 19.98 kB / 0.6683 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.1763, allocations: 27.98 kB / 0.6684 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002092/0.1765, allocations: 209.9 kB / 0.6686 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1765, allocations: 0 / 0.6686 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000308/0.1768, allocations: 48 kB / 0.6686 GB, free: 0.6289 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.0001767/0.177, allocations: 118.8 kB / 0.6687 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005433/0.1775, allocations: 346.8 kB / 0.6691 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1775, allocations: 4.062 kB / 0.6691 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1777, allocations: 85.36 kB / 0.6691 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.178, allocations: 30.2 kB / 0.6692 GB, free: 28 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.1787, allocations: 383.7 kB / 0.6695 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.179, allocations: 0.7435 MB / 0.6703 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.1791, allocations: 41.42 kB / 0.6703 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.1792, allocations: 31.42 kB / 0.6703 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1792, allocations: 0 / 0.6703 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.007211/0.1864, allocations: 4.07 MB / 0.6743 GB, free: 10.74 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)