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.001034/0.001034, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001225/0.001225, allocations: 181 kB / 23.36 MB, free: 1.129 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.1/1.1, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8397/0.8397, allocations: 154.9 MB / 415.1 MB, free: 220 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.503e-06/1.503e-06, allocations: 0 / 480.3 MB, free: 6.578 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.643e-05, allocations: 2.938 kB / 480.4 MB, free: 6.574 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002289/0.002316, allocations: 1.598 MB / 482 MB, free: 5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.0033, allocations: 0.5467 MB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.003371, allocations: 0 / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.877e-05/0.00347, allocations: 10.28 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.003586, allocations: 29.17 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007189/0.004305, allocations: 326.8 kB / 482.9 MB, free: 4.113 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.004771, allocations: 484.9 kB / 483.3 MB, free: 3.656 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.004814, allocations: 5.5 kB / 483.3 MB, free: 3.652 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.005216, allocations: 356.3 kB / 483.7 MB, free: 3.305 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.005445, allocations: 139.4 kB / 483.8 MB, free: 3.172 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.005497, allocations: 25.44 kB / 483.8 MB, free: 3.148 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.789e-05/0.005544, allocations: 28 kB / 483.9 MB, free: 3.121 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.005637, allocations: 119.7 kB / 484 MB, free: 3.004 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.005743, allocations: 128.5 kB / 484.1 MB, free: 2.879 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.006049, allocations: 374.9 kB / 484.5 MB, free: 2.512 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.006052, allocations: 0 / 484.5 MB, free: 2.512 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.006054, allocations: 4.656 kB / 484.5 MB, free: 2.508 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.00606, allocations: 4.781 kB / 484.5 MB, free: 2.504 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.0008298/0.00689, allocations: 0.7386 MB / 485.2 MB, free: 1.703 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.006921, allocations: 8.938 kB / 485.2 MB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.667e-05/0.007008, allocations: 48.88 kB / 485.3 MB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.007248, allocations: 242.2 kB / 485.5 MB, free: 1.391 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.007283, allocations: 12.38 kB / 485.5 MB, free: 1.379 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.007327, allocations: 28.36 kB / 485.6 MB, free: 1.352 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.007651, allocations: 194.1 kB / 485.7 MB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.007659, allocations: 192 / 485.7 MB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.007675, allocations: 384 / 485.7 MB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007682, allocations: 6.375 kB / 485.8 MB, free: 1.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.007758, allocations: 44.47 kB / 485.8 MB, free: 1.121 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.007934, allocations: 116.9 kB / 485.9 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.008095, allocations: 94.91 kB / 486 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.008169, allocations: 41.62 kB / 486 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.008189, allocations: 8.984 kB / 486.1 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.008361, allocations: 147.8 kB / 486.2 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.153e-06/0.008362, allocations: 0.875 kB / 486.2 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003396/0.008702, allocations: 211.8 kB / 486.4 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.008739, allocations: 59.39 kB / 486.5 MB, free: 444 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.008941, allocations: 328.4 kB / 486.8 MB, free: 104 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.00898, allocations: 41.69 kB / 486.8 MB, free: 56 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.009042, allocations: 97.44 kB / 486.9 MB, free: 15.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.009078, allocations: 44.33 kB / 487 MB, free: 15.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.009194, allocations: 113.3 kB / 487.1 MB, free: 15.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.009275, allocations: 332.5 kB / 487.4 MB, free: 15.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.00943, allocations: 151.3 kB / 487.5 MB, free: 15.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.009583, allocations: 205.3 kB / 487.7 MB, free: 15.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.009769, allocations: 240.4 kB / 488 MB, free: 14.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.009772, allocations: 3.938 kB / 488 MB, free: 14.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004168/0.01019, allocations: 436.5 kB / 488.4 MB, free: 14.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.01025, allocations: 83.31 kB / 488.5 MB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01025, allocations: 1.188 kB / 488.5 MB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01027, allocations: 4 kB / 488.5 MB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.01039, allocations: 43.91 kB / 488.5 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.0104, allocations: 5.984 kB / 488.5 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.01056, allocations: 39.94 kB / 488.6 MB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.01062, allocations: 55.91 kB / 488.6 MB, free: 14.11 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.0001396/0.01076, allocations: 157 kB / 488.8 MB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.0108, allocations: 25.41 kB / 488.8 MB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.01085, allocations: 37.23 kB / 488.9 MB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01085, allocations: 0 / 488.9 MB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01086, allocations: 0 / 488.9 MB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01086, allocations: 1.031 kB / 488.9 MB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.01135, allocations: 383.8 kB / 489.2 MB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01135, allocations: 0 / 489.2 MB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.01138, allocations: 8.609 kB / 489.2 MB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01138, allocations: 0 / 489.2 MB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.0114, allocations: 8.922 kB / 489.2 MB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.0114, allocations: 3.984 kB / 489.3 MB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01141, allocations: 1.031 kB / 489.3 MB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.01164, allocations: 245.2 kB / 489.5 MB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.01178, allocations: 119.5 kB / 489.6 MB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.01183, allocations: 12 kB / 489.6 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.01202, allocations: 33.56 kB / 489.7 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.01204, allocations: 11.92 kB / 489.7 MB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.01208, allocations: 53.28 kB / 489.7 MB, free: 13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.917e-05/0.01218, allocations: 132.7 kB / 489.8 MB, free: 12.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01218, allocations: 0 / 489.8 MB, free: 12.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.0124, allocations: 64.89 kB / 489.9 MB, free: 12.8 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 0.0001207/0.01252, allocations: 102.5 kB / 490 MB, free: 12.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.01294, allocations: 410.9 kB / 490.4 MB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.01294, allocations: 4 kB / 490.4 MB, free: 12.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.01304, allocations: 60.48 kB / 490.5 MB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.01326, allocations: 45.61 kB / 490.5 MB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007086/0.01397, allocations: 468.3 kB / 491 MB, free: 11.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.01402, allocations: 84.44 kB / 491.1 MB, free: 11.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.252e-05/0.01406, allocations: 20.09 kB / 491.1 MB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.01424, allocations: 117.7 kB / 491.2 MB, free: 11.46 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01424, allocations: 0.625 kB / 491.2 MB, free: 11.46 MB / 458.7 MB Notification: Performance of Templates: time 0.006947/0.02118, allocations: 5.396 MB / 496.6 MB, free: 6.297 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9399654609151185]