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.0006537/0.0006537, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009529/0.001607, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006997/0.0006997, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008631/0.001563, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.016/1.016, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08922/1.105, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.778/0.778, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.2864/1.064, allocations: 49.13 MB / 448.4 MB, free: 6.012 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.563e-06/1.563e-06, allocations: 0.7656 kB / 449.6 MB, free: 4.77 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.232e-05, allocations: 7.891 kB / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002076/0.002098, allocations: 1.597 MB / 451.2 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008542/0.002953, allocations: 0.5625 MB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.00302, allocations: 0 / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.514e-05/0.003075, allocations: 8.641 kB / 451.8 MB, free: 2.617 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.00317, allocations: 25.88 kB / 451.8 MB, free: 2.598 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.003787, allocations: 334.8 kB / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.004267, allocations: 0.4899 MB / 452.7 MB, free: 1.809 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.004305, allocations: 5.656 kB / 452.7 MB, free: 1.805 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.004664, allocations: 371.4 kB / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.004887, allocations: 135.9 kB / 453.2 MB, free: 1.316 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.004939, allocations: 28.69 kB / 453.2 MB, free: 1.289 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.064e-05/0.004979, allocations: 24 kB / 453.2 MB, free: 1.266 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.39e-05/0.005063, allocations: 105.7 kB / 453.3 MB, free: 1.164 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.005157, allocations: 103.7 kB / 453.4 MB, free: 1.062 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.005427, allocations: 338.9 kB / 453.7 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.005441, allocations: 0 / 453.7 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005442, allocations: 0 / 453.7 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.005458, allocations: 0.5625 kB / 453.8 MB, free: 0.7305 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.0008749/0.006333, allocations: 0.8209 MB / 454.6 MB, free: 15.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.006362, allocations: 8.031 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.00644, allocations: 44.88 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.006674, allocations: 232.1 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.006707, allocations: 21.02 kB / 454.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.006752, allocations: 29.08 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.007058, allocations: 174.9 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.007066, allocations: 4.125 kB / 455.1 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.007087, allocations: 13.86 kB / 455.1 MB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.007092, allocations: 0.9375 kB / 455.1 MB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.124e-05/0.007164, allocations: 36.11 kB / 455.1 MB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.007324, allocations: 117.5 kB / 455.2 MB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.007471, allocations: 90.81 kB / 455.3 MB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.007539, allocations: 45.72 kB / 455.4 MB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.007559, allocations: 5 kB / 455.4 MB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.007727, allocations: 152.5 kB / 455.5 MB, free: 14.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.007729, allocations: 0 / 455.5 MB, free: 14.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003114/0.00804, allocations: 205.6 kB / 455.7 MB, free: 14.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.008077, allocations: 63.39 kB / 455.8 MB, free: 14.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.008258, allocations: 327.3 kB / 456.1 MB, free: 14.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.008292, allocations: 41.69 kB / 456.1 MB, free: 14.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.008335, allocations: 101.9 kB / 456.2 MB, free: 14.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.008368, allocations: 36.59 kB / 456.3 MB, free: 14.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.008473, allocations: 117.4 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.008548, allocations: 323.4 kB / 456.7 MB, free: 13.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.008701, allocations: 156.8 kB / 456.9 MB, free: 13.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.008847, allocations: 208 kB / 457.1 MB, free: 13.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.009025, allocations: 244.9 kB / 457.3 MB, free: 12.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.009027, allocations: 0.9062 kB / 457.3 MB, free: 12.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003302/0.009357, allocations: 430.2 kB / 457.7 MB, free: 12.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.009415, allocations: 79.38 kB / 457.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.009421, allocations: 7.938 kB / 457.8 MB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.00943, allocations: 4 kB / 457.8 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.009559, allocations: 41.03 kB / 457.9 MB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.009563, allocations: 3.984 kB / 457.9 MB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.009721, allocations: 48.52 kB / 457.9 MB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.009768, allocations: 52.61 kB / 458 MB, free: 12.27 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.0001134/0.009881, allocations: 145.4 kB / 458.1 MB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.009915, allocations: 23.97 kB / 458.1 MB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.009956, allocations: 36.56 kB / 458.2 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.009958, allocations: 0 / 458.2 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.00996, allocations: 0 / 458.2 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.009965, allocations: 4.734 kB / 458.2 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.01036, allocations: 380.9 kB / 458.5 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01036, allocations: 0 / 458.5 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.01039, allocations: 7.984 kB / 458.5 MB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.01052, allocations: 115.5 kB / 458.7 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01052, allocations: 4.828 kB / 458.7 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.01054, allocations: 11.98 kB / 458.7 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01054, allocations: 4.719 kB / 458.7 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01054, allocations: 0 / 458.7 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.01075, allocations: 247.9 kB / 458.9 MB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.0108, allocations: 11.98 kB / 458.9 MB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.01096, allocations: 33.16 kB / 459 MB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.01098, allocations: 18.28 kB / 459 MB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.01102, allocations: 43.98 kB / 459 MB, free: 11.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.739e-05/0.01111, allocations: 140.7 kB / 459.2 MB, free: 11.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01111, allocations: 0 / 459.2 MB, free: 11.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.01129, allocations: 63.98 kB / 459.2 MB, free: 10.98 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 9.874e-05/0.01139, allocations: 100.5 kB / 459.3 MB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003777/0.01177, allocations: 392.9 kB / 459.7 MB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.01178, allocations: 4 kB / 459.7 MB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.814e-05/0.01186, allocations: 66.06 kB / 459.8 MB, free: 10.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.01206, allocations: 74.62 kB / 459.9 MB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008789/0.01293, allocations: 468 kB / 460.3 MB, free: 9.852 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.783e-05/0.01298, allocations: 90.08 kB / 460.4 MB, free: 9.746 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.78e-05/0.01302, allocations: 15.52 kB / 460.4 MB, free: 9.734 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.01318, allocations: 114.6 kB / 460.5 MB, free: 9.629 MB / 442.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01318, allocations: 0 / 460.5 MB, free: 9.629 MB / 442.7 MB Notification: Performance of Templates: time 0.006614/0.0198, allocations: 5.444 MB / 466 MB, free: 4.469 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.664801076054573]