Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.001626/0.001626, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001931/0.001931, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.8625/0.8625, allocations: 134 MB / 447.2 MB, free: 9.934 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [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.002061/0.002061, allocations: 64.62 kB / 0.6197 GB, free: 6.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1525, allocations: 85.91 MB / 0.7036 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002698/0.1552, allocations: 1.486 MB / 0.705 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.1562, allocations: 411.4 kB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.1563, allocations: 0 / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.105e-05/0.1563, allocations: 11.81 kB / 0.7054 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1564, allocations: 24.22 kB / 0.7054 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.1571, allocations: 243 kB / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.1575, allocations: 299.6 kB / 0.706 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.1576, allocations: 15.98 kB / 0.706 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.1579, allocations: 199.6 kB / 0.7062 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.1581, allocations: 105.6 kB / 0.7063 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.005e-05/0.1582, allocations: 16 kB / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-05/0.1583, allocations: 20 kB / 0.7063 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1584, allocations: 79.72 kB / 0.7064 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1585, allocations: 103.5 kB / 0.7065 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.1589, allocations: 279 kB / 0.7067 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1589, allocations: 4 kB / 0.7068 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1589, allocations: 8 kB / 0.7068 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1589, allocations: 0 / 0.7068 GB, free: 13.3 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.001193/0.1601, allocations: 0.6245 MB / 0.7074 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1601, allocations: 12.03 kB / 0.7074 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.393e-05/0.1602, allocations: 32.78 kB / 0.7074 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.1605, allocations: 210.5 kB / 0.7076 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.1606, allocations: 8.375 kB / 0.7076 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.1606, allocations: 27.92 kB / 0.7076 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.1609, allocations: 149.5 kB / 0.7078 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.161, allocations: 4 kB / 0.7078 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.161, allocations: 0 / 0.7078 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.161, allocations: 0 / 0.7078 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1611, allocations: 47.97 kB / 0.7078 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.1614, allocations: 217.1 kB / 0.708 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.1617, allocations: 118.7 kB / 0.7082 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.1618, allocations: 48.83 kB / 0.7082 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1619, allocations: 7.938 kB / 0.7082 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/0.1623, allocations: 219.5 kB / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.1623, allocations: 0 / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005969/0.1629, allocations: 275.2 kB / 0.7087 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.163, allocations: 63.39 kB / 0.7087 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1633, allocations: 288.2 kB / 0.709 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.1633, allocations: 41.7 kB / 0.7091 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.1634, allocations: 89.14 kB / 0.7091 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.1635, allocations: 55.61 kB / 0.7092 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.1636, allocations: 101.8 kB / 0.7093 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1638, allocations: 322.8 kB / 0.7096 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.1641, allocations: 167.4 kB / 0.7098 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.1644, allocations: 209.8 kB / 0.71 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.1647, allocations: 238 kB / 0.7102 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1647, allocations: 0 / 0.7102 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007744/0.1655, allocations: 481.8 kB / 0.7106 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.013e-05/0.1656, allocations: 79.31 kB / 0.7107 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1656, allocations: 4 kB / 0.7107 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1656, allocations: 0 / 0.7107 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.1658, allocations: 23.92 kB / 0.7108 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1658, allocations: 12.17 kB / 0.7108 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.1663, allocations: 59.84 kB / 0.7108 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.1664, allocations: 55.98 kB / 0.7109 GB, free: 8.777 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.0002031/0.1666, allocations: 168.4 kB / 0.711 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.1666, allocations: 27.8 kB / 0.7111 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.1667, allocations: 30.19 kB / 0.7111 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1667, allocations: 4 kB / 0.7111 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1667, allocations: 3.984 kB / 0.7111 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1667, allocations: 0 / 0.7111 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008129/0.1675, allocations: 0.5043 MB / 0.7116 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1675, allocations: 0 / 0.7116 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.1676, allocations: 15.98 kB / 0.7116 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1676, allocations: 0 / 0.7116 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.1676, allocations: 11.98 kB / 0.7116 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1676, allocations: 0 / 0.7116 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1676, allocations: 0 / 0.7116 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.168, allocations: 335.1 kB / 0.7119 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.1682, allocations: 81.66 kB / 0.712 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.1683, allocations: 12 kB / 0.712 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.1685, allocations: 11.98 kB / 0.712 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.1686, allocations: 19.91 kB / 0.7121 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.1686, allocations: 31.98 kB / 0.7121 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002139/0.1688, allocations: 211 kB / 0.7123 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1688, allocations: 0 / 0.7123 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003192/0.1691, allocations: 48 kB / 0.7123 GB, free: 7.223 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.0001478/0.1693, allocations: 115.8 kB / 0.7124 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006195/0.1699, allocations: 371.8 kB / 0.7128 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1699, allocations: 4 kB / 0.7128 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.1701, allocations: 67.89 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.0003328/0.1704, allocations: 24.91 kB / 0.7129 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.1711, allocations: 429.8 kB / 0.7133 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.1713, allocations: 139.1 kB / 0.7134 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1714, allocations: 35.42 kB / 0.7135 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1714, allocations: 4 kB / 0.7135 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of Templates: time 0.005246/0.1766, allocations: 2.993 MB / 0.7164 GB, free: 2.98 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.981558210216463] Failed to read output from testmodel.py, exit status != 0: 0.18441807106137276 0.20042620700000002 0.038349745000000005 Calling exit ...