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.001354/0.001354, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001452/0.001452, allocations: 190.7 kB / 22.11 MB, free: 5.152 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.575/1.575, allocations: 207.6 MB / 232.8 MB, free: 10.03 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.3102/0.3102, allocations: 55.67 MB / 340.7 MB, free: 13.99 MB / 286.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.00256/0.00256, allocations: 71.89 kB / 482 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4959, allocations: 62.87 MB / 0.5321 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.CalendarTime): time 0.003654/0.4996, allocations: 1.449 MB / 0.5335 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.5008, allocations: 421.8 kB / 0.5339 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.5009, allocations: 5.25 kB / 0.5339 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.844e-05/0.5009, allocations: 10.03 kB / 0.534 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.5011, allocations: 11.69 kB / 0.534 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.5023, allocations: 246.6 kB / 0.5342 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.5029, allocations: 289.2 kB / 0.5345 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.503, allocations: 8.344 kB / 0.5345 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.5035, allocations: 193.2 kB / 0.5347 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.5039, allocations: 112 kB / 0.5348 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.517e-05/0.504, allocations: 17.53 kB / 0.5348 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.174e-05/0.5041, allocations: 17.28 kB / 0.5348 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.5043, allocations: 57.72 kB / 0.5349 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.5045, allocations: 99.05 kB / 0.535 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000526/0.505, allocations: 236.3 kB / 0.5352 GB, free: 6.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.505, allocations: 0.6562 kB / 0.5352 GB, free: 6.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.505, allocations: 0 / 0.5352 GB, free: 6.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.505, allocations: 1.5 kB / 0.5352 GB, free: 6.137 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.001422/0.5065, allocations: 0.5698 MB / 0.5357 GB, free: 5.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.5065, allocations: 10.31 kB / 0.5357 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.5066, allocations: 28.92 kB / 0.5358 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.507, allocations: 179.9 kB / 0.5359 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.507, allocations: 13.56 kB / 0.536 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/0.5071, allocations: 16.31 kB / 0.536 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.5075, allocations: 139.2 kB / 0.5361 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5075, allocations: 192 / 0.5361 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.5076, allocations: 10.84 kB / 0.5361 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5076, allocations: 2.25 kB / 0.5361 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.5078, allocations: 43.92 kB / 0.5362 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.5082, allocations: 267.5 kB / 0.5364 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.5087, allocations: 117.2 kB / 0.5365 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.5089, allocations: 51.47 kB / 0.5366 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.5089, allocations: 5.469 kB / 0.5366 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007687/0.5097, allocations: 202.8 kB / 0.5368 GB, free: 5.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.5097, allocations: 0 / 0.5368 GB, free: 5.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001/0.5107, allocations: 269.5 kB / 0.537 GB, free: 4.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.5107, allocations: 57.5 kB / 0.5371 GB, free: 4.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.511, allocations: 224.6 kB / 0.5373 GB, free: 4.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.5111, allocations: 37.66 kB / 0.5373 GB, free: 4.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.5112, allocations: 98.75 kB / 0.5374 GB, free: 4.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.5112, allocations: 43.3 kB / 0.5375 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.5115, allocations: 94.47 kB / 0.5376 GB, free: 4.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.5115, allocations: 321 kB / 0.5379 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.5119, allocations: 99.64 kB / 0.538 GB, free: 4.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.5123, allocations: 139.7 kB / 0.5381 GB, free: 4.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.5128, allocations: 241.6 kB / 0.5383 GB, free: 3.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5128, allocations: 0 / 0.5383 GB, free: 3.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00118/0.5139, allocations: 410.3 kB / 0.5387 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/0.514, allocations: 71.59 kB / 0.5388 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.514, allocations: 2.375 kB / 0.5388 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/0.5141, allocations: 2.562 kB / 0.5388 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.5144, allocations: 34.53 kB / 0.5388 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.5144, allocations: 3.594 kB / 0.5388 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008048/0.5152, allocations: 63.59 kB / 0.5389 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.5153, allocations: 38.64 kB / 0.5389 GB, free: 3.602 MB / 398.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.000239/0.5155, allocations: 164.8 kB / 0.5391 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.5156, allocations: 22.67 kB / 0.5391 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/0.5157, allocations: 23.05 kB / 0.5391 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5157, allocations: 5.625 kB / 0.5391 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.5157, allocations: 0 / 0.5391 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5157, allocations: 5.25 kB / 0.5391 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.5169, allocations: 0.5159 MB / 0.5396 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5169, allocations: 3.938 kB / 0.5396 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.517, allocations: 8.812 kB / 0.5397 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.517, allocations: 1.094 kB / 0.5397 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.517, allocations: 13.84 kB / 0.5397 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.517, allocations: 0.625 kB / 0.5397 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.517, allocations: 1.422 kB / 0.5397 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.5178, allocations: 316.9 kB / 0.54 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.518, allocations: 66.66 kB / 0.54 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.5181, allocations: 9.938 kB / 0.54 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.5185, allocations: 13.97 kB / 0.5401 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.5186, allocations: 16.72 kB / 0.5401 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/0.5186, allocations: 27.44 kB / 0.5401 GB, free: 2.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002726/0.5189, allocations: 161.1 kB / 0.5403 GB, free: 2.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5189, allocations: 0.5312 kB / 0.5403 GB, free: 2.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006171/0.5195, allocations: 46.8 kB / 0.5403 GB, free: 2.73 MB / 398.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.0002151/0.5198, allocations: 116.7 kB / 0.5404 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.5208, allocations: 308.7 kB / 0.5407 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5208, allocations: 0 / 0.5407 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.521, allocations: 65.77 kB / 0.5408 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.5216, allocations: 26.2 kB / 0.5408 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009019/0.5225, allocations: 317.9 kB / 0.5411 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.5228, allocations: 0.7215 MB / 0.5418 GB, free: 1.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.523, allocations: 29.92 kB / 0.5418 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.5231, allocations: 38.5 kB / 0.5419 GB, free: 1.484 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5231, allocations: 1.438 kB / 0.5419 GB, free: 1.484 MB / 398.1 MB Notification: Performance of Templates: time 0.01484/0.5379, allocations: 3.811 MB / 0.5456 GB, free: 1.113 MB / 398.1 MB " [Timeout remaining time 659] 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.652484611608088] Failed to read output from testmodel.py, exit status != 0: 0.5495646707713604 0.574136804 0.064588279 Calling exit ...