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.001388/0.001388, allocations: 106.3 kB / 16.41 MB, free: 6.5 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.001325/0.001325, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.349/1.349, 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-master/package.mo): time 0.8035/0.8035, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.31 kB / 0.5862 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1524, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002481/0.155, allocations: 1.487 MB / 0.6667 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.1559, allocations: 419.4 kB / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.156, allocations: 0 / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.983e-05/0.1561, allocations: 7.922 kB / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.1562, allocations: 28.22 kB / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006617/0.1568, allocations: 238.9 kB / 0.6674 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.1572, allocations: 315.5 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.1573, allocations: 8 kB / 0.6677 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.1575, allocations: 195.7 kB / 0.6679 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1578, allocations: 112 kB / 0.668 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.182e-05/0.1579, allocations: 20 kB / 0.668 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/0.1579, allocations: 16 kB / 0.668 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.158, allocations: 83.72 kB / 0.6681 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1582, allocations: 123.3 kB / 0.6682 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1585, allocations: 279.1 kB / 0.6685 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1585, allocations: 4 kB / 0.6685 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1585, allocations: 4 kB / 0.6685 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1585, allocations: 0 / 0.6685 GB, free: 2.504 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.001197/0.1597, allocations: 0.6959 MB / 0.6692 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1597, allocations: 13.11 kB / 0.6692 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.1598, allocations: 28.66 kB / 0.6692 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1601, allocations: 263.6 kB / 0.6695 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.1602, allocations: 12.38 kB / 0.6695 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.1602, allocations: 23.94 kB / 0.6695 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1605, allocations: 149.5 kB / 0.6696 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1605, allocations: 0 / 0.6696 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.1606, allocations: 3.984 kB / 0.6696 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1606, allocations: 0 / 0.6696 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1607, allocations: 47.97 kB / 0.6697 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.1611, allocations: 309.3 kB / 0.67 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.1614, allocations: 142.6 kB / 0.6701 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1615, allocations: 56.83 kB / 0.6702 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1615, allocations: 3.984 kB / 0.6702 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004393/0.162, allocations: 229.5 kB / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.714e-06/0.162, allocations: 0 / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005726/0.1626, allocations: 269.1 kB / 0.6707 GB, free: 92 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.1626, allocations: 55.41 kB / 0.6707 GB, free: 24 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.1629, allocations: 291 kB / 0.671 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.163, allocations: 37.7 kB / 0.671 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.1631, allocations: 93.05 kB / 0.6711 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.1631, allocations: 39.61 kB / 0.6711 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.1633, allocations: 113.6 kB / 0.6713 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1634, allocations: 322.8 kB / 0.6716 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.1637, allocations: 96.17 kB / 0.6717 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.1639, allocations: 140.6 kB / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.1642, allocations: 246.9 kB / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1642, allocations: 4 kB / 0.672 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006504/0.1649, allocations: 410.4 kB / 0.6724 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.165, allocations: 81.25 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.165, allocations: 0 / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.165, allocations: 4 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.1652, allocations: 23.92 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.1652, allocations: 7.984 kB / 0.6725 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.1657, allocations: 63.98 kB / 0.6726 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.1658, allocations: 55.92 kB / 0.6726 GB, free: 13.92 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.000187/0.166, allocations: 168 kB / 0.6728 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.1661, allocations: 31.56 kB / 0.6728 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/0.1661, allocations: 30.25 kB / 0.6729 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1661, allocations: 0 / 0.6729 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1661, allocations: 8 kB / 0.6729 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1662, allocations: 4 kB / 0.6729 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.1669, allocations: 0.5645 MB / 0.6734 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1669, allocations: 0 / 0.6734 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.167, allocations: 12 kB / 0.6734 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.167, allocations: 0 / 0.6734 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.167, allocations: 15.97 kB / 0.6735 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.167, allocations: 3.938 kB / 0.6735 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.167, allocations: 0 / 0.6735 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.1674, allocations: 332.6 kB / 0.6738 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.1676, allocations: 152.7 kB / 0.6739 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.1677, allocations: 8 kB / 0.6739 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1679, allocations: 11.98 kB / 0.6739 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.168, allocations: 19.97 kB / 0.674 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.168, allocations: 27.98 kB / 0.674 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001749/0.1682, allocations: 205.9 kB / 0.6742 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1682, allocations: 0 / 0.6742 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003208/0.1685, allocations: 51.98 kB / 0.6742 GB, free: 12.2 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.0001348/0.1687, allocations: 123.8 kB / 0.6743 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005456/0.1692, allocations: 346.5 kB / 0.6747 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1692, allocations: 0 / 0.6747 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.1694, allocations: 75.03 kB / 0.6748 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1697, allocations: 20.88 kB / 0.6748 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006555/0.1704, allocations: 409.8 kB / 0.6752 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1707, allocations: 0.7407 MB / 0.6759 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.1708, allocations: 43.36 kB / 0.6759 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.1708, allocations: 0 / 0.6759 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.004764/0.1756, allocations: 2.984 MB / 0.6788 GB, free: 7.398 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)