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.001329/0.001329, allocations: 108.4 kB / 16.41 MB, free: 6.492 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.001338/0.001338, allocations: 185.5 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7837/0.7837, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 69.23 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1443, allocations: 80.2 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003114/0.1475, allocations: 1.479 MB / 0.6617 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.1485, allocations: 425.8 kB / 0.6622 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.1486, allocations: 0 / 0.6622 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.1488, allocations: 11.86 kB / 0.6622 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.1489, allocations: 24.22 kB / 0.6622 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.1497, allocations: 242.9 kB / 0.6624 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.1502, allocations: 311.5 kB / 0.6627 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.1502, allocations: 7.984 kB / 0.6627 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.1506, allocations: 195.6 kB / 0.6629 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.1509, allocations: 116.1 kB / 0.663 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.84e-05/0.151, allocations: 23.94 kB / 0.663 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.31e-05/0.1511, allocations: 16 kB / 0.6631 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1512, allocations: 83.72 kB / 0.6631 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1514, allocations: 119.4 kB / 0.6633 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.1517, allocations: 275.1 kB / 0.6635 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1517, allocations: 0 / 0.6635 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1517, allocations: 4 kB / 0.6635 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.1517, allocations: 0 / 0.6635 GB, free: 7.02 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.00133/0.1531, allocations: 0.6999 MB / 0.6642 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1531, allocations: 12.03 kB / 0.6642 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.1532, allocations: 28.66 kB / 0.6642 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.1536, allocations: 263.5 kB / 0.6645 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.1536, allocations: 16.36 kB / 0.6645 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.1537, allocations: 23.94 kB / 0.6645 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.154, allocations: 137.5 kB / 0.6647 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.154, allocations: 4 kB / 0.6647 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.1541, allocations: 11.98 kB / 0.6647 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1541, allocations: 0 / 0.6647 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1542, allocations: 47.92 kB / 0.6647 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.1546, allocations: 313.4 kB / 0.665 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.1549, allocations: 130.6 kB / 0.6651 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.1551, allocations: 60.83 kB / 0.6652 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1551, allocations: 4 kB / 0.6652 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004987/0.1556, allocations: 217.2 kB / 0.6654 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/0.1556, allocations: 4 kB / 0.6654 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006127/0.1562, allocations: 269.2 kB / 0.6657 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1563, allocations: 63.34 kB / 0.6657 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1566, allocations: 286.9 kB / 0.666 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.1567, allocations: 45.69 kB / 0.6661 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.1568, allocations: 89.14 kB / 0.6661 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/0.1569, allocations: 39.59 kB / 0.6662 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.157, allocations: 105.6 kB / 0.6663 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1572, allocations: 326.8 kB / 0.6666 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.1574, allocations: 96.17 kB / 0.6667 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.1577, allocations: 142.4 kB / 0.6668 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.158, allocations: 251.9 kB / 0.6671 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.158, allocations: 0 / 0.6671 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007487/0.1588, allocations: 414.6 kB / 0.6675 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.544e-05/0.1589, allocations: 75.58 kB / 0.6675 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.1589, allocations: 4 kB / 0.6675 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.1589, allocations: 7.984 kB / 0.6675 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1591, allocations: 31.86 kB / 0.6676 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.1592, allocations: 7.984 kB / 0.6676 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.1597, allocations: 59.8 kB / 0.6676 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.807e-05/0.1598, allocations: 47.98 kB / 0.6677 GB, free: 2.426 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.0002132/0.16, allocations: 176.8 kB / 0.6678 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.1601, allocations: 27.66 kB / 0.6679 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.637e-05/0.1601, allocations: 34.25 kB / 0.6679 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1602, allocations: 0 / 0.6679 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1602, allocations: 0 / 0.6679 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1602, allocations: 4 kB / 0.6679 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007851/0.161, allocations: 0.5683 MB / 0.6685 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.161, allocations: 4 kB / 0.6685 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.161, allocations: 8 kB / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.161, allocations: 0 / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.1611, allocations: 11.98 kB / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1611, allocations: 4 kB / 0.6685 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1611, allocations: 3.984 kB / 0.6685 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.1615, allocations: 324.8 kB / 0.6688 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.1617, allocations: 148.7 kB / 0.6689 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.1617, allocations: 12 kB / 0.669 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.162, allocations: 15.98 kB / 0.669 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.162, allocations: 11.98 kB / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.1621, allocations: 35.97 kB / 0.669 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001841/0.1623, allocations: 205.9 kB / 0.6692 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1623, allocations: 0 / 0.6692 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003173/0.1626, allocations: 47.98 kB / 0.6693 GB, free: 0.7031 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.0001726/0.1628, allocations: 116.6 kB / 0.6694 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.1634, allocations: 346.4 kB / 0.6697 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1634, allocations: 0 / 0.6697 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.1635, allocations: 78.08 kB / 0.6698 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1639, allocations: 24.05 kB / 0.6698 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.1647, allocations: 413.7 kB / 0.6702 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.1651, allocations: 0.7418 MB / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.1652, allocations: 39.42 kB / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.1652, allocations: 0 / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.00577/0.171, allocations: 2.988 MB / 0.6739 GB, free: 11.9 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)