Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001281/0.001281, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7413/0.7413, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 65.02 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1388, allocations: 80.93 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002249/0.1411, allocations: 1.473 MB / 0.6667 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008027/0.1419, allocations: 415.4 kB / 0.6671 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.142, allocations: 4 kB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.555e-05/0.1421, allocations: 11.86 kB / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.1422, allocations: 28.22 kB / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.1428, allocations: 239 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.1431, allocations: 319.5 kB / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.1431, allocations: 4 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.1434, allocations: 199.6 kB / 0.6679 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.1436, allocations: 109.8 kB / 0.668 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/0.1437, allocations: 24 kB / 0.668 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.1437, allocations: 16 kB / 0.668 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.909e-05/0.1438, allocations: 79.72 kB / 0.6681 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.144, allocations: 123.4 kB / 0.6682 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.1442, allocations: 275.1 kB / 0.6685 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.1443, allocations: 4 kB / 0.6685 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1443, allocations: 0 / 0.6685 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1443, allocations: 0 / 0.6685 GB, free: 2.52 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.001078/0.1454, allocations: 0.6998 MB / 0.6692 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1454, allocations: 9.109 kB / 0.6692 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.1455, allocations: 32.66 kB / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.1458, allocations: 263.5 kB / 0.6695 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.1458, allocations: 16.36 kB / 0.6695 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.1459, allocations: 15.94 kB / 0.6695 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.1462, allocations: 145.5 kB / 0.6696 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1462, allocations: 0 / 0.6696 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.1462, allocations: 7.984 kB / 0.6696 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1462, allocations: 4 kB / 0.6696 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1464, allocations: 47.97 kB / 0.6697 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.1467, allocations: 317.3 kB / 0.67 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1469, allocations: 142.6 kB / 0.6701 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1471, allocations: 52.83 kB / 0.6702 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1471, allocations: 4 kB / 0.6702 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003725/0.1475, allocations: 225.2 kB / 0.6704 GB, free: 380 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1475, allocations: 0 / 0.6704 GB, free: 380 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005255/0.148, allocations: 266.9 kB / 0.6707 GB, free: 108 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1481, allocations: 63.41 kB / 0.6707 GB, free: 32 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.1483, allocations: 291 kB / 0.671 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.1484, allocations: 33.7 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.1484, allocations: 93.05 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.1485, allocations: 39.59 kB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1487, allocations: 117.5 kB / 0.6713 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.1488, allocations: 322.8 kB / 0.6716 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.149, allocations: 88.17 kB / 0.6717 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.1492, allocations: 152.6 kB / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.1495, allocations: 243.3 kB / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1495, allocations: 0 / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006236/0.1501, allocations: 404.7 kB / 0.6724 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/0.1502, allocations: 83.27 kB / 0.6725 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1502, allocations: 7.984 kB / 0.6725 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1502, allocations: 192 / 0.6725 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.1504, allocations: 27.98 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.1504, allocations: 3.938 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.1509, allocations: 59.8 kB / 0.6726 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.151, allocations: 55.98 kB / 0.6726 GB, free: 13.93 MB / 0.5137 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.0001665/0.1512, allocations: 172 kB / 0.6728 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.1512, allocations: 31.56 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.1513, allocations: 30.25 kB / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1513, allocations: 0 / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1513, allocations: 0 / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.1514, allocations: 156.7 kB / 0.673 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.1515, allocations: 11.98 kB / 0.673 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1517, allocations: 11.98 kB / 0.673 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.1517, allocations: 15.98 kB / 0.6731 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004462/0.1522, allocations: 295.2 kB / 0.6733 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004103/0.1526, allocations: 398.2 kB / 0.6737 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000117/0.1527, allocations: 63.95 kB / 0.6738 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001645/0.1529, allocations: 209.9 kB / 0.674 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of Backend: time 3.5e-07/0.1529, allocations: 0 / 0.674 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006772/0.1536, allocations: 379.9 kB / 0.6743 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0007103/0.1543, allocations: 0.8075 MB / 0.6751 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.006719/0.1611, allocations: 4.354 MB / 0.6794 GB, free: 6.93 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)