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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 181.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7954/0.7954, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 403.4 MB, free: 7.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 109.1 kB / 484.4 MB, free: 8.738 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 47.92 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1545, allocations: 80.2 MB / 0.6402 GB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003024/0.1576, allocations: 1.548 MB / 0.6417 GB, free: 5.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1587, allocations: 444.2 kB / 0.6421 GB, free: 4.812 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.1587, allocations: 4 kB / 0.6421 GB, free: 4.809 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.1589, allocations: 11.92 kB / 0.6421 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.992e-05/0.159, allocations: 16.3 kB / 0.6421 GB, free: 4.781 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.1596, allocations: 226.2 kB / 0.6423 GB, free: 4.562 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.1599, allocations: 283.9 kB / 0.6426 GB, free: 4.285 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.84e-05/0.16, allocations: 11.97 kB / 0.6426 GB, free: 4.273 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.1603, allocations: 218.4 kB / 0.6428 GB, free: 4.062 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1605, allocations: 119.6 kB / 0.6429 GB, free: 3.945 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.102e-05/0.1606, allocations: 12 kB / 0.643 GB, free: 3.934 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.1607, allocations: 8 kB / 0.643 GB, free: 3.926 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1608, allocations: 79.72 kB / 0.643 GB, free: 3.848 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1609, allocations: 119.4 kB / 0.6432 GB, free: 3.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.1613, allocations: 283.3 kB / 0.6434 GB, free: 3.453 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1613, allocations: 0 / 0.6434 GB, free: 3.453 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1613, allocations: 0 / 0.6434 GB, free: 3.453 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1613, allocations: 0 / 0.6434 GB, free: 3.453 MB / 442.7 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.00124/0.1626, allocations: 0.7036 MB / 0.6441 GB, free: 2.676 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1626, allocations: 12.03 kB / 0.6441 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.181e-05/0.1627, allocations: 27.72 kB / 0.6441 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.1631, allocations: 254.3 kB / 0.6444 GB, free: 2.352 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.1631, allocations: 12 kB / 0.6444 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/0.1632, allocations: 23.98 kB / 0.6444 GB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.1635, allocations: 138.8 kB / 0.6446 GB, free: 2.176 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1635, allocations: 11.88 kB / 0.6446 GB, free: 2.164 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.1635, allocations: 8 kB / 0.6446 GB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1635, allocations: 0 / 0.6446 GB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1637, allocations: 51.91 kB / 0.6446 GB, free: 2.105 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.164, allocations: 309.3 kB / 0.6449 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.1643, allocations: 130.8 kB / 0.645 GB, free: 1.617 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.1644, allocations: 60.83 kB / 0.6451 GB, free: 1.555 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1645, allocations: 4 kB / 0.6451 GB, free: 1.551 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.165, allocations: 225.2 kB / 0.6453 GB, free: 1.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.165, allocations: 0 / 0.6453 GB, free: 1.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005773/0.1656, allocations: 273.8 kB / 0.6456 GB, free: 1.047 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.1656, allocations: 63.39 kB / 0.6456 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.1659, allocations: 287 kB / 0.6459 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.1659, allocations: 37.7 kB / 0.646 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.166, allocations: 93.12 kB / 0.646 GB, free: 0.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.1661, allocations: 47.44 kB / 0.6461 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.1663, allocations: 101.7 kB / 0.6462 GB, free: 396 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1664, allocations: 330.8 kB / 0.6465 GB, free: 56 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.1666, allocations: 88.19 kB / 0.6466 GB, free: 15.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.1669, allocations: 146.4 kB / 0.6467 GB, free: 15.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.1672, allocations: 251.2 kB / 0.647 GB, free: 15.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1672, allocations: 0 / 0.647 GB, free: 15.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006876/0.1679, allocations: 420 kB / 0.6474 GB, free: 15.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/0.168, allocations: 80.52 kB / 0.6474 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.168, allocations: 0 / 0.6474 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.1681, allocations: 7.938 kB / 0.6474 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.1682, allocations: 27.91 kB / 0.6475 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1683, allocations: 4 kB / 0.6475 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.1688, allocations: 63.73 kB / 0.6475 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-05/0.1689, allocations: 55.98 kB / 0.6476 GB, free: 14.85 MB / 458.7 MB 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.0001909/0.1691, allocations: 177.3 kB / 0.6478 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.1691, allocations: 27.62 kB / 0.6478 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.1692, allocations: 26.25 kB / 0.6478 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1692, allocations: 7.938 kB / 0.6478 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.1692, allocations: 0 / 0.6478 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1692, allocations: 0 / 0.6478 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008553/0.1701, allocations: 0.5568 MB / 0.6484 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1701, allocations: 3.984 kB / 0.6484 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.1702, allocations: 8 kB / 0.6484 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1702, allocations: 0 / 0.6484 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.1702, allocations: 15.98 kB / 0.6484 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1702, allocations: 0 / 0.6484 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.1702, allocations: 3.984 kB / 0.6484 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/0.171, allocations: 0.9449 MB / 0.6493 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.1712, allocations: 160.6 kB / 0.6495 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.1713, allocations: 11.98 kB / 0.6495 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.1715, allocations: 11.98 kB / 0.6495 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.1715, allocations: 15.98 kB / 0.6495 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.1716, allocations: 27.98 kB / 0.6495 GB, free: 12.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001886/0.1718, allocations: 217.8 kB / 0.6497 GB, free: 12.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1718, allocations: 0 / 0.6497 GB, free: 12.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004137/0.1722, allocations: 52 kB / 0.6498 GB, free: 12.45 MB / 458.7 MB 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.0001483/0.1724, allocations: 111.9 kB / 0.6499 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005489/0.1729, allocations: 342.6 kB / 0.6502 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1729, allocations: 0 / 0.6502 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1731, allocations: 75.89 kB / 0.6503 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.1735, allocations: 27.89 kB / 0.6503 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.1742, allocations: 0.6057 MB / 0.6509 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1745, allocations: 0.7438 MB / 0.6516 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.1747, allocations: 41.36 kB / 0.6517 GB, free: 10.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1748, allocations: 35.42 kB / 0.6517 GB, free: 10.38 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1748, allocations: 0 / 0.6517 GB, free: 10.38 MB / 458.7 MB Notification: Performance of Templates: time 0.007291/0.1821, allocations: 4.125 MB / 0.6557 GB, free: 6.281 MB / 458.7 MB 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)