Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009166/0.009166, allocations: 171.1 kB / 16.26 MB, free: 6.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.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9584/0.9584, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 15.94 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1643, allocations: 82.3 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001608/0.1659, allocations: 1.188 MB / 0.5891 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.1669, allocations: 445.2 kB / 0.5895 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.167, allocations: 0 / 0.5895 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.211e-05/0.1671, allocations: 7.922 kB / 0.5896 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.1672, allocations: 24.28 kB / 0.5896 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.1679, allocations: 219.5 kB / 0.5898 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.1683, allocations: 291.9 kB / 0.5901 GB, free: 460 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.1683, allocations: 7.984 kB / 0.5901 GB, free: 452 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.1687, allocations: 210.3 kB / 0.5903 GB, free: 244 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.1689, allocations: 119.6 kB / 0.5904 GB, free: 124 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.569e-05/0.169, allocations: 16 kB / 0.5904 GB, free: 108 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.169, allocations: 8 kB / 0.5904 GB, free: 100 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1691, allocations: 75.7 kB / 0.5905 GB, free: 24 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.1693, allocations: 145.2 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.1697, allocations: 283.1 kB / 0.5909 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1697, allocations: 0 / 0.5909 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1697, allocations: 0 / 0.5909 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.1697, allocations: 0 / 0.5909 GB, free: 15.6 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.001099/0.1708, allocations: 0.6141 MB / 0.5915 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1708, allocations: 12.03 kB / 0.5915 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.171, allocations: 27.72 kB / 0.5915 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1713, allocations: 254.3 kB / 0.5918 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.1713, allocations: 15.98 kB / 0.5918 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/0.1714, allocations: 20 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.1717, allocations: 141.5 kB / 0.5919 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1717, allocations: 7.875 kB / 0.5919 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.1717, allocations: 8 kB / 0.592 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1717, allocations: 0 / 0.592 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1719, allocations: 47.97 kB / 0.592 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1723, allocations: 313.3 kB / 0.5923 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.1726, allocations: 142.7 kB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.1727, allocations: 64.77 kB / 0.5925 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1728, allocations: 4 kB / 0.5925 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.1732, allocations: 215.5 kB / 0.5927 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1733, allocations: 4 kB / 0.5927 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006023/0.1739, allocations: 275.6 kB / 0.593 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1739, allocations: 59.41 kB / 0.593 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.1742, allocations: 287 kB / 0.5933 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.1743, allocations: 41.69 kB / 0.5933 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.1744, allocations: 93.05 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.1744, allocations: 43.53 kB / 0.5935 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.1745, allocations: 37.69 kB / 0.5935 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1746, allocations: 322.8 kB / 0.5938 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.1749, allocations: 92.19 kB / 0.5939 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.1752, allocations: 151.1 kB / 0.5941 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.1755, allocations: 247.1 kB / 0.5943 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1755, allocations: 0 / 0.5943 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007156/0.1763, allocations: 414.1 kB / 0.5947 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.1763, allocations: 75.33 kB / 0.5948 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1764, allocations: 8.188 kB / 0.5948 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1764, allocations: 3.938 kB / 0.5948 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.1766, allocations: 35.91 kB / 0.5948 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.1766, allocations: 0 / 0.5948 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.1772, allocations: 75.8 kB / 0.5949 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/0.1773, allocations: 51.98 kB / 0.5949 GB, free: 11.14 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.0001897/0.1775, allocations: 172 kB / 0.5951 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.1775, allocations: 23.72 kB / 0.5951 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.1776, allocations: 30.25 kB / 0.5951 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1776, allocations: 7.938 kB / 0.5951 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1776, allocations: 4 kB / 0.5951 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1776, allocations: 0 / 0.5951 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.1784, allocations: 0.5606 MB / 0.5957 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1784, allocations: 0 / 0.5957 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.1785, allocations: 11.98 kB / 0.5957 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1785, allocations: 0 / 0.5957 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.1785, allocations: 15.98 kB / 0.5957 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1785, allocations: 0 / 0.5957 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1785, allocations: 0 / 0.5957 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.179, allocations: 333 kB / 0.596 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.1791, allocations: 160.5 kB / 0.5962 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.1792, allocations: 8 kB / 0.5962 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.1794, allocations: 15.98 kB / 0.5962 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.1795, allocations: 15.92 kB / 0.5962 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.1795, allocations: 35.97 kB / 0.5963 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001923/0.1797, allocations: 205.9 kB / 0.5965 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1797, allocations: 0 / 0.5965 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003299/0.1801, allocations: 55.98 kB / 0.5965 GB, free: 9.41 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.0001611/0.1802, allocations: 111.2 kB / 0.5966 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006178/0.1809, allocations: 338.6 kB / 0.5969 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1809, allocations: 0 / 0.5969 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.1811, allocations: 77.14 kB / 0.597 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1815, allocations: 28.91 kB / 0.597 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.1823, allocations: 470.8 kB / 0.5975 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1827, allocations: 0.7408 MB / 0.5982 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.1829, allocations: 37.42 kB / 0.5983 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.183, allocations: 39.42 kB / 0.5983 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.183, allocations: 0 / 0.5983 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.008467/0.1915, allocations: 3.971 MB / 0.6022 GB, free: 3.57 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)