Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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/package.mo", uses=false) 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.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: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 109.6 kB / 16.42 MB, free: 6.516 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.001647/0.001647, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7833/0.7833, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 57.34 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002231/0.1283, allocations: 1.484 MB / 0.6618 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00084/0.1292, allocations: 417 kB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.1292, allocations: 0 / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.818e-05/0.1293, allocations: 15.86 kB / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.088e-05/0.1294, allocations: 20.23 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.13, allocations: 245.5 kB / 0.6624 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.1304, allocations: 315.5 kB / 0.6627 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.1304, allocations: 12 kB / 0.6627 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.1307, allocations: 191.6 kB / 0.6629 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1309, allocations: 109.2 kB / 0.663 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.1309, allocations: 16 kB / 0.663 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.673e-05/0.131, allocations: 20 kB / 0.6631 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1311, allocations: 87.64 kB / 0.6632 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1312, allocations: 127.4 kB / 0.6633 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.1315, allocations: 278.9 kB / 0.6635 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1315, allocations: 0 / 0.6635 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1315, allocations: 0 / 0.6635 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1315, allocations: 4 kB / 0.6635 GB, free: 6.965 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.001074/0.1326, allocations: 0.7076 MB / 0.6642 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1327, allocations: 8.031 kB / 0.6642 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.539e-05/0.1328, allocations: 36.78 kB / 0.6643 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.133, allocations: 259.8 kB / 0.6645 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1331, allocations: 20.3 kB / 0.6645 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.1331, allocations: 19.94 kB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.1334, allocations: 145.5 kB / 0.6647 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1334, allocations: 0 / 0.6647 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.1334, allocations: 8 kB / 0.6647 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1334, allocations: 0 / 0.6647 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1336, allocations: 47.97 kB / 0.6648 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.1339, allocations: 309.4 kB / 0.665 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.1342, allocations: 138.6 kB / 0.6652 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1343, allocations: 52.84 kB / 0.6652 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1343, allocations: 7.984 kB / 0.6652 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/0.1347, allocations: 215.5 kB / 0.6654 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.1347, allocations: 0 / 0.6654 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005484/0.1353, allocations: 271.2 kB / 0.6657 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.1353, allocations: 63.41 kB / 0.6658 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1356, allocations: 290.9 kB / 0.666 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.1356, allocations: 37.69 kB / 0.6661 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.1357, allocations: 89.14 kB / 0.6662 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.1357, allocations: 47.67 kB / 0.6662 GB, free: 4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.1359, allocations: 109.8 kB / 0.6663 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.136, allocations: 326.8 kB / 0.6666 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.1362, allocations: 92.11 kB / 0.6667 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.1365, allocations: 154.3 kB / 0.6669 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1368, allocations: 244.1 kB / 0.6671 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1368, allocations: 0 / 0.6671 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006334/0.1374, allocations: 408.8 kB / 0.6675 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/0.1375, allocations: 75.33 kB / 0.6676 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1375, allocations: 4 kB / 0.6676 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1375, allocations: 0 / 0.6676 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1377, allocations: 31.97 kB / 0.6676 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1377, allocations: 3.938 kB / 0.6676 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.1382, allocations: 64 kB / 0.6677 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.1382, allocations: 51.98 kB / 0.6677 GB, free: 2.367 MB / 0.4981 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.0001644/0.1384, allocations: 168.9 kB / 0.6679 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.1385, allocations: 35.69 kB / 0.6679 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.1385, allocations: 38.23 kB / 0.6679 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1385, allocations: 0 / 0.6679 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1385, allocations: 4 kB / 0.6679 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.1387, allocations: 160.8 kB / 0.6681 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.1388, allocations: 12 kB / 0.6681 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1389, allocations: 11.98 kB / 0.6681 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.139, allocations: 19.97 kB / 0.6681 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004562/0.1395, allocations: 286.8 kB / 0.6684 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004349/0.1399, allocations: 402.4 kB / 0.6688 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001273/0.1401, allocations: 61.67 kB / 0.6688 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001714/0.1402, allocations: 213.9 kB / 0.6691 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of Backend: time 4.81e-07/0.1402, allocations: 0 / 0.6691 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007306/0.141, allocations: 373 kB / 0.6694 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0009672/0.142, allocations: 0.8072 MB / 0.6702 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.00751/0.1495, allocations: 4.335 MB / 0.6744 GB, free: 11.38 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)