Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, 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.8311/0.8311, allocations: 133.3 MB / 150.1 MB, free: 11.19 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.473/1.473, allocations: 222.9 MB / 404.7 MB, free: 6.086 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.001266/0.001266, allocations: 107.2 kB / 485.9 MB, free: 7.258 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 51.92 kB / 0.5636 GB, free: 69.97 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1582, allocations: 80.42 MB / 0.6421 GB, free: 5.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002771/0.1611, allocations: 1.539 MB / 0.6436 GB, free: 3.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009007/0.162, allocations: 447.9 kB / 0.6441 GB, free: 3.484 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.1621, allocations: 4 kB / 0.6441 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.1622, allocations: 3.938 kB / 0.6441 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1623, allocations: 24.22 kB / 0.6441 GB, free: 3.453 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.1629, allocations: 221.8 kB / 0.6443 GB, free: 3.238 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.1632, allocations: 291.9 kB / 0.6446 GB, free: 2.953 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.1632, allocations: 7.984 kB / 0.6446 GB, free: 2.945 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.1635, allocations: 218.3 kB / 0.6448 GB, free: 2.734 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.1637, allocations: 127.6 kB / 0.6449 GB, free: 2.609 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.1638, allocations: 8 kB / 0.6449 GB, free: 2.602 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.1639, allocations: 12 kB / 0.6449 GB, free: 2.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.164, allocations: 71.78 kB / 0.645 GB, free: 2.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1641, allocations: 115.4 kB / 0.6451 GB, free: 2.406 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.1645, allocations: 283.3 kB / 0.6454 GB, free: 2.129 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1645, allocations: 3.984 kB / 0.6454 GB, free: 2.125 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1645, allocations: 0 / 0.6454 GB, free: 2.125 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.1645, allocations: 0 / 0.6454 GB, free: 2.125 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.001141/0.1656, allocations: 0.7036 MB / 0.6461 GB, free: 1.348 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1657, allocations: 8.031 kB / 0.6461 GB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/0.1658, allocations: 35.7 kB / 0.6461 GB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1661, allocations: 254.3 kB / 0.6464 GB, free: 1.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.1661, allocations: 15.98 kB / 0.6464 GB, free: 1.004 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.1662, allocations: 12 kB / 0.6464 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.1665, allocations: 146.8 kB / 0.6465 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1665, allocations: 3.938 kB / 0.6465 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.1665, allocations: 3.984 kB / 0.6465 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1665, allocations: 8 kB / 0.6465 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1667, allocations: 43.92 kB / 0.6466 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.167, allocations: 313.3 kB / 0.6469 GB, free: 440 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.1673, allocations: 134.8 kB / 0.647 GB, free: 296 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1674, allocations: 57.08 kB / 0.6471 GB, free: 236 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1674, allocations: 15.94 kB / 0.6471 GB, free: 220 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.1679, allocations: 221.6 kB / 0.6473 GB, free: 15.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.1679, allocations: 0 / 0.6473 GB, free: 15.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005604/0.1685, allocations: 274 kB / 0.6476 GB, free: 15.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1685, allocations: 63.34 kB / 0.6476 GB, free: 15.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.1688, allocations: 291 kB / 0.6479 GB, free: 15.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.1689, allocations: 37.7 kB / 0.6479 GB, free: 15.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.1689, allocations: 85.14 kB / 0.648 GB, free: 15.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.169, allocations: 47.45 kB / 0.6481 GB, free: 15.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.1692, allocations: 109.7 kB / 0.6482 GB, free: 15.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1693, allocations: 322.8 kB / 0.6485 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.1695, allocations: 100.2 kB / 0.6486 GB, free: 14.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.1697, allocations: 143.8 kB / 0.6487 GB, free: 14.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.1701, allocations: 249.2 kB / 0.6489 GB, free: 14.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.1701, allocations: 3.938 kB / 0.6489 GB, free: 14.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006514/0.1707, allocations: 406.9 kB / 0.6493 GB, free: 13.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.995e-05/0.1708, allocations: 75.38 kB / 0.6494 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1708, allocations: 8.188 kB / 0.6494 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1708, allocations: 7.938 kB / 0.6494 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.171, allocations: 27.92 kB / 0.6494 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.171, allocations: 7.969 kB / 0.6494 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.1715, allocations: 59.8 kB / 0.6495 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/0.1716, allocations: 51.98 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001654/0.1717, allocations: 173.8 kB / 0.6497 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.1718, allocations: 31.61 kB / 0.6498 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.1719, allocations: 34.23 kB / 0.6498 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1719, allocations: 3.938 kB / 0.6498 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1719, allocations: 0 / 0.6498 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1719, allocations: 4 kB / 0.6498 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007732/0.1727, allocations: 0.5543 MB / 0.6503 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1727, allocations: 0 / 0.6503 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.1727, allocations: 15.98 kB / 0.6503 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1727, allocations: 0 / 0.6503 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.1728, allocations: 11.98 kB / 0.6504 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1728, allocations: 8 kB / 0.6504 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1728, allocations: 0 / 0.6504 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.1735, allocations: 0.9319 MB / 0.6513 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.1737, allocations: 168.5 kB / 0.6514 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.1738, allocations: 12 kB / 0.6514 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.174, allocations: 11.98 kB / 0.6515 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.174, allocations: 15.97 kB / 0.6515 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.1741, allocations: 35.92 kB / 0.6515 GB, free: 11.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.1742, allocations: 209.9 kB / 0.6517 GB, free: 11.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1742, allocations: 4 kB / 0.6517 GB, free: 11.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004118/0.1747, allocations: 44 kB / 0.6518 GB, free: 11.13 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.000155/0.1748, allocations: 121.5 kB / 0.6519 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005315/0.1754, allocations: 343.7 kB / 0.6522 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1754, allocations: 0 / 0.6522 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1755, allocations: 67.97 kB / 0.6523 GB, free: 10.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1759, 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.0008318/0.1767, allocations: 0.6047 MB / 0.6529 GB, free: 9.906 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.177, allocations: 0.7477 MB / 0.6536 GB, free: 9.133 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.1772, allocations: 37.42 kB / 0.6536 GB, free: 9.094 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.1773, allocations: 35.42 kB / 0.6537 GB, free: 9.059 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1773, allocations: 3.938 kB / 0.6537 GB, free: 9.055 MB / 458.7 MB Notification: Performance of Templates: time 0.007263/0.1846, allocations: 4.15 MB / 0.6577 GB, free: 4.926 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1)