Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00794/0.00794, allocations: 100 kB / 15.73 MB, free: 6.008 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.002013/0.002013, allocations: 193 kB / 16.67 MB, free: 5.926 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7939/0.7939, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001513, allocations: 61.38 kB / 0.5851 GB, free: 21.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1607, allocations: 80.92 MB / 0.6641 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.0027/0.1635, allocations: 1.488 MB / 0.6656 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009559/0.1645, allocations: 418.1 kB / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.1646, allocations: 0 / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.1647, allocations: 11.86 kB / 0.666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.1648, allocations: 28.23 kB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007951/0.1656, allocations: 238.9 kB / 0.6662 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.166, allocations: 319.5 kB / 0.6665 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.1661, allocations: 12 kB / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.1664, allocations: 191.7 kB / 0.6667 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.1667, allocations: 104.1 kB / 0.6668 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.1667, allocations: 16 kB / 0.6669 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.203e-05/0.1668, allocations: 20 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1669, allocations: 83.7 kB / 0.667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1671, allocations: 119.4 kB / 0.6671 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.1674, allocations: 283.2 kB / 0.6673 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1674, allocations: 4 kB / 0.6673 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1674, allocations: 3.938 kB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.1674, allocations: 0 / 0.6673 GB, free: 3.004 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.001222/0.1687, allocations: 0.6998 MB / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1687, allocations: 9.109 kB / 0.668 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.1688, allocations: 46.67 kB / 0.6681 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.176e-05/0.1689, allocations: 32.75 kB / 0.6681 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1692, allocations: 263.8 kB / 0.6684 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1692, allocations: 16.12 kB / 0.6684 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/0.1693, allocations: 23.98 kB / 0.6684 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.1696, allocations: 149.5 kB / 0.6685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1696, allocations: 3.938 kB / 0.6685 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.1696, allocations: 0 / 0.6685 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1697, allocations: 0 / 0.6685 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1698, allocations: 51.97 kB / 0.6686 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.1702, allocations: 313.4 kB / 0.6689 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.1704, allocations: 130.6 kB / 0.669 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.1706, allocations: 60.83 kB / 0.6691 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1706, allocations: 0 / 0.6691 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000432/0.1711, allocations: 219.6 kB / 0.6693 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.1711, allocations: 0 / 0.6693 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006543/0.1717, allocations: 271 kB / 0.6695 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1718, allocations: 63.39 kB / 0.6696 GB, free: 476 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.1721, allocations: 290.9 kB / 0.6699 GB, free: 176 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.1721, allocations: 37.7 kB / 0.6699 GB, free: 132 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.1722, allocations: 97.12 kB / 0.67 GB, free: 32 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.1723, allocations: 47.86 kB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.1724, allocations: 101.8 kB / 0.6702 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1726, allocations: 330.8 kB / 0.6705 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.1728, allocations: 92.17 kB / 0.6706 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.1731, allocations: 148.7 kB / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.1735, allocations: 239.3 kB / 0.6709 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1735, allocations: 8 kB / 0.6709 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006973/0.1742, allocations: 404.7 kB / 0.6713 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.155e-05/0.1743, allocations: 79.38 kB / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1743, allocations: 0 / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1743, allocations: 4 kB / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.1745, allocations: 23.92 kB / 0.6714 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.1745, allocations: 7.984 kB / 0.6714 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.175, allocations: 60.09 kB / 0.6715 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.1751, allocations: 51.98 kB / 0.6715 GB, free: 14.37 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.0002063/0.1754, allocations: 167.9 kB / 0.6717 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.1754, allocations: 31.75 kB / 0.6717 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.1755, allocations: 30.25 kB / 0.6718 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.1755, allocations: 8 kB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1755, allocations: 3.984 kB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1755, allocations: 3.938 kB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008669/0.1764, allocations: 0.5665 MB / 0.6723 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1764, allocations: 0 / 0.6723 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.1765, allocations: 15.97 kB / 0.6723 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1765, allocations: 0 / 0.6723 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.1765, allocations: 15.98 kB / 0.6724 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1765, allocations: 0 / 0.6724 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1765, allocations: 0 / 0.6724 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.177, allocations: 331.1 kB / 0.6727 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.1772, allocations: 152.8 kB / 0.6728 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.1773, allocations: 11.98 kB / 0.6728 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.1775, allocations: 12 kB / 0.6728 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.1775, allocations: 15.97 kB / 0.6729 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.1776, allocations: 31.98 kB / 0.6729 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001723/0.1778, allocations: 209.9 kB / 0.6731 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1778, allocations: 4 kB / 0.6731 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003158/0.1781, allocations: 47.94 kB / 0.6731 GB, free: 12.63 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.0006999/0.1788, allocations: 0.8671 MB / 0.674 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005417/0.1794, allocations: 349.1 kB / 0.6743 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1794, allocations: 0 / 0.6743 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.1795, allocations: 79.89 kB / 0.6744 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.1799, allocations: 20.88 kB / 0.6744 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.1828, allocations: 2.408 MB / 0.6768 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.1832, allocations: 0.7396 MB / 0.6775 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.1834, allocations: 37.42 kB / 0.6775 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1835, allocations: 43.41 kB / 0.6776 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.1835, allocations: 0 / 0.6776 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.2071, allocations: 5.283 MB / 0.6827 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.085, allocations: 3.938 kB / 0.6827 GB, free: 2.703 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)