Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001053/0.001053, allocations: 109.1 kB / 16.42 MB, free: 6.488 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.001035/0.001035, allocations: 185.7 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.307/1.307, allocations: 222.9 MB / 241.1 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.7825/0.7825, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 69.88 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1297, allocations: 80.21 MB / 0.6603 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002433/0.1322, allocations: 1.476 MB / 0.6617 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008858/0.1331, allocations: 426.5 kB / 0.6622 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.1332, allocations: 0 / 0.6622 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.019e-05/0.1333, allocations: 7.875 kB / 0.6622 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.1334, allocations: 28.23 kB / 0.6622 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006795/0.1341, allocations: 243.5 kB / 0.6624 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.1344, allocations: 315.5 kB / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.1345, allocations: 4 kB / 0.6627 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.1348, allocations: 199.6 kB / 0.6629 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.135, allocations: 108.1 kB / 0.663 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.1351, allocations: 20 kB / 0.663 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.167e-05/0.1351, allocations: 16 kB / 0.6631 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1353, allocations: 83.72 kB / 0.6631 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1354, allocations: 119.4 kB / 0.6632 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.1357, allocations: 279.1 kB / 0.6635 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1357, allocations: 4 kB / 0.6635 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1357, allocations: 0 / 0.6635 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.1357, allocations: 0 / 0.6635 GB, free: 7.039 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.001161/0.1369, allocations: 0.696 MB / 0.6642 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1369, allocations: 12.03 kB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.705e-05/0.137, allocations: 32.66 kB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.1374, allocations: 267.4 kB / 0.6645 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.1374, allocations: 16.38 kB / 0.6645 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.1375, allocations: 19.94 kB / 0.6645 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.1378, allocations: 145 kB / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1378, allocations: 0 / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.1378, allocations: 7.984 kB / 0.6647 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1378, allocations: 3.938 kB / 0.6647 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.138, allocations: 47.97 kB / 0.6647 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.1383, allocations: 301.4 kB / 0.665 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.1386, allocations: 146.7 kB / 0.6651 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1387, allocations: 52.83 kB / 0.6652 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1388, allocations: 8 kB / 0.6652 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.1392, allocations: 225.5 kB / 0.6654 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.1392, allocations: 0 / 0.6654 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005751/0.1398, allocations: 269.2 kB / 0.6657 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.1398, allocations: 59.39 kB / 0.6657 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1401, allocations: 294.9 kB / 0.666 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.1401, allocations: 33.7 kB / 0.666 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.1402, allocations: 97.14 kB / 0.6661 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.1403, allocations: 31.61 kB / 0.6662 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.1404, allocations: 113.6 kB / 0.6663 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1405, allocations: 322.8 kB / 0.6666 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.1408, allocations: 96.11 kB / 0.6667 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.141, allocations: 142.4 kB / 0.6668 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.1413, allocations: 244 kB / 0.667 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1413, allocations: 4 kB / 0.6671 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006621/0.142, allocations: 414.3 kB / 0.6674 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.489e-05/0.1421, allocations: 83.31 kB / 0.6675 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1421, allocations: 4 kB / 0.6675 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1421, allocations: 4 kB / 0.6675 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1423, allocations: 23.92 kB / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.1423, allocations: 0 / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.1428, allocations: 63.98 kB / 0.6676 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.1429, allocations: 59.98 kB / 0.6677 GB, free: 2.441 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 (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.0001754/0.1431, allocations: 169.7 kB / 0.6678 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.1432, allocations: 27.66 kB / 0.6679 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.1432, allocations: 30.25 kB / 0.6679 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1432, allocations: 0 / 0.6679 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1432, allocations: 0 / 0.6679 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.1434, allocations: 160.7 kB / 0.668 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.1435, allocations: 15.92 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.1437, allocations: 11.98 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1437, allocations: 11.98 kB / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004569/0.1442, allocations: 288.8 kB / 0.6684 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004385/0.1447, allocations: 400.1 kB / 0.6687 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001276/0.1448, allocations: 71.88 kB / 0.6688 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001891/0.145, allocations: 205.9 kB / 0.669 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of Backend: time 4e-07/0.145, allocations: 7.938 kB / 0.669 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007228/0.1457, allocations: 367.1 kB / 0.6694 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0007763/0.1465, allocations: 0.8153 MB / 0.6702 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.007392/0.1539, allocations: 4.374 MB / 0.6744 GB, free: 11.43 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1)