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.001288/0.001288, allocations: 79.97 kB / 19.76 MB, free: 1.875 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.001387/0.001387, allocations: 162.2 kB / 23.01 MB, free: 4.602 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.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.7964/0.7964, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.00204/0.00204, allocations: 67.14 kB / 0.5356 GB, free: 5.297 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1472, allocations: 85.88 MB / 0.6195 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002679/0.1499, allocations: 1.482 MB / 0.6209 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.1508, allocations: 425 kB / 0.6213 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.1508, allocations: 0 / 0.6213 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.647e-05/0.1509, allocations: 7.875 kB / 0.6213 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1511, allocations: 20.23 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.1518, allocations: 247.3 kB / 0.6216 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.1521, allocations: 311.5 kB / 0.6219 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.1522, allocations: 4 kB / 0.6219 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.1525, allocations: 199.7 kB / 0.6221 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.1527, allocations: 102.5 kB / 0.6222 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.868e-05/0.1528, allocations: 20 kB / 0.6222 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.1529, allocations: 16 kB / 0.6222 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.153, allocations: 83.77 kB / 0.6223 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1532, allocations: 103.5 kB / 0.6224 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.1535, allocations: 286.8 kB / 0.6227 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1535, allocations: 0 / 0.6227 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1535, allocations: 4 kB / 0.6227 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.1535, allocations: 0 / 0.6227 GB, free: 14.37 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.001229/0.1548, allocations: 0.6324 MB / 0.6233 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1548, allocations: 8.031 kB / 0.6233 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.844e-05/0.1549, allocations: 40.73 kB / 0.6233 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1552, allocations: 206.7 kB / 0.6235 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.1553, allocations: 16.36 kB / 0.6235 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.1553, allocations: 19.94 kB / 0.6235 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1556, allocations: 157.5 kB / 0.6237 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1556, allocations: 3.938 kB / 0.6237 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.1556, allocations: 0 / 0.6237 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1556, allocations: 7.984 kB / 0.6237 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1558, allocations: 47.92 kB / 0.6238 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.1561, allocations: 221.1 kB / 0.624 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.1564, allocations: 118.7 kB / 0.6241 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1565, allocations: 52.77 kB / 0.6241 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1565, allocations: 7.938 kB / 0.6241 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.1569, allocations: 215.7 kB / 0.6243 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.115e-05/0.157, allocations: 3.984 kB / 0.6243 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006231/0.1576, allocations: 287.4 kB / 0.6246 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.1576, allocations: 59.41 kB / 0.6247 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.1579, allocations: 288.2 kB / 0.625 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.158, allocations: 41.7 kB / 0.625 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.1581, allocations: 97.11 kB / 0.6251 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.1581, allocations: 47.64 kB / 0.6251 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.1583, allocations: 101.8 kB / 0.6252 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1585, allocations: 326.8 kB / 0.6255 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.1587, allocations: 163.6 kB / 0.6257 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.159, allocations: 213.8 kB / 0.6259 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.1594, allocations: 249.2 kB / 0.6261 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1594, allocations: 0 / 0.6261 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007677/0.1602, allocations: 481.8 kB / 0.6266 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.023e-05/0.1602, allocations: 75.33 kB / 0.6267 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1602, allocations: 0 / 0.6267 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1602, allocations: 7.938 kB / 0.6267 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1604, allocations: 31.91 kB / 0.6267 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1604, allocations: 4.188 kB / 0.6267 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.1609, allocations: 71.83 kB / 0.6268 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.161, allocations: 55.98 kB / 0.6268 GB, free: 9.77 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.000183/0.1612, allocations: 168.4 kB / 0.627 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.1612, allocations: 31.8 kB / 0.627 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.1613, allocations: 34.19 kB / 0.6271 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1613, allocations: 4 kB / 0.6271 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1613, allocations: 0 / 0.6271 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1613, allocations: 0 / 0.6271 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008232/0.1621, allocations: 0.5037 MB / 0.6276 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1621, allocations: 0 / 0.6276 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.1622, allocations: 4 kB / 0.6276 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1622, allocations: 4 kB / 0.6276 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.1622, allocations: 11.97 kB / 0.6276 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1622, allocations: 8 kB / 0.6276 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1622, allocations: 0 / 0.6276 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.1627, allocations: 343 kB / 0.6279 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.1629, allocations: 81.59 kB / 0.628 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.1629, allocations: 15.92 kB / 0.628 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1632, allocations: 15.98 kB / 0.628 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.1632, allocations: 11.98 kB / 0.628 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.1633, allocations: 35.97 kB / 0.6281 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002058/0.1635, allocations: 207.1 kB / 0.6283 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1635, allocations: 0 / 0.6283 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003191/0.1638, allocations: 51.98 kB / 0.6283 GB, free: 8.203 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.0001424/0.1639, allocations: 123.8 kB / 0.6284 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005872/0.1645, allocations: 376.5 kB / 0.6288 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1645, allocations: 4 kB / 0.6288 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1647, allocations: 63.91 kB / 0.6288 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.165, allocations: 24.91 kB / 0.6289 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.1656, allocations: 403.5 kB / 0.6293 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.1658, allocations: 125.5 kB / 0.6294 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.1659, allocations: 41.47 kB / 0.6294 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.166, allocations: 44.47 kB / 0.6295 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.166, allocations: 0 / 0.6295 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of Templates: time 0.008372/0.1744, allocations: 4.611 MB / 0.634 GB, free: 2.363 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.129577812040225] Failed to read output from testmodel.py, exit status != 0: 0.18187141395173967 0.19714615600000002 0.040582491000000005 Calling exit ...