Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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-master/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-master/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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 182.2 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-master/package.mo): time 0.7701/0.7701, allocations: 133.3 MB / 150.1 MB, free: 11.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.441/1.441, allocations: 222.9 MB / 404.7 MB, free: 6.051 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.001053/0.001052, allocations: 107.7 kB / 485.9 MB, free: 7.211 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 55.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1507, allocations: 80.41 MB / 0.6421 GB, free: 5.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003091/0.1539, allocations: 1.54 MB / 0.6436 GB, free: 3.914 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.155, allocations: 451.2 kB / 0.6441 GB, free: 3.473 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.1551, allocations: 0 / 0.6441 GB, free: 3.473 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.1552, allocations: 7.922 kB / 0.6441 GB, free: 3.465 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.1553, allocations: 20.28 kB / 0.6441 GB, free: 3.445 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.1561, allocations: 218.4 kB / 0.6443 GB, free: 3.234 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.1564, allocations: 295.9 kB / 0.6446 GB, free: 2.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.1565, allocations: 4 kB / 0.6446 GB, free: 2.941 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.1568, allocations: 222.3 kB / 0.6448 GB, free: 2.727 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.1571, allocations: 119.6 kB / 0.6449 GB, free: 2.609 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.63e-05/0.1572, allocations: 8 kB / 0.6449 GB, free: 2.602 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.1572, allocations: 8 kB / 0.6449 GB, free: 2.594 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1574, allocations: 83.77 kB / 0.645 GB, free: 2.512 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.1575, allocations: 119.4 kB / 0.6451 GB, free: 2.395 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1579, allocations: 279.3 kB / 0.6454 GB, free: 2.121 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1579, allocations: 0 / 0.6454 GB, free: 2.121 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1579, allocations: 0 / 0.6454 GB, free: 2.121 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1579, allocations: 0 / 0.6454 GB, free: 2.121 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.001287/0.1592, allocations: 0.6997 MB / 0.6461 GB, free: 1.348 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1592, allocations: 12.03 kB / 0.6461 GB, free: 1.336 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.831e-05/0.1593, allocations: 39.7 kB / 0.6461 GB, free: 1.297 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.1597, allocations: 258.3 kB / 0.6464 GB, free: 1.008 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.1598, allocations: 12 kB / 0.6464 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.1598, allocations: 19.98 kB / 0.6464 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.1601, allocations: 145.5 kB / 0.6465 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1601, allocations: 3.938 kB / 0.6465 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1601, allocations: 0 / 0.6465 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1602, allocations: 0 / 0.6465 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1603, allocations: 47.97 kB / 0.6466 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.1607, allocations: 329.2 kB / 0.6469 GB, free: 416 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.161, allocations: 130.8 kB / 0.647 GB, free: 276 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.1611, allocations: 56.84 kB / 0.6471 GB, free: 216 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1611, allocations: 3.984 kB / 0.6471 GB, free: 212 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.1616, allocations: 220.6 kB / 0.6473 GB, free: 15.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.1617, allocations: 0 / 0.6473 GB, free: 15.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.000576/0.1622, allocations: 274.7 kB / 0.6475 GB, free: 15.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1623, allocations: 59.41 kB / 0.6476 GB, free: 15.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.1626, allocations: 287 kB / 0.6479 GB, free: 15.35 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.1627, allocations: 45.69 kB / 0.6479 GB, free: 15.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.1627, allocations: 89.14 kB / 0.648 GB, free: 15.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.1628, allocations: 47.44 kB / 0.6481 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.163, allocations: 105.7 kB / 0.6482 GB, free: 15.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1631, allocations: 318.8 kB / 0.6485 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.1633, allocations: 96.17 kB / 0.6486 GB, free: 14.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.1636, allocations: 155.8 kB / 0.6487 GB, free: 14.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.1639, allocations: 237.2 kB / 0.6489 GB, free: 14.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1639, allocations: 3.938 kB / 0.6489 GB, free: 14.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006905/0.1646, allocations: 418.8 kB / 0.6493 GB, free: 13.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-05/0.1647, allocations: 75.38 kB / 0.6494 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1647, allocations: 0 / 0.6494 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.1647, allocations: 7.938 kB / 0.6494 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1649, allocations: 27.92 kB / 0.6494 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1649, allocations: 4.188 kB / 0.6494 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.1654, allocations: 63.8 kB / 0.6495 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.1655, allocations: 59.97 kB / 0.6496 GB, free: 13.52 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.0001854/0.1657, allocations: 164 kB / 0.6497 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.1658, allocations: 27.62 kB / 0.6497 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.1658, allocations: 30.25 kB / 0.6498 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1659, allocations: 11.92 kB / 0.6498 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1659, allocations: 0 / 0.6498 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1659, allocations: 3.984 kB / 0.6498 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.1667, allocations: 0.5539 MB / 0.6503 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1667, allocations: 3.938 kB / 0.6503 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.1668, allocations: 4 kB / 0.6503 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1668, allocations: 4 kB / 0.6503 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.1668, allocations: 15.97 kB / 0.6504 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1668, allocations: 8 kB / 0.6504 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1668, allocations: 0 / 0.6504 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.1677, allocations: 0.9355 MB / 0.6513 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.1679, allocations: 172.5 kB / 0.6514 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.1679, allocations: 8 kB / 0.6514 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.1681, allocations: 12.73 kB / 0.6515 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.1682, allocations: 15.98 kB / 0.6515 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.1682, allocations: 31.97 kB / 0.6515 GB, free: 11.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.1684, allocations: 209.9 kB / 0.6517 GB, free: 11.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1684, allocations: 0 / 0.6517 GB, free: 11.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004189/0.1689, allocations: 51.98 kB / 0.6518 GB, free: 11.12 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.0001438/0.169, allocations: 111.8 kB / 0.6519 GB, free: 11.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.1697, allocations: 344.2 kB / 0.6522 GB, free: 10.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1697, allocations: 0 / 0.6522 GB, free: 10.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.1698, allocations: 75.89 kB / 0.6523 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1702, allocations: 24.88 kB / 0.6523 GB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009219/0.1711, allocations: 0.5944 MB / 0.6529 GB, free: 9.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1716, allocations: 0.7477 MB / 0.6536 GB, free: 9.137 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.1717, allocations: 33.44 kB / 0.6536 GB, free: 9.102 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1719, allocations: 47.41 kB / 0.6537 GB, free: 9.055 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1719, allocations: 3.938 kB / 0.6537 GB, free: 9.051 MB / 458.7 MB Notification: Performance of Templates: time 0.007947/0.1798, allocations: 4.128 MB / 0.6577 GB, free: 4.953 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)