Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.0008605/0.0008605, allocations: 80.88 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.0009877/0.0009877, allocations: 181 kB / 23.36 MB, free: 1.133 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.028/1.028, 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.8141/0.8141, allocations: 154.9 MB / 415.1 MB, free: 232 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.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.53e-05, allocations: 5.312 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002101/0.002116, allocations: 1.592 MB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.003097, allocations: 0.5469 MB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.003156, allocations: 4 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.86e-05/0.003255, allocations: 8.531 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.003365, allocations: 31.11 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.004027, allocations: 322.4 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.004461, allocations: 488.8 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.004497, allocations: 5.484 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.004861, allocations: 360.8 kB / 483.7 MB, free: 3.238 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.005078, allocations: 139 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/0.005127, allocations: 28.91 kB / 483.9 MB, free: 3.078 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.164e-05/0.005168, allocations: 24 kB / 483.9 MB, free: 3.055 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.784e-05/0.005266, allocations: 116.5 kB / 484 MB, free: 2.941 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.005366, allocations: 131.7 kB / 484.1 MB, free: 2.812 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.005637, allocations: 379.8 kB / 484.5 MB, free: 2.441 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005639, allocations: 0 / 484.5 MB, free: 2.441 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005639, allocations: 0 / 484.5 MB, free: 2.441 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.005646, allocations: 4.609 kB / 484.5 MB, free: 2.438 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.0007458/0.006392, allocations: 0.7392 MB / 485.2 MB, free: 1.637 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.006422, allocations: 12.66 kB / 485.3 MB, free: 1.625 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.006495, allocations: 52.86 kB / 485.3 MB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.006727, allocations: 232.6 kB / 485.5 MB, free: 1.324 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.006759, allocations: 20.38 kB / 485.6 MB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.006807, allocations: 36.92 kB / 485.6 MB, free: 1.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.007125, allocations: 180.1 kB / 485.8 MB, free: 1.094 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.007136, allocations: 192 / 485.8 MB, free: 1.094 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.007153, allocations: 8.375 kB / 485.8 MB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.007157, allocations: 384 / 485.8 MB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.007235, allocations: 45.22 kB / 485.8 MB, free: 1.051 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.007405, allocations: 112.9 kB / 485.9 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.007551, allocations: 90.28 kB / 486 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.622e-05/0.007627, allocations: 54.64 kB / 486.1 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.007643, allocations: 4 kB / 486.1 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.0078, allocations: 149.7 kB / 486.2 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.007801, allocations: 1.594 kB / 486.2 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002988/0.0081, allocations: 201.8 kB / 486.4 MB, free: 452 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.008132, allocations: 67.33 kB / 486.5 MB, free: 372 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.008306, allocations: 327.3 kB / 486.8 MB, free: 32 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.008355, allocations: 42.59 kB / 486.8 MB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.008401, allocations: 97.42 kB / 486.9 MB, free: 15.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.008431, allocations: 37.09 kB / 487 MB, free: 15.85 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.008542, allocations: 121.4 kB / 487.1 MB, free: 15.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.008621, allocations: 334.7 kB / 487.4 MB, free: 15.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.008767, allocations: 152.6 kB / 487.6 MB, free: 15.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.008917, allocations: 201.3 kB / 487.8 MB, free: 15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.009108, allocations: 252.2 kB / 488 MB, free: 14.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.00911, allocations: 0.625 kB / 488 MB, free: 14.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003362/0.009447, allocations: 430.5 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.009494, allocations: 79.38 kB / 488.5 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.0095, allocations: 4 kB / 488.5 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.00951, allocations: 0 / 488.5 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.009626, allocations: 45.8 kB / 488.6 MB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.00963, allocations: 4 kB / 488.6 MB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.009788, allocations: 43.92 kB / 488.6 MB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.009842, allocations: 51.92 kB / 488.7 MB, free: 14.04 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.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.0001193/0.009961, allocations: 148.5 kB / 488.8 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.009996, allocations: 27.91 kB / 488.8 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.01004, allocations: 35.69 kB / 488.9 MB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01004, allocations: 4.906 kB / 488.9 MB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01005, allocations: 0 / 488.9 MB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01005, allocations: 3.984 kB / 488.9 MB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.01046, allocations: 376.6 kB / 489.2 MB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01046, allocations: 3.938 kB / 489.2 MB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.01049, allocations: 12.86 kB / 489.3 MB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.01049, allocations: 4 kB / 489.3 MB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.01051, allocations: 9.5 kB / 489.3 MB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01051, allocations: 4 kB / 489.3 MB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01052, allocations: 3.938 kB / 489.3 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.01072, allocations: 241 kB / 489.5 MB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.01085, allocations: 115.5 kB / 489.6 MB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.01089, allocations: 12.89 kB / 489.6 MB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.01106, allocations: 33.67 kB / 489.7 MB, free: 13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.01109, allocations: 11.91 kB / 489.7 MB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.01113, allocations: 43.98 kB / 489.7 MB, free: 12.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.676e-05/0.01122, allocations: 147.1 kB / 489.9 MB, free: 12.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01122, allocations: 0 / 489.9 MB, free: 12.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000203/0.01143, allocations: 64 kB / 489.9 MB, free: 12.73 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.48e-05/0.01152, allocations: 96.34 kB / 490 MB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.01192, allocations: 400.7 kB / 490.4 MB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.01192, allocations: 4 kB / 490.4 MB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/0.01202, allocations: 69.19 kB / 490.5 MB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.01221, allocations: 40.98 kB / 490.5 MB, free: 12.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.01279, allocations: 467.4 kB / 491 MB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.838e-05/0.01283, allocations: 88.81 kB / 491.1 MB, free: 11.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.01287, allocations: 14.95 kB / 491.1 MB, free: 11.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.01304, allocations: 121.9 kB / 491.2 MB, free: 11.4 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01304, allocations: 0 / 491.2 MB, free: 11.4 MB / 458.7 MB Notification: Performance of Templates: time 0.006296/0.01933, allocations: 5.301 MB / 496.5 MB, free: 6.344 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7774031120352447]