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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009508/0.0009509, allocations: 114.7 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.0009369/0.0009369, allocations: 190.5 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7526/0.7526, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 65.66 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1351, allocations: 80.92 MB / 0.6653 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002513/0.1377, allocations: 1.476 MB / 0.6667 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.1386, allocations: 427.3 kB / 0.6671 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.1387, allocations: 0 / 0.6671 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.1388, allocations: 3.938 kB / 0.6671 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.139, allocations: 24.23 kB / 0.6672 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.14, allocations: 242.9 kB / 0.6674 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.1404, allocations: 319.5 kB / 0.6677 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.1404, allocations: 8 kB / 0.6677 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.1408, allocations: 187.7 kB / 0.6679 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.141, allocations: 112.1 kB / 0.668 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.988e-05/0.1411, allocations: 16 kB / 0.668 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.1412, allocations: 20 kB / 0.668 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1413, allocations: 79.72 kB / 0.6681 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1414, allocations: 123.4 kB / 0.6682 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.1417, allocations: 283.1 kB / 0.6685 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1417, allocations: 0 / 0.6685 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.01e-07/0.1417, allocations: 0 / 0.6685 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.1417, allocations: 0 / 0.6685 GB, free: 2.641 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.001246/0.143, allocations: 0.6999 MB / 0.6692 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1431, allocations: 13.05 kB / 0.6692 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1432, allocations: 32.66 kB / 0.6692 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1435, allocations: 263.6 kB / 0.6695 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.1435, allocations: 8.375 kB / 0.6695 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.1436, allocations: 35.91 kB / 0.6695 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.1439, allocations: 149.5 kB / 0.6696 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1439, allocations: 0 / 0.6696 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.144, allocations: 0 / 0.6696 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.144, allocations: 4 kB / 0.6697 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.1441, allocations: 47.97 kB / 0.6697 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1445, allocations: 317.3 kB / 0.67 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.1448, allocations: 130.6 kB / 0.6701 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.1449, allocations: 56.84 kB / 0.6702 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1449, allocations: 0 / 0.6702 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004186/0.1454, allocations: 223.5 kB / 0.6704 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.364e-06/0.1454, allocations: 0 / 0.6704 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000578/0.1459, allocations: 274.7 kB / 0.6707 GB, free: 224 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.146, allocations: 59.41 kB / 0.6707 GB, free: 152 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.1463, allocations: 287 kB / 0.671 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.1463, allocations: 41.69 kB / 0.671 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.1464, allocations: 93.05 kB / 0.6711 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.1465, allocations: 39.59 kB / 0.6712 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.1466, allocations: 105.6 kB / 0.6713 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1468, allocations: 326.8 kB / 0.6716 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.147, allocations: 96.17 kB / 0.6717 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.1472, allocations: 144.7 kB / 0.6718 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1475, allocations: 251.1 kB / 0.672 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1476, allocations: 0 / 0.672 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006338/0.1482, allocations: 402.2 kB / 0.6724 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.1483, allocations: 79.33 kB / 0.6725 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1483, allocations: 0 / 0.6725 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1483, allocations: 8.188 kB / 0.6725 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.1485, allocations: 27.91 kB / 0.6725 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1485, allocations: 4 kB / 0.6725 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.149, allocations: 59.8 kB / 0.6726 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.1491, allocations: 51.98 kB / 0.6726 GB, free: 14.06 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.0001759/0.1493, allocations: 176 kB / 0.6728 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.1493, allocations: 31.56 kB / 0.6728 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.1494, allocations: 26.25 kB / 0.6729 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1494, allocations: 0 / 0.6729 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1494, allocations: 0 / 0.6729 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.1496, allocations: 164.6 kB / 0.673 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.1496, allocations: 11.98 kB / 0.673 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.1498, allocations: 11.98 kB / 0.673 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.1499, allocations: 23.91 kB / 0.6731 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004712/0.1504, allocations: 290.8 kB / 0.6733 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000492/0.1509, allocations: 396 kB / 0.6737 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001288/0.151, allocations: 67.95 kB / 0.6738 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001836/0.1512, allocations: 209.9 kB / 0.674 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of Backend: time 4.11e-07/0.1512, allocations: 0 / 0.674 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007273/0.1519, allocations: 379.1 kB / 0.6743 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0008067/0.1528, allocations: 0.8191 MB / 0.6751 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.007501/0.1603, allocations: 4.344 MB / 0.6794 GB, free: 7.035 MB / 0.5137 GB 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)