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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 220.6 kB / 23 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8463/0.8463, allocations: 134 MB / 447.2 MB, free: 9.922 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 64.06 kB / 0.6197 GB, free: 6.422 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1584, allocations: 85.91 MB / 0.7036 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002804/0.1612, allocations: 1.502 MB / 0.705 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.1621, allocations: 410.9 kB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.1622, allocations: 0 / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.1623, allocations: 7.875 kB / 0.7054 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.1624, allocations: 20.23 kB / 0.7055 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.1631, allocations: 255 kB / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004036/0.1635, allocations: 299.6 kB / 0.706 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.1636, allocations: 4 kB / 0.706 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.1639, allocations: 203.6 kB / 0.7062 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.1641, allocations: 104.1 kB / 0.7063 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.41e-05/0.1642, allocations: 20 kB / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.028e-05/0.1643, allocations: 16 kB / 0.7063 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1644, allocations: 79.72 kB / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.1645, allocations: 103.6 kB / 0.7065 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.1649, allocations: 286.9 kB / 0.7068 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1649, allocations: 0 / 0.7068 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1649, allocations: 0 / 0.7068 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1649, allocations: 0 / 0.7068 GB, free: 13.31 MB / 0.5294 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.001211/0.1661, allocations: 0.6284 MB / 0.7074 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1661, allocations: 8.031 kB / 0.7074 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.374e-05/0.1662, allocations: 32.8 kB / 0.7074 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1666, allocations: 214.6 kB / 0.7076 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.1666, allocations: 12.38 kB / 0.7076 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.1666, allocations: 23.92 kB / 0.7077 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.1669, allocations: 149.5 kB / 0.7078 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1669, allocations: 0 / 0.7078 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.167, allocations: 0 / 0.7078 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.167, allocations: 4 kB / 0.7078 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1671, allocations: 43.97 kB / 0.7078 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.1674, allocations: 221.1 kB / 0.7081 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1677, allocations: 118.6 kB / 0.7082 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.1678, allocations: 52.83 kB / 0.7082 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1678, allocations: 7.938 kB / 0.7082 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004915/0.1683, allocations: 219.6 kB / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.1683, allocations: 0 / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005848/0.1689, allocations: 271.5 kB / 0.7087 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.169, allocations: 67.39 kB / 0.7088 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.1693, allocations: 288.2 kB / 0.709 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.1693, allocations: 45.64 kB / 0.7091 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.1694, allocations: 89.14 kB / 0.7092 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.1695, allocations: 47.64 kB / 0.7092 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.1696, allocations: 105.8 kB / 0.7093 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1698, allocations: 322.8 kB / 0.7096 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.17, allocations: 155.6 kB / 0.7098 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.1703, allocations: 209.8 kB / 0.71 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.1707, allocations: 247.6 kB / 0.7102 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1707, allocations: 0 / 0.7102 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007502/0.1714, allocations: 481.7 kB / 0.7107 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/0.1715, allocations: 83.31 kB / 0.7107 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1715, allocations: 192 / 0.7107 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1715, allocations: 8 kB / 0.7107 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.1717, allocations: 23.92 kB / 0.7108 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1717, allocations: 7.984 kB / 0.7108 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.1722, allocations: 59.84 kB / 0.7108 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.1722, allocations: 51.98 kB / 0.7109 GB, free: 8.781 MB / 0.5294 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.000211/0.1725, allocations: 172.4 kB / 0.711 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.1725, allocations: 27.8 kB / 0.7111 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.1726, allocations: 30.17 kB / 0.7111 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1726, allocations: 4 kB / 0.7111 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1726, allocations: 0 / 0.7111 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1726, allocations: 3.984 kB / 0.7111 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.1734, allocations: 0.4958 MB / 0.7116 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1734, allocations: 0 / 0.7116 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.1734, allocations: 11.98 kB / 0.7116 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.1734, allocations: 4 kB / 0.7116 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1735, allocations: 11.98 kB / 0.7116 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1735, allocations: 4 kB / 0.7116 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1735, allocations: 0 / 0.7116 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.1739, allocations: 335 kB / 0.7119 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.1741, allocations: 93.59 kB / 0.712 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.1742, allocations: 8 kB / 0.712 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.1744, allocations: 15.98 kB / 0.7121 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.1744, allocations: 19.91 kB / 0.7121 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.1745, allocations: 23.98 kB / 0.7121 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002113/0.1747, allocations: 215 kB / 0.7123 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1747, allocations: 0 / 0.7123 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003141/0.175, allocations: 52 kB / 0.7124 GB, free: 7.215 MB / 0.5294 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.0001441/0.1751, allocations: 107.8 kB / 0.7125 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006031/0.1757, allocations: 380.1 kB / 0.7128 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1757, allocations: 0 / 0.7128 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1759, allocations: 63.91 kB / 0.7129 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1762, allocations: 28.89 kB / 0.7129 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006861/0.1769, allocations: 425.8 kB / 0.7133 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.177, allocations: 136.5 kB / 0.7134 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.1772, allocations: 43.42 kB / 0.7135 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.1772, allocations: 0 / 0.7135 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of Templates: time 0.005115/0.1823, allocations: 2.994 MB / 0.7164 GB, free: 2.977 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.226659334264696] Failed to read output from testmodel.py, exit status != 0: 0.18971579102799296 0.20486895800000002 0.037003400000000006 Calling exit ...