Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 108.1 kB / 16.41 MB, free: 6.523 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.001985/0.001985, allocations: 185.8 kB / 17.34 MB, free: 5.734 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.449/1.449, 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.9345/0.9345, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 64.14 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1548, allocations: 80.93 MB / 0.6654 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002729/0.1575, allocations: 1.48 MB / 0.6668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.1585, allocations: 419.3 kB / 0.6672 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.1586, allocations: 0 / 0.6672 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.1587, allocations: 11.86 kB / 0.6672 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.976e-05/0.1588, allocations: 20.23 kB / 0.6672 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.1595, allocations: 242.9 kB / 0.6675 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000382/0.1599, allocations: 299.5 kB / 0.6677 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.1599, allocations: 7.984 kB / 0.6678 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.1602, allocations: 195.6 kB / 0.6679 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.1604, allocations: 110.2 kB / 0.668 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.434e-05/0.1605, allocations: 19.94 kB / 0.6681 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.015e-05/0.1605, allocations: 20 kB / 0.6681 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1606, allocations: 79.7 kB / 0.6682 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.1607, allocations: 119.4 kB / 0.6683 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.1611, allocations: 287 kB / 0.6685 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1611, allocations: 0 / 0.6685 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1611, allocations: 0 / 0.6685 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.1611, allocations: 0 / 0.6685 GB, free: 2.438 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.001264/0.1624, allocations: 0.7076 MB / 0.6692 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1624, allocations: 9.109 kB / 0.6692 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1625, allocations: 40.73 kB / 0.6693 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.1629, allocations: 255.8 kB / 0.6695 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.1629, allocations: 24.3 kB / 0.6696 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.163, allocations: 15.94 kB / 0.6696 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.1633, allocations: 145.5 kB / 0.6697 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1633, allocations: 0 / 0.6697 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1633, allocations: 0 / 0.6697 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1633, allocations: 4 kB / 0.6697 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1635, allocations: 47.97 kB / 0.6698 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.1639, allocations: 309.4 kB / 0.6701 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.1642, allocations: 126.6 kB / 0.6702 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.1643, allocations: 52.83 kB / 0.6702 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1643, allocations: 7.969 kB / 0.6702 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/0.1647, allocations: 217.1 kB / 0.6704 GB, free: 320 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.1647, allocations: 0 / 0.6704 GB, free: 320 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006128/0.1654, allocations: 275.3 kB / 0.6707 GB, free: 40 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.1654, allocations: 55.41 kB / 0.6708 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.1657, allocations: 290.9 kB / 0.671 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.1658, allocations: 41.69 kB / 0.6711 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.1658, allocations: 93.14 kB / 0.6712 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.1659, allocations: 51.61 kB / 0.6712 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.1661, allocations: 109.8 kB / 0.6713 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1662, allocations: 322.8 kB / 0.6716 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.1664, allocations: 92.19 kB / 0.6717 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.1667, allocations: 156.6 kB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.1671, allocations: 237.2 kB / 0.6721 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.1671, allocations: 0 / 0.6721 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007373/0.1678, allocations: 422.3 kB / 0.6725 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.1679, allocations: 71.39 kB / 0.6726 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1679, allocations: 4 kB / 0.6726 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1679, allocations: 0 / 0.6726 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.1681, allocations: 31.91 kB / 0.6726 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1681, allocations: 3.938 kB / 0.6726 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.1686, allocations: 60.09 kB / 0.6726 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.118e-05/0.1686, allocations: 55.98 kB / 0.6727 GB, free: 13.86 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.000193/0.1688, allocations: 171.9 kB / 0.6729 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.1689, allocations: 31.75 kB / 0.6729 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.1689, allocations: 30.25 kB / 0.6729 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1689, allocations: 7.938 kB / 0.6729 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.169, allocations: 4 kB / 0.6729 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.169, allocations: 0 / 0.6729 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008169/0.1698, allocations: 0.5568 MB / 0.6735 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1698, allocations: 0 / 0.6735 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.1698, allocations: 11.92 kB / 0.6735 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1698, allocations: 4 kB / 0.6735 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.1698, allocations: 7.984 kB / 0.6735 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1698, allocations: 0 / 0.6735 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1698, allocations: 0 / 0.6735 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.1703, allocations: 332.8 kB / 0.6738 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.1705, allocations: 156.9 kB / 0.674 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.1705, allocations: 8 kB / 0.674 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.1707, allocations: 7.984 kB / 0.674 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.1708, allocations: 15.98 kB / 0.674 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.1708, allocations: 31.97 kB / 0.674 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002082/0.1711, allocations: 205.9 kB / 0.6742 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1711, allocations: 4 kB / 0.6742 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003109/0.1714, allocations: 55.98 kB / 0.6743 GB, free: 12.13 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.0001419/0.1715, allocations: 107.8 kB / 0.6744 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005635/0.1721, allocations: 320.5 kB / 0.6747 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1721, allocations: 4 kB / 0.6747 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1722, allocations: 63.95 kB / 0.6748 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1726, allocations: 31.69 kB / 0.6748 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.1733, allocations: 429 kB / 0.6752 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.1737, allocations: 0.7396 MB / 0.6759 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.1738, allocations: 35.42 kB / 0.676 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1738, allocations: 0 / 0.676 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.005176/0.179, allocations: 2.997 MB / 0.6789 GB, free: 7.344 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)