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.0007154/0.0007154, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001815, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001078/0.001078, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002548, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.075/1.075, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08731/1.162, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8836/0.8836, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3121/1.196, allocations: 49.14 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.793e-06/1.793e-06, allocations: 0.875 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.461e-05, allocations: 8.141 kB / 449.9 MB, free: 4.629 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002496/0.002531, allocations: 1.604 MB / 451.5 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.003477, allocations: 0.559 MB / 452.1 MB, free: 2.492 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.003538, allocations: 0 / 452.1 MB, free: 2.492 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.366e-05/0.003602, allocations: 3.938 kB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.73e-05/0.003699, allocations: 29.97 kB / 452.1 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.004278, allocations: 332.6 kB / 452.4 MB, free: 2.148 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.00471, allocations: 499.1 kB / 452.9 MB, free: 1.684 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.004748, allocations: 5.75 kB / 452.9 MB, free: 1.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.005118, allocations: 377.7 kB / 453.3 MB, free: 1.316 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.005345, allocations: 137.5 kB / 453.4 MB, free: 1.188 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.005398, allocations: 24 kB / 453.5 MB, free: 1.164 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.695e-05/0.005455, allocations: 28 kB / 453.5 MB, free: 1.137 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.005554, allocations: 99.77 kB / 453.6 MB, free: 1.039 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.348e-05/0.005647, allocations: 103.7 kB / 453.7 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.005922, allocations: 335 kB / 454 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.005936, allocations: 4.562 kB / 454 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005938, allocations: 0.625 kB / 454 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.005948, allocations: 3.938 kB / 454 MB, free: 0.6016 MB / 426.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.0008675/0.006816, allocations: 0.8125 MB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.00685, allocations: 12.03 kB / 454.8 MB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.069e-05/0.00693, allocations: 50.31 kB / 454.9 MB, free: 15.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.007158, allocations: 236 kB / 455.1 MB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.007199, allocations: 16.36 kB / 455.1 MB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.007249, allocations: 28.36 kB / 455.2 MB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.007565, allocations: 183.1 kB / 455.3 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.007573, allocations: 192 / 455.3 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.007589, allocations: 1.562 kB / 455.3 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.007596, allocations: 4.375 kB / 455.4 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.085e-05/0.007667, allocations: 40.27 kB / 455.4 MB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.007836, allocations: 110.8 kB / 455.5 MB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.007999, allocations: 105.5 kB / 455.6 MB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/0.008068, allocations: 42.05 kB / 455.6 MB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.008091, allocations: 5.938 kB / 455.7 MB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.008285, allocations: 151.2 kB / 455.8 MB, free: 14.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.008286, allocations: 0 / 455.8 MB, free: 14.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.000328/0.008614, allocations: 206 kB / 456 MB, free: 14.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.008652, allocations: 59.39 kB / 456.1 MB, free: 14.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.008857, allocations: 323.3 kB / 456.4 MB, free: 14.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.008895, allocations: 45.69 kB / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.008946, allocations: 102.3 kB / 456.5 MB, free: 13.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.008984, allocations: 39.66 kB / 456.6 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.009091, allocations: 115.4 kB / 456.7 MB, free: 13.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.00919, allocations: 326.8 kB / 457 MB, free: 13.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.009362, allocations: 156.8 kB / 457.1 MB, free: 13.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.009513, allocations: 202.5 kB / 457.3 MB, free: 13.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.009712, allocations: 241.4 kB / 457.6 MB, free: 12.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.009715, allocations: 12.62 kB / 457.6 MB, free: 12.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00034/0.01006, allocations: 426.2 kB / 458 MB, free: 12.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.605e-05/0.01013, allocations: 79.38 kB / 458.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.01014, allocations: 5.688 kB / 458.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.01016, allocations: 0 / 458.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.01028, allocations: 47.91 kB / 458.1 MB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01029, allocations: 4.609 kB / 458.1 MB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.01045, allocations: 45.64 kB / 458.2 MB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.0105, allocations: 51.92 kB / 458.2 MB, free: 12.14 MB / 442.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.0001177/0.01061, allocations: 145.3 kB / 458.4 MB, free: 12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.01065, allocations: 25.33 kB / 458.4 MB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.0107, allocations: 34.31 kB / 458.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.0107, allocations: 4 kB / 458.4 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.0107, allocations: 0 / 458.4 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01071, allocations: 3.984 kB / 458.4 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.01122, allocations: 378.8 kB / 458.8 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01122, allocations: 4.859 kB / 458.8 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.01126, allocations: 4 kB / 458.8 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.01139, allocations: 124.3 kB / 458.9 MB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.01139, allocations: 0 / 458.9 MB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.01141, allocations: 9.547 kB / 459 MB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.01141, allocations: 7.938 kB / 459 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01141, allocations: 3.984 kB / 459 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.01163, allocations: 236 kB / 459.2 MB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.01167, allocations: 12 kB / 459.2 MB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.01185, allocations: 29.16 kB / 459.2 MB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.01188, allocations: 17.03 kB / 459.2 MB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.01191, allocations: 57.97 kB / 459.3 MB, free: 11.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.01202, allocations: 136.7 kB / 459.4 MB, free: 10.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01202, allocations: 0 / 459.4 MB, free: 10.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.01221, allocations: 67.98 kB / 459.5 MB, free: 10.85 MB / 442.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 0.0001225/0.01233, allocations: 99.84 kB / 459.6 MB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.01274, allocations: 394.3 kB / 460 MB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.01275, allocations: 7.984 kB / 460 MB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.01284, allocations: 67.31 kB / 460.1 MB, free: 10.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.01309, allocations: 122.8 kB / 460.2 MB, free: 10.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009147/0.014, allocations: 458.5 kB / 460.6 MB, free: 9.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.01405, allocations: 89.39 kB / 460.7 MB, free: 9.555 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.554e-05/0.01409, allocations: 20.08 kB / 460.7 MB, free: 9.539 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.01426, allocations: 118.1 kB / 460.9 MB, free: 9.43 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01426, allocations: 4.688 kB / 460.9 MB, free: 9.426 MB / 442.7 MB Notification: Performance of Templates: time 0.006514/0.02077, allocations: 5.415 MB / 466.3 MB, free: 4.289 MB / 442.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.789849695749581]