Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001477/0.001477, allocations: 110.5 kB / 16.38 MB, free: 6.004 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.001668/0.001668, allocations: 191.2 kB / 17.32 MB, free: 5.613 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7869/0.7869, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 61.44 kB / 0.5819 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1586, allocations: 80.2 MB / 0.6602 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002541/0.1612, allocations: 1.482 MB / 0.6617 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008846/0.1621, allocations: 423.3 kB / 0.6621 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.1622, allocations: 0 / 0.6621 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.19e-05/0.1623, allocations: 7.875 kB / 0.6621 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.169e-05/0.1624, allocations: 24.22 kB / 0.6621 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.1631, allocations: 247 kB / 0.6624 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.1635, allocations: 319.5 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.1635, allocations: 4 kB / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.1638, allocations: 191.7 kB / 0.6629 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.164, allocations: 116.1 kB / 0.663 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.1641, allocations: 16 kB / 0.663 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-05/0.1641, allocations: 23.94 kB / 0.663 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1642, allocations: 75.78 kB / 0.6631 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1644, allocations: 123.4 kB / 0.6632 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.1647, allocations: 275.1 kB / 0.6635 GB, free: 7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1647, allocations: 0 / 0.6635 GB, free: 7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1647, allocations: 0 / 0.6635 GB, free: 7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.1647, allocations: 3.984 kB / 0.6635 GB, free: 6.996 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.001202/0.1659, allocations: 0.7038 MB / 0.6641 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.166, allocations: 8.031 kB / 0.6642 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.386e-05/0.1661, allocations: 32.66 kB / 0.6642 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1663, allocations: 263.5 kB / 0.6644 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.1664, allocations: 12.38 kB / 0.6644 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.1665, allocations: 27.91 kB / 0.6645 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.1667, allocations: 141.5 kB / 0.6646 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1668, allocations: 0 / 0.6646 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.1668, allocations: 8 kB / 0.6646 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1668, allocations: 7.938 kB / 0.6646 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1669, allocations: 47.91 kB / 0.6647 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.1673, allocations: 317.4 kB / 0.665 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.1676, allocations: 126.7 kB / 0.6651 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.1678, allocations: 60.83 kB / 0.6652 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1678, allocations: 0 / 0.6652 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004799/0.1683, allocations: 221 kB / 0.6654 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/0.1683, allocations: 4 kB / 0.6654 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005721/0.1689, allocations: 271.2 kB / 0.6656 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.169, allocations: 63.39 kB / 0.6657 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.1692, allocations: 290.9 kB / 0.666 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.1693, allocations: 37.7 kB / 0.666 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.1694, allocations: 93.12 kB / 0.6661 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.1694, allocations: 43.53 kB / 0.6661 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1696, allocations: 105.6 kB / 0.6662 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1697, allocations: 322.8 kB / 0.6665 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.1699, allocations: 96.17 kB / 0.6666 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.1702, allocations: 150.4 kB / 0.6668 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.1705, allocations: 244.2 kB / 0.667 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1705, allocations: 0 / 0.667 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007068/0.1713, allocations: 416.6 kB / 0.6674 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.536e-05/0.1713, allocations: 75.58 kB / 0.6675 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1714, allocations: 0 / 0.6675 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1714, allocations: 4 kB / 0.6675 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1716, allocations: 31.91 kB / 0.6675 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1716, allocations: 4 kB / 0.6675 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.1721, allocations: 59.8 kB / 0.6676 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.1722, allocations: 47.98 kB / 0.6676 GB, free: 2.402 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 (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.0001731/0.1723, allocations: 175.9 kB / 0.6678 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.1724, allocations: 31.64 kB / 0.6678 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.1725, allocations: 30.25 kB / 0.6678 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1725, allocations: 4 kB / 0.6678 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1725, allocations: 0 / 0.6678 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1725, allocations: 0 / 0.6678 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.1732, allocations: 0.5644 MB / 0.6684 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1733, allocations: 8 kB / 0.6684 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/0.1733, allocations: 7.984 kB / 0.6684 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1733, allocations: 0 / 0.6684 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.1734, allocations: 15.98 kB / 0.6684 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1734, allocations: 0 / 0.6684 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1734, allocations: 0 / 0.6684 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.1738, allocations: 329.1 kB / 0.6687 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.174, allocations: 152.7 kB / 0.6689 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.174, allocations: 15.98 kB / 0.6689 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.1742, allocations: 11.98 kB / 0.6689 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.1743, allocations: 11.98 kB / 0.6689 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.1744, allocations: 31.98 kB / 0.669 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002276/0.1746, allocations: 209.9 kB / 0.6692 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.91e-07/0.1746, allocations: 0 / 0.6692 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003109/0.1749, allocations: 48 kB / 0.6692 GB, free: 0.6758 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 (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.0001325/0.175, allocations: 112.6 kB / 0.6693 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.1756, allocations: 350.4 kB / 0.6696 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1756, allocations: 0 / 0.6696 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1758, allocations: 73.94 kB / 0.6697 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1761, allocations: 20.88 kB / 0.6697 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.1769, allocations: 413.8 kB / 0.6701 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1772, allocations: 0.7435 MB / 0.6709 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.1773, allocations: 43.41 kB / 0.6709 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1773, allocations: 0 / 0.6709 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.004654/0.182, allocations: 2.978 MB / 0.6738 GB, free: 11.89 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)