Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001169/0.001169, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.246/1.246, 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.7542/0.7542, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 66.23 kB / 0.5862 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.131, allocations: 80.93 MB / 0.6653 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002382/0.1334, allocations: 1.483 MB / 0.6667 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.1343, allocations: 415.4 kB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.1343, allocations: 0 / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.327e-05/0.1344, allocations: 11.86 kB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.728e-05/0.1345, allocations: 24.23 kB / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.1352, allocations: 242.8 kB / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.1356, allocations: 315.5 kB / 0.6677 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.1356, allocations: 8 kB / 0.6677 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.1359, allocations: 195.6 kB / 0.6679 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.1362, allocations: 116.1 kB / 0.668 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.596e-05/0.1362, allocations: 20 kB / 0.668 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.275e-05/0.1363, allocations: 16 kB / 0.668 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1364, allocations: 83.72 kB / 0.6681 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1366, allocations: 119.4 kB / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.1368, allocations: 275.1 kB / 0.6685 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1369, allocations: 4 kB / 0.6685 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1369, allocations: 0 / 0.6685 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.1369, allocations: 0 / 0.6685 GB, free: 2.543 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.001148/0.138, allocations: 0.6998 MB / 0.6692 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1381, allocations: 9.109 kB / 0.6692 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.725e-05/0.1382, allocations: 28.66 kB / 0.6692 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1385, allocations: 263.5 kB / 0.6695 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.1385, allocations: 16.36 kB / 0.6695 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.1386, allocations: 27.94 kB / 0.6695 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1389, allocations: 137.5 kB / 0.6696 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1389, allocations: 4 kB / 0.6696 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.1389, allocations: 7.984 kB / 0.6696 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1389, allocations: 0 / 0.6696 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1391, allocations: 51.91 kB / 0.6697 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.1394, allocations: 305.3 kB / 0.67 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.1397, allocations: 146.7 kB / 0.6701 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1398, allocations: 56.83 kB / 0.6702 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1398, allocations: 4 kB / 0.6702 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.1403, allocations: 223.6 kB / 0.6704 GB, free: 404 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.1403, allocations: 0 / 0.6704 GB, free: 404 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005329/0.1408, allocations: 266.9 kB / 0.6706 GB, free: 132 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1409, allocations: 63.39 kB / 0.6707 GB, free: 56 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1411, allocations: 295 kB / 0.671 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.1412, allocations: 37.7 kB / 0.671 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.1412, allocations: 97.05 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.1413, allocations: 35.61 kB / 0.6711 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.1415, allocations: 105.6 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1416, allocations: 326.8 kB / 0.6716 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.1418, allocations: 92.17 kB / 0.6716 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.142, allocations: 144.6 kB / 0.6718 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.1423, allocations: 247.2 kB / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1423, allocations: 0 / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006483/0.143, allocations: 412.6 kB / 0.6724 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.143, allocations: 71.33 kB / 0.6725 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1431, allocations: 7.984 kB / 0.6725 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1431, allocations: 4 kB / 0.6725 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1433, allocations: 27.92 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1433, allocations: 4 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.1438, allocations: 59.98 kB / 0.6726 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/0.1439, allocations: 51.98 kB / 0.6726 GB, free: 13.96 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001719/0.144, allocations: 169.7 kB / 0.6728 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.1441, allocations: 31.56 kB / 0.6728 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.1442, allocations: 34.25 kB / 0.6729 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1442, allocations: 0 / 0.6729 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1442, allocations: 0 / 0.6729 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.1443, allocations: 160.7 kB / 0.673 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.1444, allocations: 19.98 kB / 0.673 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.1446, allocations: 7.984 kB / 0.673 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.1447, allocations: 15.98 kB / 0.6731 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004434/0.1451, allocations: 294.7 kB / 0.6733 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004325/0.1456, allocations: 390.3 kB / 0.6737 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001207/0.1457, allocations: 65.36 kB / 0.6738 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001691/0.1459, allocations: 217.9 kB / 0.674 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of Backend: time 2.61e-07/0.1459, allocations: 0 / 0.674 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007098/0.1466, allocations: 375.3 kB / 0.6743 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0007598/0.1474, allocations: 0.819 MB / 0.6751 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.007324/0.1547, allocations: 4.365 MB / 0.6794 GB, free: 6.922 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1)