Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.094/1.094, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7886/0.7886, allocations: 154.9 MB / 415.1 MB, free: 204 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0.6562 kB / 480.3 MB, free: 6.566 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.24e-05, allocations: 2.312 kB / 480.3 MB, free: 6.562 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.00189/0.001902, allocations: 1.553 MB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.002782, allocations: 0.5406 MB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.002829, allocations: 0 / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.167e-05/0.002911, allocations: 5.109 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.003019, allocations: 34.59 kB / 482.4 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.003555, allocations: 315.9 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.003898, allocations: 491.9 kB / 483.2 MB, free: 3.695 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.00393, allocations: 9.484 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.004246, allocations: 364.4 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.004429, allocations: 139.1 kB / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.004473, allocations: 24.72 kB / 483.8 MB, free: 3.18 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.343e-05/0.004516, allocations: 28 kB / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.004603, allocations: 124.2 kB / 483.9 MB, free: 3.031 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.004697, allocations: 127.7 kB / 484 MB, free: 2.906 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.004948, allocations: 375.7 kB / 484.4 MB, free: 2.539 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.00495, allocations: 0 / 484.4 MB, free: 2.539 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00495, allocations: 1.125 kB / 484.4 MB, free: 2.539 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004954, allocations: 4 kB / 484.4 MB, free: 2.535 MB / 442.7 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.0006637/0.005618, allocations: 0.7389 MB / 485.1 MB, free: 1.734 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.005645, allocations: 8.844 kB / 485.2 MB, free: 1.727 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.005717, allocations: 52.88 kB / 485.2 MB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.005927, allocations: 240.6 kB / 485.4 MB, free: 1.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.005959, allocations: 16.36 kB / 485.5 MB, free: 1.402 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.006005, allocations: 29.67 kB / 485.5 MB, free: 1.375 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.006289, allocations: 186.2 kB / 485.7 MB, free: 1.191 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.006295, allocations: 192 / 485.7 MB, free: 1.191 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.006312, allocations: 5.141 kB / 485.7 MB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.006317, allocations: 4.375 kB / 485.7 MB, free: 1.184 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.118e-05/0.006388, allocations: 41.77 kB / 485.7 MB, free: 1.148 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.006538, allocations: 122.3 kB / 485.8 MB, free: 1.016 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.006682, allocations: 93.86 kB / 485.9 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.006752, allocations: 42.81 kB / 486 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.006767, allocations: 4 kB / 486 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.006913, allocations: 151.5 kB / 486.1 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.006914, allocations: 0 / 486.1 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003063/0.00722, allocations: 210.5 kB / 486.3 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.007248, allocations: 56.12 kB / 486.4 MB, free: 472 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.007426, allocations: 331.3 kB / 486.7 MB, free: 128 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.00746, allocations: 42.56 kB / 486.7 MB, free: 80 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.007515, allocations: 93.45 kB / 486.8 MB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.007546, allocations: 44.31 kB / 486.9 MB, free: 15.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.007654, allocations: 113.4 kB / 487 MB, free: 15.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.007723, allocations: 332.8 kB / 487.3 MB, free: 15.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.00786, allocations: 155.3 kB / 487.5 MB, free: 15.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.008141, allocations: 209.2 kB / 487.7 MB, free: 15.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.008308, allocations: 236 kB / 487.9 MB, free: 14.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.008311, allocations: 0 / 487.9 MB, free: 14.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003341/0.008645, allocations: 442.3 kB / 488.3 MB, free: 14.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.008693, allocations: 79.38 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.008697, allocations: 0.75 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.008708, allocations: 4 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.00881, allocations: 41.44 kB / 488.5 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.008814, allocations: 4 kB / 488.5 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.008973, allocations: 43.92 kB / 488.5 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.00902, allocations: 50.11 kB / 488.6 MB, free: 14.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.000105/0.009125, allocations: 153.6 kB / 488.7 MB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.00916, allocations: 24.53 kB / 488.7 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.0092, allocations: 39.67 kB / 488.8 MB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009202, allocations: 4.906 kB / 488.8 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.009204, allocations: 0 / 488.8 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009207, allocations: 0.6562 kB / 488.8 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.009608, allocations: 387.1 kB / 489.1 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009609, allocations: 0 / 489.1 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.009628, allocations: 8 kB / 489.2 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.00963, allocations: 1.844 kB / 489.2 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.009648, allocations: 15.97 kB / 489.2 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.00965, allocations: 0 / 489.2 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009651, allocations: 0 / 489.2 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.009855, allocations: 238.8 kB / 489.4 MB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.009988, allocations: 119.5 kB / 489.5 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.01003, allocations: 11.98 kB / 489.5 MB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.01019, allocations: 33.34 kB / 489.6 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.01022, allocations: 15.86 kB / 489.6 MB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.01025, allocations: 49.23 kB / 489.6 MB, free: 13.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.048e-05/0.01034, allocations: 136.7 kB / 489.8 MB, free: 12.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01034, allocations: 0 / 489.8 MB, free: 12.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.01053, allocations: 69.34 kB / 489.8 MB, free: 12.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$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.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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 8.496e-05/0.01061, allocations: 90.97 kB / 489.9 MB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.01099, allocations: 406.1 kB / 490.3 MB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.011, allocations: 4 kB / 490.3 MB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.01108, allocations: 63.25 kB / 490.4 MB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.01126, allocations: 43.95 kB / 490.4 MB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.01184, allocations: 469.3 kB / 490.9 MB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.655e-05/0.01188, allocations: 84.56 kB / 491 MB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.01192, allocations: 15.11 kB / 491 MB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.01209, allocations: 124.2 kB / 491.1 MB, free: 11.5 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01209, allocations: 0 / 491.1 MB, free: 11.5 MB / 458.7 MB Notification: Performance of Templates: time 0.006575/0.01866, allocations: 5.403 MB / 496.5 MB, free: 6.336 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7631700267083943]