Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7827/0.7827, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 404.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009946/0.0009948, allocations: 103.5 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 55.92 kB / 0.5636 GB, free: 69.97 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1511, allocations: 80.43 MB / 0.6421 GB, free: 5.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00285/0.154, allocations: 1.544 MB / 0.6436 GB, free: 3.914 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1551, allocations: 448.7 kB / 0.6441 GB, free: 3.473 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.1552, allocations: 0 / 0.6441 GB, free: 3.473 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.1553, allocations: 3.938 kB / 0.6441 GB, free: 3.469 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.1554, allocations: 20.28 kB / 0.6441 GB, free: 3.449 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.1562, allocations: 230.9 kB / 0.6443 GB, free: 3.227 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.1566, allocations: 287.9 kB / 0.6446 GB, free: 2.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.1566, allocations: 7.984 kB / 0.6446 GB, free: 2.938 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.157, allocations: 210.4 kB / 0.6448 GB, free: 2.734 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.1573, allocations: 123.6 kB / 0.6449 GB, free: 2.613 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.02e-05/0.1573, allocations: 8 kB / 0.6449 GB, free: 2.605 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.449e-05/0.1574, allocations: 16 kB / 0.6449 GB, free: 2.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1575, allocations: 67.78 kB / 0.645 GB, free: 2.523 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.1577, allocations: 119.4 kB / 0.6451 GB, free: 2.406 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.1581, allocations: 291.3 kB / 0.6454 GB, free: 2.121 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1581, allocations: 3.938 kB / 0.6454 GB, free: 2.117 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1581, allocations: 0 / 0.6454 GB, free: 2.117 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.1581, allocations: 0 / 0.6454 GB, free: 2.117 MB / 442.7 MB 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.001292/0.1594, allocations: 0.6997 MB / 0.6461 GB, free: 1.344 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1595, allocations: 12.03 kB / 0.6461 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.1596, allocations: 31.72 kB / 0.6461 GB, free: 1.301 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.16, allocations: 254.3 kB / 0.6464 GB, free: 1.016 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.16, allocations: 12 kB / 0.6464 GB, free: 1.004 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.1601, allocations: 12 kB / 0.6464 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.1604, allocations: 145.5 kB / 0.6465 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1604, allocations: 3.938 kB / 0.6465 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.1604, allocations: 3.984 kB / 0.6465 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1604, allocations: 7.938 kB / 0.6465 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1606, allocations: 47.91 kB / 0.6466 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1609, allocations: 321.3 kB / 0.6469 GB, free: 428 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.1612, allocations: 134.8 kB / 0.647 GB, free: 284 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.1614, allocations: 62.77 kB / 0.6471 GB, free: 220 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1614, allocations: 4 kB / 0.6471 GB, free: 216 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004886/0.1619, allocations: 216.7 kB / 0.6473 GB, free: 15.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.1619, allocations: 0 / 0.6473 GB, free: 15.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006082/0.1625, allocations: 274 kB / 0.6476 GB, free: 15.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1626, allocations: 67.39 kB / 0.6476 GB, free: 15.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.1629, allocations: 287 kB / 0.6479 GB, free: 15.35 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.1629, allocations: 37.7 kB / 0.6479 GB, free: 15.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.163, allocations: 89.12 kB / 0.648 GB, free: 15.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.1631, allocations: 51.44 kB / 0.6481 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.1632, allocations: 101.7 kB / 0.6482 GB, free: 15.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1634, allocations: 322.8 kB / 0.6485 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.1636, allocations: 96.17 kB / 0.6486 GB, free: 14.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.1638, allocations: 147.8 kB / 0.6487 GB, free: 14.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.1642, allocations: 249.2 kB / 0.6489 GB, free: 14.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1642, allocations: 3.938 kB / 0.6489 GB, free: 14.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008134/0.165, allocations: 411.3 kB / 0.6493 GB, free: 13.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.232e-05/0.1651, allocations: 71.39 kB / 0.6494 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1651, allocations: 4 kB / 0.6494 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.1652, allocations: 7.938 kB / 0.6494 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.1654, allocations: 36.09 kB / 0.6494 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1654, allocations: 0 / 0.6494 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.1659, allocations: 59.8 kB / 0.6495 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/0.166, allocations: 51.98 kB / 0.6496 GB, free: 13.53 MB / 458.7 MB 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.0002286/0.1662, allocations: 172 kB / 0.6497 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.1663, allocations: 31.62 kB / 0.6497 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.42e-05/0.1664, allocations: 30.25 kB / 0.6498 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1664, allocations: 3.938 kB / 0.6498 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1664, allocations: 0 / 0.6498 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1664, allocations: 4 kB / 0.6498 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009514/0.1674, allocations: 0.5543 MB / 0.6503 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.1674, allocations: 4 kB / 0.6503 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.1674, allocations: 11.98 kB / 0.6503 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1675, allocations: 4 kB / 0.6503 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.1675, allocations: 11.98 kB / 0.6504 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1675, allocations: 4 kB / 0.6504 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1675, allocations: 0 / 0.6504 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.1683, allocations: 0.9356 MB / 0.6513 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.1685, allocations: 164.5 kB / 0.6514 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.1686, allocations: 16 kB / 0.6514 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.1688, allocations: 15.92 kB / 0.6515 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.1689, allocations: 15.97 kB / 0.6515 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.1689, allocations: 31.98 kB / 0.6515 GB, free: 11.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.1691, allocations: 209.9 kB / 0.6517 GB, free: 11.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1691, allocations: 0 / 0.6517 GB, free: 11.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000413/0.1696, allocations: 48 kB / 0.6518 GB, free: 11.14 MB / 458.7 MB 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.0001619/0.1697, allocations: 123.8 kB / 0.6519 GB, free: 11.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005604/0.1703, allocations: 344 kB / 0.6522 GB, free: 10.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1703, allocations: 0 / 0.6522 GB, free: 10.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.1705, allocations: 71.89 kB / 0.6523 GB, free: 10.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1708, allocations: 24.88 kB / 0.6523 GB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008629/0.1717, allocations: 0.5983 MB / 0.6529 GB, free: 9.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1721, allocations: 0.7477 MB / 0.6536 GB, free: 9.137 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.1722, allocations: 37.42 kB / 0.6536 GB, free: 9.098 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.1724, allocations: 35.42 kB / 0.6537 GB, free: 9.062 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1724, allocations: 3.938 kB / 0.6537 GB, free: 9.059 MB / 458.7 MB Notification: Performance of Templates: time 0.007979/0.1804, allocations: 4.124 MB / 0.6577 GB, free: 4.961 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)