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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 110.2 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.00133, allocations: 187 kB / 17.34 MB, free: 5.762 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.596/1.596, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.798/0.798, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 57.5 kB / 0.5862 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1523, allocations: 80.92 MB / 0.6653 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.00281/0.1552, allocations: 1.477 MB / 0.6667 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009613/0.1562, allocations: 419.4 kB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.1563, allocations: 0 / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.1564, allocations: 11.86 kB / 0.6671 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.1565, allocations: 28.22 kB / 0.6671 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000902/0.1574, allocations: 242.9 kB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.1579, allocations: 307.5 kB / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.158, allocations: 11.92 kB / 0.6677 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.1583, allocations: 195.7 kB / 0.6679 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.1586, allocations: 112 kB / 0.668 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.032e-05/0.1587, allocations: 20 kB / 0.668 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.668e-05/0.1588, allocations: 16 kB / 0.668 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1589, allocations: 87.7 kB / 0.6681 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.159, allocations: 119.4 kB / 0.6682 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.1594, allocations: 275.1 kB / 0.6685 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1594, allocations: 0 / 0.6685 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1594, allocations: 0 / 0.6685 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.1594, allocations: 0 / 0.6685 GB, free: 2.539 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.001257/0.1607, allocations: 0.7076 MB / 0.6692 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1607, allocations: 13.09 kB / 0.6692 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.1608, allocations: 28.66 kB / 0.6692 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.1611, allocations: 259.6 kB / 0.6694 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.1612, allocations: 12.36 kB / 0.6695 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.1612, allocations: 23.94 kB / 0.6695 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.1615, allocations: 145.5 kB / 0.6696 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1616, allocations: 0 / 0.6696 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.1616, allocations: 7.984 kB / 0.6696 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1616, allocations: 0 / 0.6696 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1617, allocations: 47.92 kB / 0.6697 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.1621, allocations: 317.3 kB / 0.67 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.1624, allocations: 130.6 kB / 0.6701 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1626, allocations: 60.83 kB / 0.6702 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1626, allocations: 4 kB / 0.6702 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004494/0.163, allocations: 225.3 kB / 0.6704 GB, free: 400 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.664e-06/0.1631, allocations: 4 kB / 0.6704 GB, free: 396 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005849/0.1637, allocations: 273.1 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1637, allocations: 55.41 kB / 0.6707 GB, free: 48 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.164, allocations: 287.1 kB / 0.671 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.1641, allocations: 41.69 kB / 0.671 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.1641, allocations: 93.05 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.1642, allocations: 39.52 kB / 0.6711 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.1644, allocations: 109.6 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1645, allocations: 326.8 kB / 0.6715 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.1647, allocations: 92.12 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.165, allocations: 144.7 kB / 0.6718 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.1654, allocations: 247.1 kB / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1654, allocations: 4 kB / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000686/0.1661, allocations: 404.7 kB / 0.6724 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-05/0.1662, allocations: 76.98 kB / 0.6725 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1662, allocations: 4 kB / 0.6725 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.1662, allocations: 7.938 kB / 0.6725 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.1664, allocations: 27.91 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1664, allocations: 4 kB / 0.6725 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.1669, allocations: 59.8 kB / 0.6726 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/0.167, allocations: 51.98 kB / 0.6726 GB, free: 13.95 MB / 0.5137 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 (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.0001932/0.1672, allocations: 172 kB / 0.6728 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.1673, allocations: 35.55 kB / 0.6728 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.1673, allocations: 30.25 kB / 0.6728 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1673, allocations: 4 kB / 0.6729 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1673, allocations: 0 / 0.6729 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1673, allocations: 0 / 0.6729 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007823/0.1681, allocations: 0.5606 MB / 0.6734 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1681, allocations: 7.984 kB / 0.6734 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.1682, allocations: 8 kB / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1682, allocations: 0 / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.1682, allocations: 15.98 kB / 0.6734 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1682, allocations: 0 / 0.6734 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1683, allocations: 0 / 0.6734 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.1687, allocations: 337 kB / 0.6738 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.1689, allocations: 152.7 kB / 0.6739 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.1689, allocations: 8 kB / 0.6739 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1692, allocations: 15.98 kB / 0.6739 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.1692, allocations: 15.98 kB / 0.6739 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.1693, allocations: 35.97 kB / 0.674 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001979/0.1695, allocations: 205.9 kB / 0.6742 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1695, allocations: 0 / 0.6742 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003231/0.1698, allocations: 47.98 kB / 0.6742 GB, free: 12.22 MB / 0.5137 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 (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.0001415/0.17, allocations: 116.3 kB / 0.6743 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005419/0.1705, allocations: 350.5 kB / 0.6747 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1705, allocations: 0 / 0.6747 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1707, allocations: 79.02 kB / 0.6747 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.171, allocations: 25.75 kB / 0.6748 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.1717, allocations: 409.8 kB / 0.6751 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1721, allocations: 0.7396 MB / 0.6759 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1722, allocations: 35.42 kB / 0.6759 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of SimCode: time 3.8e-07/0.1722, allocations: 4 kB / 0.6759 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.005354/0.1776, allocations: 2.986 MB / 0.6788 GB, free: 7.426 MB / 0.5137 GB 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)