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.001478/0.001478, allocations: 100.1 kB / 15.88 MB, free: 12 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.001641/0.001641, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.325/1.325, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9282/0.9282, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.5 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1603, allocations: 80.92 MB / 0.5843 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002674/0.163, allocations: 1.526 MB / 0.5858 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009492/0.164, allocations: 459.4 kB / 0.5863 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.1641, allocations: 0 / 0.5863 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.54e-05/0.1642, allocations: 3.938 kB / 0.5863 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.368e-05/0.1643, allocations: 20.28 kB / 0.5863 GB, free: 3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.1648, allocations: 222.4 kB / 0.5865 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1651, allocations: 295.8 kB / 0.5868 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.1652, allocations: 11.98 kB / 0.5868 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.1655, allocations: 214.3 kB / 0.587 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.1657, allocations: 123.6 kB / 0.5871 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.1657, allocations: 8 kB / 0.5871 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.1658, allocations: 8 kB / 0.5871 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1659, allocations: 75.78 kB / 0.5872 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.1661, allocations: 115.4 kB / 0.5873 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1663, allocations: 203.9 kB / 0.5875 GB, free: 1.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1663, allocations: 0 / 0.5875 GB, free: 1.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1663, allocations: 0 / 0.5875 GB, free: 1.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1663, allocations: 4 kB / 0.5875 GB, free: 1.754 MB / 494.1 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.001207/0.1675, allocations: 0.7036 MB / 0.5882 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1676, allocations: 8.031 kB / 0.5882 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1677, allocations: 31.72 kB / 0.5882 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.168, allocations: 266.2 kB / 0.5885 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.168, allocations: 8 kB / 0.5885 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.1681, allocations: 19.98 kB / 0.5885 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.1684, allocations: 149.5 kB / 0.5887 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1684, allocations: 0 / 0.5887 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.1685, allocations: 0 / 0.5887 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1685, allocations: 4 kB / 0.5887 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1686, allocations: 47.91 kB / 0.5887 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.169, allocations: 309.4 kB / 0.589 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1693, allocations: 138.8 kB / 0.5891 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1694, allocations: 61.08 kB / 0.5892 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1695, allocations: 8 kB / 0.5892 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004683/0.1699, allocations: 220 kB / 0.5894 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.764e-06/0.1699, allocations: 0 / 0.5894 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005854/0.1705, allocations: 272 kB / 0.5897 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1706, allocations: 59.41 kB / 0.5897 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1709, allocations: 294.8 kB / 0.59 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.1709, allocations: 37.69 kB / 0.59 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.171, allocations: 89.14 kB / 0.5901 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.171, allocations: 47.44 kB / 0.5902 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.1712, allocations: 117.6 kB / 0.5903 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1713, allocations: 326.8 kB / 0.5906 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.1716, allocations: 92.17 kB / 0.5907 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.1718, allocations: 146.4 kB / 0.5908 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.1721, allocations: 246.9 kB / 0.5911 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1722, allocations: 0 / 0.5911 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007047/0.1729, allocations: 416.6 kB / 0.5915 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/0.1729, allocations: 79.38 kB / 0.5915 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.173, allocations: 4 kB / 0.5915 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.173, allocations: 4 kB / 0.5915 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.1732, allocations: 23.92 kB / 0.5916 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.1732, allocations: 0 / 0.5916 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.1737, allocations: 67.91 kB / 0.5916 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-05/0.1738, allocations: 55.98 kB / 0.5917 GB, free: 13.15 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.0001725/0.174, allocations: 173.7 kB / 0.5918 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.174, allocations: 23.72 kB / 0.5919 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.1741, allocations: 34.25 kB / 0.5919 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.1741, allocations: 0 / 0.5919 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1741, allocations: 0 / 0.5919 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1741, allocations: 7.984 kB / 0.5919 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.1749, allocations: 0.5606 MB / 0.5925 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1749, allocations: 0 / 0.5925 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.175, allocations: 8 kB / 0.5925 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.175, allocations: 0 / 0.5925 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.175, allocations: 15.97 kB / 0.5925 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.175, allocations: 7.938 kB / 0.5925 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.175, allocations: 0 / 0.5925 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.1755, allocations: 321 kB / 0.5928 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.1757, allocations: 164.6 kB / 0.593 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.1757, allocations: 8 kB / 0.593 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.1759, allocations: 23.48 kB / 0.593 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.176, allocations: 19.97 kB / 0.593 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.1761, allocations: 27.98 kB / 0.593 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001861/0.1763, allocations: 209.9 kB / 0.5932 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1763, allocations: 0 / 0.5932 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000323/0.1766, allocations: 48 kB / 0.5933 GB, free: 11.43 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.0001351/0.1767, allocations: 118.6 kB / 0.5934 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005574/0.1773, allocations: 342.6 kB / 0.5937 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1773, allocations: 0 / 0.5937 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1775, allocations: 71.91 kB / 0.5938 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1778, allocations: 24.81 kB / 0.5938 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.1786, allocations: 0.4893 MB / 0.5943 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1789, allocations: 0.7399 MB / 0.595 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.179, allocations: 39.41 kB / 0.595 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1791, allocations: 3.938 kB / 0.595 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of Templates: time 0.004847/0.1839, allocations: 2.994 MB / 0.598 GB, free: 6.551 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)