Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001145/0.001145, allocations: 112 kB / 16.38 MB, free: 6.488 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.001149/0.001149, allocations: 190.2 kB / 17.31 MB, free: 5.781 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.279/1.279, 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/package.mo): time 0.7673/0.7673, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.53 kB / 0.5819 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1514, allocations: 80.21 MB / 0.6603 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002751/0.1542, allocations: 1.477 MB / 0.6617 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009416/0.1552, allocations: 419.3 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.1553, allocations: 4 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.1554, allocations: 11.86 kB / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1555, allocations: 28.22 kB / 0.6621 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.1562, allocations: 241.5 kB / 0.6624 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000367/0.1566, allocations: 315.5 kB / 0.6627 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.1567, allocations: 7.984 kB / 0.6627 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.1569, allocations: 195.6 kB / 0.6629 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.1572, allocations: 111.1 kB / 0.663 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.1572, allocations: 20 kB / 0.663 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.708e-05/0.1573, allocations: 16 kB / 0.663 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1574, allocations: 83.72 kB / 0.6631 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1576, allocations: 123.4 kB / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.1579, allocations: 283.1 kB / 0.6635 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1579, allocations: 0 / 0.6635 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1579, allocations: 0 / 0.6635 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1579, allocations: 0 / 0.6635 GB, free: 7.023 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.001214/0.1591, allocations: 0.6999 MB / 0.6642 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1592, allocations: 8.031 kB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.638e-05/0.1593, allocations: 32.66 kB / 0.6642 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.1596, allocations: 263.5 kB / 0.6644 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.1596, allocations: 16.36 kB / 0.6645 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.1597, allocations: 19.94 kB / 0.6645 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.16, allocations: 145.5 kB / 0.6646 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.16, allocations: 0 / 0.6646 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.1601, allocations: 3.984 kB / 0.6646 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1601, allocations: 0 / 0.6646 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1602, allocations: 51.91 kB / 0.6647 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.1606, allocations: 313.4 kB / 0.665 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.1609, allocations: 137.9 kB / 0.6651 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.161, allocations: 56.83 kB / 0.6652 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1611, allocations: 4 kB / 0.6652 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000466/0.1615, allocations: 225.2 kB / 0.6654 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/0.1615, allocations: 3.938 kB / 0.6654 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006097/0.1622, allocations: 271.2 kB / 0.6656 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.1622, allocations: 55.41 kB / 0.6657 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1625, allocations: 294.9 kB / 0.666 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.1626, allocations: 41.7 kB / 0.666 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.1627, allocations: 89.14 kB / 0.6661 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.1627, allocations: 39.59 kB / 0.6661 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.1629, allocations: 109.6 kB / 0.6662 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.163, allocations: 322.8 kB / 0.6665 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1633, allocations: 100.1 kB / 0.6666 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.1635, allocations: 142.4 kB / 0.6668 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.1638, allocations: 249.2 kB / 0.667 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1639, allocations: 4 kB / 0.667 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006713/0.1645, allocations: 410.8 kB / 0.6674 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.151e-05/0.1646, allocations: 75.39 kB / 0.6675 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1646, allocations: 3.984 kB / 0.6675 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1647, allocations: 4 kB / 0.6675 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.1648, allocations: 23.92 kB / 0.6675 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1649, allocations: 4 kB / 0.6675 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.1654, allocations: 63.98 kB / 0.6676 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.1655, allocations: 51.98 kB / 0.6676 GB, free: 2.434 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.0002051/0.1657, allocations: 172.8 kB / 0.6678 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.1657, allocations: 27.66 kB / 0.6678 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.1658, allocations: 34.25 kB / 0.6679 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1658, allocations: 4 kB / 0.6679 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1658, allocations: 0 / 0.6679 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1658, allocations: 0 / 0.6679 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/0.1667, allocations: 0.5683 MB / 0.6684 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1667, allocations: 0 / 0.6684 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.1667, allocations: 12 kB / 0.6684 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1667, allocations: 0 / 0.6684 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.1668, allocations: 11.98 kB / 0.6684 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1668, allocations: 3.984 kB / 0.6684 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1668, allocations: 4 kB / 0.6684 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.1672, allocations: 324.8 kB / 0.6688 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.1674, allocations: 152.7 kB / 0.6689 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.1674, allocations: 8 kB / 0.6689 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.1676, allocations: 11.98 kB / 0.6689 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.1677, allocations: 15.98 kB / 0.6689 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.1678, allocations: 31.97 kB / 0.669 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001782/0.1679, allocations: 209.9 kB / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1679, allocations: 0 / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003235/0.1683, allocations: 55.92 kB / 0.6692 GB, free: 0.707 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.0001481/0.1684, allocations: 112.6 kB / 0.6693 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.169, allocations: 350.4 kB / 0.6697 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.169, allocations: 0 / 0.6697 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1692, allocations: 78.14 kB / 0.6697 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1695, allocations: 27.28 kB / 0.6698 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/0.1703, allocations: 409.4 kB / 0.6701 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1707, allocations: 0.7396 MB / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.1708, allocations: 35.42 kB / 0.6709 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.1708, allocations: 0 / 0.6709 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.005012/0.1759, allocations: 2.979 MB / 0.6738 GB, free: 11.92 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)