Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") translateModel(Annex60.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007762/0.007762, allocations: 102.2 kB / 15.73 MB, free: 6.469 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.001729/0.001729, allocations: 193.9 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4176/0.4176, allocations: 54.95 MB / 324.9 MB, free: 15.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 68.42 kB / 456.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1376, allocations: 59.59 MB / 0.5037 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.CalendarTime): time 0.003018/0.1406, allocations: 1.435 MB / 0.5051 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1417, allocations: 411.8 kB / 0.5055 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.1418, allocations: 5.375 kB / 0.5055 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.519e-05/0.1419, allocations: 3.938 kB / 0.5055 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1421, allocations: 17.36 kB / 0.5055 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008809/0.1429, allocations: 243 kB / 0.5057 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.1434, allocations: 297.1 kB / 0.506 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.1435, allocations: 17.7 kB / 0.506 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.1438, allocations: 183.8 kB / 0.5062 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.1441, allocations: 105.8 kB / 0.5063 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.1442, allocations: 18.16 kB / 0.5063 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.1443, allocations: 17.31 kB / 0.5063 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1444, allocations: 63.02 kB / 0.5064 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1445, allocations: 96.25 kB / 0.5065 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1448, allocations: 232.1 kB / 0.5067 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1448, allocations: 0 / 0.5067 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1448, allocations: 0 / 0.5067 GB, free: 7.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.1449, allocations: 0 / 0.5067 GB, free: 7.637 MB / 382.1 MB 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.001203/0.1461, allocations: 0.6478 MB / 0.5073 GB, free: 7.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1461, allocations: 14 kB / 0.5074 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1462, allocations: 24.12 kB / 0.5074 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1465, allocations: 244.2 kB / 0.5076 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.1466, allocations: 12.55 kB / 0.5076 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.1467, allocations: 18.47 kB / 0.5076 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.147, allocations: 137.5 kB / 0.5078 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.147, allocations: 4.188 kB / 0.5078 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.147, allocations: 9.344 kB / 0.5078 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.147, allocations: 1.5 kB / 0.5078 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1472, allocations: 47.66 kB / 0.5078 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.1475, allocations: 280.8 kB / 0.5081 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.1478, allocations: 126.6 kB / 0.5082 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.148, allocations: 56.52 kB / 0.5083 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.148, allocations: 10.75 kB / 0.5083 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.1484, allocations: 207 kB / 0.5085 GB, free: 6.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.1485, allocations: 0 / 0.5085 GB, free: 6.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.00058/0.149, allocations: 259.4 kB / 0.5087 GB, free: 5.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1491, allocations: 63.33 kB / 0.5088 GB, free: 5.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.1493, allocations: 224 kB / 0.509 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.1494, allocations: 41.69 kB / 0.509 GB, free: 5.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.1495, allocations: 97.12 kB / 0.5091 GB, free: 5.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.436e-05/0.1495, allocations: 43.45 kB / 0.5092 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.1497, allocations: 93.8 kB / 0.5093 GB, free: 5.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.1498, allocations: 314.8 kB / 0.5096 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.15, allocations: 100.1 kB / 0.5097 GB, free: 4.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.1502, allocations: 142.4 kB / 0.5098 GB, free: 4.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.1506, allocations: 241.1 kB / 0.51 GB, free: 4.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1506, allocations: 4 kB / 0.51 GB, free: 4.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005836/0.1512, allocations: 396.6 kB / 0.5104 GB, free: 3.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.1512, allocations: 75.38 kB / 0.5105 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1512, allocations: 0 / 0.5105 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.1513, allocations: 8 kB / 0.5105 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1514, allocations: 31.86 kB / 0.5105 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1515, allocations: 7.984 kB / 0.5105 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.152, allocations: 63.97 kB / 0.5106 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.152, allocations: 43.97 kB / 0.5106 GB, free: 3.73 MB / 382.1 MB 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.0001467/0.1522, allocations: 161.8 kB / 0.5108 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.1522, allocations: 23.8 kB / 0.5108 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.1523, allocations: 17.88 kB / 0.5108 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1523, allocations: 7.938 kB / 0.5108 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1523, allocations: 4 kB / 0.5108 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1523, allocations: 7.922 kB / 0.5108 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.153, allocations: 0.535 MB / 0.5114 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.153, allocations: 3.938 kB / 0.5114 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.1531, allocations: 8 kB / 0.5114 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1531, allocations: 4 kB / 0.5114 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.1531, allocations: 11.97 kB / 0.5114 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1531, allocations: 0 / 0.5114 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1531, allocations: 0 / 0.5114 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.1535, allocations: 311.1 kB / 0.5117 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.1536, allocations: 148.6 kB / 0.5118 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.1537, allocations: 8 kB / 0.5118 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1539, allocations: 11.98 kB / 0.5119 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.154, allocations: 15.98 kB / 0.5119 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.154, allocations: 23.98 kB / 0.5119 GB, free: 2.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.518e-05/0.1541, allocations: 169.6 kB / 0.5121 GB, free: 2.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1541, allocations: 0 / 0.5121 GB, free: 2.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000302/0.1544, allocations: 44 kB / 0.5121 GB, free: 2.133 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.0001115/0.1545, allocations: 117.2 kB / 0.5122 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000453/0.155, allocations: 340.8 kB / 0.5125 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.155, allocations: 0 / 0.5125 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1551, allocations: 75.81 kB / 0.5126 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1555, allocations: 24.59 kB / 0.5126 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.156, allocations: 314.2 kB / 0.5129 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.1561, allocations: 0.724 MB / 0.5136 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.116e-05/0.1562, allocations: 25.09 kB / 0.5137 GB, free: 464 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/0.1563, allocations: 43.41 kB / 0.5137 GB, free: 420 kB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1563, allocations: 0 / 0.5137 GB, free: 420 kB / 382.1 MB Notification: Performance of Templates: time 0.008883/0.1652, allocations: 3.704 MB / 0.5173 GB, free: 12.73 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe 2>&1)