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.001256/0.001256, allocations: 108.7 kB / 16.41 MB, free: 6.016 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.001215/0.001215, allocations: 182.1 kB / 17.34 MB, free: 5.629 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.46/1.46, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8577/0.8577, allocations: 135.2 MB / 426.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 75.81 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1544, allocations: 80.92 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002637/0.1571, allocations: 1.485 MB / 0.6668 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000939/0.158, allocations: 423.3 kB / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.158, allocations: 0 / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.905e-05/0.1581, allocations: 11.88 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.1583, allocations: 20.23 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.1589, allocations: 242.2 kB / 0.6675 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1593, allocations: 299.5 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.1594, allocations: 7.984 kB / 0.6678 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.1596, allocations: 191.7 kB / 0.6679 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1599, allocations: 116.1 kB / 0.668 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.1599, allocations: 16 kB / 0.6681 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.161e-05/0.16, allocations: 20 kB / 0.6681 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1601, allocations: 79.72 kB / 0.6682 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.1602, allocations: 123.4 kB / 0.6683 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.1605, allocations: 279 kB / 0.6685 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1605, allocations: 0 / 0.6685 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1605, allocations: 0 / 0.6685 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1606, allocations: 0 / 0.6685 GB, free: 2.484 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.001326/0.1619, allocations: 0.7115 MB / 0.6692 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1619, allocations: 9.109 kB / 0.6692 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.162, allocations: 36.75 kB / 0.6693 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.1624, allocations: 267.8 kB / 0.6695 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.1624, allocations: 12.38 kB / 0.6695 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.1625, allocations: 27.91 kB / 0.6696 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.1628, allocations: 141.5 kB / 0.6697 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1629, allocations: 0 / 0.6697 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.1629, allocations: 4 kB / 0.6697 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1629, allocations: 8 kB / 0.6697 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.163, allocations: 47.97 kB / 0.6698 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.1635, allocations: 313.3 kB / 0.6701 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.1638, allocations: 114.7 kB / 0.6702 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1639, allocations: 48.83 kB / 0.6702 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1639, allocations: 4 kB / 0.6702 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004479/0.1644, allocations: 217.4 kB / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.1644, allocations: 0 / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006202/0.165, allocations: 273.3 kB / 0.6707 GB, free: 88 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.165, allocations: 59.39 kB / 0.6708 GB, free: 16 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.1653, allocations: 294.9 kB / 0.671 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.1654, allocations: 41.7 kB / 0.6711 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.1655, allocations: 93.06 kB / 0.6712 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.1655, allocations: 51.67 kB / 0.6712 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1657, allocations: 109.7 kB / 0.6713 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1658, allocations: 318.8 kB / 0.6716 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.1661, allocations: 100.2 kB / 0.6717 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.1663, allocations: 152.7 kB / 0.6719 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.1667, allocations: 237.6 kB / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1667, allocations: 3.938 kB / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007085/0.1674, allocations: 408.7 kB / 0.6725 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.682e-05/0.1675, allocations: 76.78 kB / 0.6726 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.1675, allocations: 4.188 kB / 0.6726 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1675, allocations: 4 kB / 0.6726 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1677, allocations: 35.92 kB / 0.6726 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1677, allocations: 3.984 kB / 0.6726 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.1682, allocations: 55.91 kB / 0.6727 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.051e-05/0.1682, allocations: 51.98 kB / 0.6727 GB, free: 13.9 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.0001986/0.1684, allocations: 171.9 kB / 0.6729 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.1685, allocations: 31.75 kB / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.363e-05/0.1686, allocations: 34.25 kB / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1686, allocations: 3.984 kB / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1686, allocations: 0 / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1686, allocations: 0 / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.1694, allocations: 0.5723 MB / 0.6735 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1694, allocations: 0 / 0.6735 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.1695, allocations: 11.98 kB / 0.6735 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1695, allocations: 4 kB / 0.6735 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.1695, allocations: 11.98 kB / 0.6735 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1695, allocations: 0 / 0.6735 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1695, allocations: 0 / 0.6735 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.17, allocations: 329.2 kB / 0.6738 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.1701, allocations: 152.9 kB / 0.674 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.1702, allocations: 11.98 kB / 0.674 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.1704, allocations: 15.98 kB / 0.674 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.1705, allocations: 15.98 kB / 0.674 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.1705, allocations: 27.98 kB / 0.674 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002035/0.1707, allocations: 209.9 kB / 0.6742 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1707, allocations: 0 / 0.6742 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003075/0.171, allocations: 48 kB / 0.6743 GB, free: 12.17 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.0001509/0.1712, allocations: 111.8 kB / 0.6744 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00057/0.1717, allocations: 322.5 kB / 0.6747 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1717, allocations: 0 / 0.6747 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1719, allocations: 66.72 kB / 0.6748 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1722, allocations: 24.81 kB / 0.6748 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.173, allocations: 428.9 kB / 0.6752 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1734, allocations: 0.7396 MB / 0.6759 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.1735, allocations: 35.41 kB / 0.676 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.1735, allocations: 0 / 0.676 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.005127/0.1786, allocations: 2.992 MB / 0.6789 GB, free: 7.387 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)