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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009298/0.0009298, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008658/0.0008658, allocations: 183.3 kB / 16.92 MB, free: 6.926 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.302/1.302, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9231/0.9231, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005021, allocations: 8 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1615, allocations: 82.31 MB / 0.5886 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001591/0.1631, allocations: 1.188 MB / 0.5898 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.1641, allocations: 443.4 kB / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.1642, allocations: 0 / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.411e-05/0.1643, allocations: 7.922 kB / 0.5902 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.1644, allocations: 20.28 kB / 0.5902 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.1651, allocations: 226.2 kB / 0.5904 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.1654, allocations: 291.9 kB / 0.5907 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.1655, allocations: 4 kB / 0.5907 GB, free: 500 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.1658, allocations: 210.3 kB / 0.5909 GB, free: 292 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.1661, allocations: 123.6 kB / 0.591 GB, free: 168 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.1661, allocations: 8 kB / 0.591 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.589e-05/0.1662, allocations: 8 kB / 0.5911 GB, free: 152 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1663, allocations: 75.77 kB / 0.5911 GB, free: 76 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.1665, allocations: 145.1 kB / 0.5913 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1667, allocations: 211.8 kB / 0.5915 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1667, allocations: 0 / 0.5915 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1667, allocations: 0 / 0.5915 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1667, allocations: 0 / 0.5915 GB, free: 15.72 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.001046/0.1678, allocations: 0.618 MB / 0.5921 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1678, allocations: 12.03 kB / 0.5921 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.882e-05/0.1679, allocations: 27.72 kB / 0.5921 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.1682, allocations: 262.3 kB / 0.5924 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.1683, allocations: 12 kB / 0.5924 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.1683, allocations: 19.98 kB / 0.5924 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.1686, allocations: 141.5 kB / 0.5925 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1686, allocations: 0 / 0.5925 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.1687, allocations: 7.938 kB / 0.5925 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1687, allocations: 3.938 kB / 0.5925 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1688, allocations: 47.97 kB / 0.5926 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.1692, allocations: 313.2 kB / 0.5929 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.1695, allocations: 134.7 kB / 0.593 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.1696, allocations: 61.14 kB / 0.5931 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.1697, allocations: 4 kB / 0.5931 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004392/0.1701, allocations: 224.1 kB / 0.5933 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.923e-06/0.1701, allocations: 0 / 0.5933 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006141/0.1707, allocations: 271.5 kB / 0.5935 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.1708, allocations: 59.39 kB / 0.5936 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.1711, allocations: 290.9 kB / 0.5939 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.1711, allocations: 45.7 kB / 0.5939 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.1712, allocations: 93.03 kB / 0.594 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.1713, allocations: 47.53 kB / 0.5941 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.1713, allocations: 33.7 kB / 0.5941 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.1714, allocations: 318.8 kB / 0.5944 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.1717, allocations: 96.17 kB / 0.5945 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.1719, allocations: 154.4 kB / 0.5946 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.1723, allocations: 234.2 kB / 0.5948 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1723, allocations: 7.938 kB / 0.5949 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006798/0.173, allocations: 417.5 kB / 0.5953 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.001e-05/0.1731, allocations: 75.38 kB / 0.5953 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1731, allocations: 0 / 0.5953 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.1731, allocations: 8 kB / 0.5953 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.1733, allocations: 27.92 kB / 0.5954 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1733, allocations: 7.984 kB / 0.5954 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/0.1738, allocations: 71.98 kB / 0.5954 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.1739, allocations: 51.98 kB / 0.5955 GB, free: 11.27 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 (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.0001896/0.1741, allocations: 173.7 kB / 0.5957 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.1742, allocations: 31.7 kB / 0.5957 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.1742, allocations: 30.27 kB / 0.5957 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1743, allocations: 3.984 kB / 0.5957 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1743, allocations: 0 / 0.5957 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1743, allocations: 0 / 0.5957 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/0.175, allocations: 0.5624 MB / 0.5963 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1751, allocations: 0 / 0.5963 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.1751, allocations: 11.98 kB / 0.5963 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1751, allocations: 0 / 0.5963 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.1751, allocations: 15.98 kB / 0.5963 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.1752, allocations: 7.938 kB / 0.5963 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1752, allocations: 3.938 kB / 0.5963 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1756, allocations: 315 kB / 0.5966 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.1757, allocations: 164.5 kB / 0.5968 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.1758, allocations: 11.98 kB / 0.5968 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.176, allocations: 19.92 kB / 0.5968 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.1761, allocations: 15.98 kB / 0.5968 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.1761, allocations: 27.98 kB / 0.5968 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000181/0.1763, allocations: 209.9 kB / 0.597 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1763, allocations: 0 / 0.597 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003203/0.1767, allocations: 52 kB / 0.5971 GB, free: 9.535 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 (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.0001319/0.1768, allocations: 118.5 kB / 0.5972 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005643/0.1774, allocations: 344.8 kB / 0.5975 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1774, allocations: 0 / 0.5975 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.1775, allocations: 71.91 kB / 0.5976 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.1779, allocations: 20.88 kB / 0.5976 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007176/0.1786, allocations: 0.4927 MB / 0.5981 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1789, allocations: 0.7413 MB / 0.5988 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.179, allocations: 39.41 kB / 0.5989 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.179, allocations: 0 / 0.5989 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of Templates: time 0.004909/0.184, allocations: 2.982 MB / 0.6018 GB, free: 4.668 MB / 0.4981 GB 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)