Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.002315/0.002315, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.003275/0.003275, allocations: 169.2 kB / 22.76 MB, free: 1.656 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.374/1.374, allocations: 154.6 MB / 414.1 MB, free: 0.6445 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.354e-05, allocations: 6.969 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002938/0.002971, allocations: 1.524 MB / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.004791, allocations: 0.5371 MB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.004851, allocations: 1.25 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.004991, allocations: 11.86 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.005138, allocations: 27.86 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009155/0.006053, allocations: 316.7 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006338/0.006687, allocations: 486.9 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.006739, allocations: 7.984 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.007299, allocations: 359.6 kB / 0.5228 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.00761, allocations: 128.7 kB / 0.5229 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.007735, allocations: 28 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.007851, allocations: 28 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.008016, allocations: 111.7 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.008211, allocations: 128.3 kB / 0.5232 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.008838, allocations: 474.6 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.008843, allocations: 0.5625 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.008844, allocations: 0.5 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.00885, allocations: 0 / 0.5236 GB, free: 14.45 MB / 0.4948 GB 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.001572/0.01042, allocations: 0.9189 MB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.01047, allocations: 13.59 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.01063, allocations: 56.69 kB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.01115, allocations: 262.9 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.0112, allocations: 12.38 kB / 0.5248 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.01127, allocations: 29.2 kB / 0.5249 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.01191, allocations: 210.5 kB / 0.5251 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.01192, allocations: 2.188 kB / 0.5251 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.01195, allocations: 4.375 kB / 0.5251 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.01196, allocations: 8.312 kB / 0.5251 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.01236, allocations: 76.45 kB / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.01286, allocations: 336.4 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.01348, allocations: 144.2 kB / 0.5256 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.01388, allocations: 93.62 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.01391, allocations: 7.984 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/0.01447, allocations: 212.3 kB / 0.5259 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.01447, allocations: 0 / 0.5259 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001558/0.01603, allocations: 438.1 kB / 0.5263 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.0161, allocations: 71.33 kB / 0.5264 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.01662, allocations: 462.7 kB / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.475e-05/0.01668, allocations: 39.58 kB / 0.5269 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01681, allocations: 144.2 kB / 0.527 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.01688, allocations: 51.67 kB / 0.5271 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.01711, allocations: 135.1 kB / 0.5272 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002924/0.01741, allocations: 0.5001 MB / 0.5277 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.01778, allocations: 212.2 kB / 0.5279 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.01845, allocations: 285.1 kB / 0.5282 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.01892, allocations: 318.8 kB / 0.5285 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01893, allocations: 3.938 kB / 0.5285 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001072/0.02, allocations: 0.6134 MB / 0.5291 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.836e-05/0.0201, allocations: 79.38 kB / 0.5291 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.02011, allocations: 7.125 kB / 0.5291 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.02013, allocations: 4 kB / 0.5291 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.02035, allocations: 35.91 kB / 0.5292 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.02036, allocations: 3.938 kB / 0.5292 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.02071, allocations: 43.92 kB / 0.5292 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.02083, allocations: 63.97 kB / 0.5293 GB, free: 8.297 MB / 0.4948 GB 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.0002344/0.02106, allocations: 192.3 kB / 0.5295 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.02115, allocations: 47.75 kB / 0.5295 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.824e-05/0.02123, allocations: 31.69 kB / 0.5295 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.02124, allocations: 0 / 0.5295 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.02124, allocations: 2.406 kB / 0.5296 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.02125, allocations: 7.922 kB / 0.5296 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.02298, allocations: 0.7395 MB / 0.5303 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.02299, allocations: 0.875 kB / 0.5303 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.02302, allocations: 4 kB / 0.5303 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.02303, allocations: 0.5312 kB / 0.5303 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.02308, allocations: 27.91 kB / 0.5303 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.02308, allocations: 5.5 kB / 0.5303 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02308, allocations: 0 / 0.5303 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.02421, allocations: 497.1 kB / 0.5308 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.02451, allocations: 137.4 kB / 0.5309 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.02459, allocations: 17 kB / 0.5309 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.02486, allocations: 16.89 kB / 0.531 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.02492, allocations: 15.97 kB / 0.531 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/0.025, allocations: 55.98 kB / 0.531 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003136/0.02531, allocations: 287.6 kB / 0.5313 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02531, allocations: 0.6875 kB / 0.5313 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003926/0.0257, allocations: 71.98 kB / 0.5314 GB, free: 6.105 MB / 0.4948 GB 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 0.0001778/0.02588, allocations: 111.1 kB / 0.5315 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.02704, allocations: 0.5936 MB / 0.5321 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.02704, allocations: 0 / 0.5321 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.02747, allocations: 111.4 kB / 0.5322 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.02787, allocations: 57.73 kB / 0.5322 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.02903, allocations: 0.4935 MB / 0.5327 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.02923, allocations: 155 kB / 0.5328 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.549e-05/0.0293, allocations: 16.14 kB / 0.5329 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.02934, allocations: 12.5 kB / 0.5329 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.02935, allocations: 0 / 0.5329 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of Templates: time 0.01144/0.04079, allocations: 5.872 MB / 0.5386 GB, free: 14.72 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.319256240967661]