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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 107 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 198.7 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.1 MB / 227.2 MB, free: 12.15 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3047/0.3047, allocations: 54.95 MB / 331.6 MB, free: 2.75 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") translateModel(Annex60.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") [Timeout 660] "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.002147/0.002147, allocations: 70.86 kB / 464.9 MB, free: 384 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1405, allocations: 59.59 MB / 0.5122 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.CalendarTime): time 0.002806/0.1434, allocations: 1.446 MB / 0.5136 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.1443, allocations: 408.1 kB / 0.514 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.1444, allocations: 0 / 0.514 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.068e-05/0.1445, allocations: 7.922 kB / 0.514 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.1446, allocations: 23.8 kB / 0.514 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007318/0.1453, allocations: 247 kB / 0.5142 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.1457, allocations: 303.5 kB / 0.5145 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.1458, allocations: 12.17 kB / 0.5145 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.1461, allocations: 187.7 kB / 0.5147 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1463, allocations: 99.73 kB / 0.5148 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.318e-05/0.1464, allocations: 20 kB / 0.5148 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.943e-05/0.1464, allocations: 16 kB / 0.5149 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1466, allocations: 63.8 kB / 0.5149 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.1467, allocations: 99.56 kB / 0.515 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.147, allocations: 231.2 kB / 0.5152 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.147, allocations: 0 / 0.5152 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.147, allocations: 0 / 0.5152 GB, free: 1.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.147, allocations: 0 / 0.5152 GB, free: 1.688 MB / 398.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.001172/0.1482, allocations: 0.6417 MB / 0.5159 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1482, allocations: 8.031 kB / 0.5159 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.25e-05/0.1483, allocations: 32.73 kB / 0.5159 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.1486, allocations: 234 kB / 0.5161 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.1487, allocations: 16.36 kB / 0.5161 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.1487, allocations: 16.38 kB / 0.5162 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.149, allocations: 138.1 kB / 0.5163 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1491, allocations: 192 / 0.5163 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.1491, allocations: 11.94 kB / 0.5163 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1491, allocations: 0 / 0.5163 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.1492, allocations: 47.91 kB / 0.5163 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1496, allocations: 293.4 kB / 0.5166 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.1499, allocations: 130.2 kB / 0.5167 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.15, allocations: 52.84 kB / 0.5168 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.15, allocations: 3.984 kB / 0.5168 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004601/0.1505, allocations: 207.5 kB / 0.517 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/0.1505, allocations: 0 / 0.517 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005943/0.1511, allocations: 270.8 kB / 0.5173 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.1512, allocations: 59.41 kB / 0.5173 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1514, allocations: 224.1 kB / 0.5175 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.1515, allocations: 41.69 kB / 0.5176 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.1516, allocations: 93.09 kB / 0.5177 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.1516, allocations: 47.67 kB / 0.5177 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.1518, allocations: 89.86 kB / 0.5178 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1519, allocations: 318.8 kB / 0.5181 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.1522, allocations: 96.16 kB / 0.5182 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.1524, allocations: 143.2 kB / 0.5183 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.1528, allocations: 247.1 kB / 0.5186 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.1528, allocations: 0 / 0.5186 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006501/0.1534, allocations: 404.6 kB / 0.5189 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-05/0.1535, allocations: 79.38 kB / 0.519 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1535, allocations: 192 / 0.519 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1535, allocations: 8 kB / 0.519 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.1537, allocations: 27.86 kB / 0.519 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1537, allocations: 4 kB / 0.5191 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.1542, allocations: 59.84 kB / 0.5191 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.1543, allocations: 39.98 kB / 0.5191 GB, free: 13.35 MB / 414.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.0002092/0.1545, allocations: 170.4 kB / 0.5193 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.1546, allocations: 23.86 kB / 0.5193 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.1546, allocations: 25.86 kB / 0.5194 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.1546, allocations: 7.938 kB / 0.5194 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1546, allocations: 0 / 0.5194 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1547, allocations: 0 / 0.5194 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008276/0.1555, allocations: 0.5318 MB / 0.5199 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1555, allocations: 3.938 kB / 0.5199 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.1556, allocations: 4 kB / 0.5199 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1556, allocations: 0 / 0.5199 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.1556, allocations: 19.98 kB / 0.5199 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1556, allocations: 0 / 0.5199 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1556, allocations: 3.984 kB / 0.5199 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.1561, allocations: 311.2 kB / 0.5202 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.1562, allocations: 144.7 kB / 0.5204 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.1563, allocations: 11.98 kB / 0.5204 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.1565, allocations: 15.98 kB / 0.5204 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.1566, allocations: 15.98 kB / 0.5204 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.1566, allocations: 23.98 kB / 0.5204 GB, free: 11.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.1568, allocations: 169.6 kB / 0.5206 GB, free: 11.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1568, allocations: 0 / 0.5206 GB, free: 11.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.1571, allocations: 44 kB / 0.5206 GB, free: 11.75 MB / 414.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.0001467/0.1572, allocations: 110 kB / 0.5207 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005873/0.1578, allocations: 346 kB / 0.5211 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1578, allocations: 4.125 kB / 0.5211 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.158, allocations: 71.91 kB / 0.5211 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1584, allocations: 28.17 kB / 0.5212 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.159, allocations: 323 kB / 0.5215 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.1594, allocations: 0.7201 MB / 0.5222 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1595, allocations: 33.08 kB / 0.5222 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1596, allocations: 31.42 kB / 0.5222 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1596, allocations: 0 / 0.5222 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Templates: time 0.007819/0.1675, allocations: 3.718 MB / 0.5259 GB, free: 6.336 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.404690477997065]