Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009899, allocations: 104 kB / 16.4 MB, free: 6.5 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.0009719/0.0009719, allocations: 189.6 kB / 17.34 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.184/1.184, 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-master/package.mo): time 0.7133/0.7133, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 65.88 kB / 0.5862 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1215, allocations: 80.92 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002339/0.1239, allocations: 1.469 MB / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008031/0.1247, allocations: 428 kB / 0.6671 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.1248, allocations: 4 kB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.543e-05/0.1249, allocations: 3.938 kB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.524e-05/0.125, allocations: 24.17 kB / 0.6671 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.1256, allocations: 250.9 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.1259, allocations: 315.5 kB / 0.6677 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.1259, allocations: 11.97 kB / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.1262, allocations: 191.7 kB / 0.6679 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1264, allocations: 108.1 kB / 0.668 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.1265, allocations: 24 kB / 0.668 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.1265, allocations: 16 kB / 0.668 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.159e-05/0.1266, allocations: 79.72 kB / 0.6681 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1267, allocations: 127.4 kB / 0.6682 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.127, allocations: 271.1 kB / 0.6685 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.127, allocations: 0 / 0.6685 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.127, allocations: 0 / 0.6685 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.127, allocations: 4 kB / 0.6685 GB, free: 2.523 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.001076/0.1281, allocations: 0.6998 MB / 0.6692 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1281, allocations: 13.11 kB / 0.6692 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.1282, allocations: 28.66 kB / 0.6692 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1285, allocations: 267.6 kB / 0.6694 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1285, allocations: 8.375 kB / 0.6695 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.1286, allocations: 31.92 kB / 0.6695 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.1289, allocations: 145.5 kB / 0.6696 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.1289, allocations: 0 / 0.6696 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1289, allocations: 4 kB / 0.6696 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1289, allocations: 0 / 0.6696 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1291, allocations: 51.97 kB / 0.6697 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.1294, allocations: 313.3 kB / 0.67 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1296, allocations: 130.6 kB / 0.6701 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1298, allocations: 56.83 kB / 0.6702 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1298, allocations: 4 kB / 0.6702 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.1301, allocations: 219.5 kB / 0.6704 GB, free: 392 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.1302, allocations: 0 / 0.6704 GB, free: 392 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005356/0.1307, allocations: 271 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1307, allocations: 71.38 kB / 0.6707 GB, free: 32 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.131, allocations: 287 kB / 0.671 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.1311, allocations: 33.7 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.1311, allocations: 101 kB / 0.6711 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.1312, allocations: 31.61 kB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.1313, allocations: 105.6 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.1314, allocations: 326.8 kB / 0.6715 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1316, allocations: 92.11 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.1319, allocations: 156.6 kB / 0.6718 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1321, allocations: 243.1 kB / 0.672 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1322, allocations: 0 / 0.672 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005894/0.1328, allocations: 414.1 kB / 0.6724 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.1328, allocations: 71.39 kB / 0.6725 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1328, allocations: 4 kB / 0.6725 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1328, allocations: 4.188 kB / 0.6725 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.133, allocations: 35.91 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.133, allocations: 4 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.1335, allocations: 55.8 kB / 0.6726 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.1336, allocations: 51.98 kB / 0.6726 GB, free: 13.94 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.0001525/0.1337, allocations: 176 kB / 0.6728 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.1338, allocations: 35.55 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.1338, allocations: 26.27 kB / 0.6728 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1338, allocations: 3.984 kB / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1339, allocations: 0 / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1339, allocations: 0 / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/0.1346, allocations: 0.5663 MB / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1346, allocations: 0 / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.1346, allocations: 11.98 kB / 0.6734 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1346, allocations: 4 kB / 0.6734 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.1347, allocations: 11.98 kB / 0.6734 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1347, allocations: 7.938 kB / 0.6734 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1347, allocations: 0 / 0.6734 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.1351, allocations: 322.9 kB / 0.6737 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.1352, allocations: 152.7 kB / 0.6739 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.1353, allocations: 15.98 kB / 0.6739 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1355, allocations: 15.98 kB / 0.6739 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.1356, allocations: 15.98 kB / 0.6739 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.1356, allocations: 31.98 kB / 0.674 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001612/0.1358, allocations: 205.9 kB / 0.6742 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1358, allocations: 4 kB / 0.6742 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002928/0.1361, allocations: 44 kB / 0.6742 GB, free: 12.21 MB / 0.5137 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.0001084/0.1362, allocations: 119.8 kB / 0.6743 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.1367, allocations: 352.6 kB / 0.6747 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1367, allocations: 0 / 0.6747 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1368, allocations: 67.91 kB / 0.6747 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.1371, allocations: 24.88 kB / 0.6747 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.1377, allocations: 412.6 kB / 0.6751 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.138, allocations: 0.7446 MB / 0.6759 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1381, allocations: 39.41 kB / 0.6759 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1381, allocations: 3.938 kB / 0.6759 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.004565/0.1427, allocations: 3.003 MB / 0.6788 GB, free: 7.395 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)