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.001094/0.001094, allocations: 114.6 kB / 16.42 MB, free: 6.504 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.001023/0.001023, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8049/0.8049, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.53 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1349, allocations: 80.21 MB / 0.6603 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002651/0.1376, allocations: 1.475 MB / 0.6618 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.1385, allocations: 424.9 kB / 0.6622 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.841e-05/0.1386, allocations: 8 kB / 0.6622 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.278e-05/0.1387, allocations: 7.875 kB / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.1389, allocations: 24.22 kB / 0.6622 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.1397, allocations: 245.4 kB / 0.6624 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.14, allocations: 315.5 kB / 0.6627 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.1401, allocations: 8 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.1403, allocations: 191.7 kB / 0.6629 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.1406, allocations: 116.1 kB / 0.663 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.691e-05/0.1407, allocations: 16 kB / 0.663 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.503e-05/0.1408, allocations: 20 kB / 0.6631 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.1409, allocations: 75.72 kB / 0.6631 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.141, allocations: 123.4 kB / 0.6633 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.1414, allocations: 286.9 kB / 0.6635 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1414, allocations: 0 / 0.6635 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1414, allocations: 0 / 0.6635 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.1414, allocations: 0 / 0.6635 GB, free: 7.027 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.001181/0.1426, allocations: 0.7115 MB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1426, allocations: 8.031 kB / 0.6642 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.772e-05/0.1427, allocations: 32.8 kB / 0.6643 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.143, allocations: 267.7 kB / 0.6645 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.1431, allocations: 12.38 kB / 0.6645 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.1431, allocations: 19.92 kB / 0.6645 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1434, allocations: 145.5 kB / 0.6647 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1435, allocations: 0 / 0.6647 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.1435, allocations: 4 kB / 0.6647 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.1435, allocations: 4 kB / 0.6647 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1436, allocations: 47.97 kB / 0.6647 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.144, allocations: 309.4 kB / 0.665 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.1443, allocations: 134.6 kB / 0.6652 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.1444, allocations: 56.83 kB / 0.6652 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1444, allocations: 8 kB / 0.6652 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.1449, allocations: 219.6 kB / 0.6654 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.904e-06/0.1449, allocations: 4 kB / 0.6654 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005775/0.1455, allocations: 267.2 kB / 0.6657 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1455, allocations: 63.39 kB / 0.6658 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.1458, allocations: 286.9 kB / 0.666 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.1458, allocations: 41.7 kB / 0.6661 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.1459, allocations: 89.12 kB / 0.6662 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.146, allocations: 51.67 kB / 0.6662 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.1461, allocations: 105.8 kB / 0.6663 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1463, allocations: 322.8 kB / 0.6666 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1465, allocations: 100.1 kB / 0.6667 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.1468, allocations: 146.4 kB / 0.6668 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.1471, allocations: 244 kB / 0.6671 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1471, allocations: 0 / 0.6671 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006965/0.1478, allocations: 412.7 kB / 0.6675 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.66e-05/0.1479, allocations: 75.52 kB / 0.6675 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1479, allocations: 8 kB / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1479, allocations: 0 / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.1481, allocations: 27.91 kB / 0.6676 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1481, allocations: 4 kB / 0.6676 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.1486, allocations: 55.91 kB / 0.6676 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/0.1487, allocations: 55.98 kB / 0.6677 GB, free: 2.426 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.000206/0.1489, allocations: 173.7 kB / 0.6679 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.149, allocations: 35.73 kB / 0.6679 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.618e-05/0.149, allocations: 30.25 kB / 0.6679 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1491, allocations: 4 kB / 0.6679 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1491, allocations: 0 / 0.6679 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.1492, allocations: 156.8 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.1493, allocations: 11.94 kB / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.1495, allocations: 15.98 kB / 0.6681 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.1496, allocations: 15.98 kB / 0.6681 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004721/0.1501, allocations: 290.8 kB / 0.6684 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004556/0.1505, allocations: 402.4 kB / 0.6688 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001298/0.1507, allocations: 65.83 kB / 0.6688 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000181/0.1508, allocations: 205.9 kB / 0.669 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of Backend: time 7.61e-07/0.1509, allocations: 0 / 0.669 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007268/0.1516, allocations: 377 kB / 0.6694 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0008623/0.1525, allocations: 0.8149 MB / 0.6702 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.008187/0.1607, allocations: 4.376 MB / 0.6745 GB, free: 11.4 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)