Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.0009164/0.0009164, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001096/0.001096, allocations: 173 kB / 23.5 MB, free: 1.051 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.574 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.7891/0.7891, allocations: 154.8 MB / 415.1 MB, free: 484 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5205 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.038e-05, allocations: 9.578 kB / 0.5205 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002981/0.003011, allocations: 1.55 MB / 0.522 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004336, allocations: 0.5324 MB / 0.5226 GB, free: 228 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.004414, allocations: 0 / 0.5226 GB, free: 228 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.004516, allocations: 7.875 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.004629, allocations: 33.31 kB / 0.5226 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.00533, allocations: 320.2 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.005698, allocations: 487.4 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.00574, allocations: 1.406 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.006074, allocations: 355.6 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.006273, allocations: 124.9 kB / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.006321, allocations: 28 kB / 0.5239 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.673e-05/0.006367, allocations: 24 kB / 0.5239 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.006471, allocations: 128.3 kB / 0.524 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.00658, allocations: 123.7 kB / 0.5241 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.006892, allocations: 384.1 kB / 0.5245 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.006896, allocations: 0 / 0.5245 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.006898, allocations: 0 / 0.5245 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.006903, allocations: 0 / 0.5245 GB, free: 14.25 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.0009596/0.007862, allocations: 0.9076 MB / 0.5254 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.007903, allocations: 12.56 kB / 0.5254 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.008018, allocations: 56.66 kB / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.00827, allocations: 264.8 kB / 0.5257 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.008308, allocations: 20.36 kB / 0.5257 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.008354, allocations: 24.38 kB / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.008725, allocations: 209.7 kB / 0.5259 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.008731, allocations: 4.125 kB / 0.5259 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.008753, allocations: 5.484 kB / 0.526 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.00876, allocations: 4.375 kB / 0.526 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.968e-05/0.00886, allocations: 58.28 kB / 0.526 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.009261, allocations: 304.4 kB / 0.5263 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.009472, allocations: 125.4 kB / 0.5264 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.009571, allocations: 65.88 kB / 0.5265 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.009594, allocations: 0 / 0.5265 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.009805, allocations: 190.6 kB / 0.5267 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.009807, allocations: 0.5 kB / 0.5267 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.000546/0.01035, allocations: 373.6 kB / 0.527 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.01039, allocations: 64.86 kB / 0.5271 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.01065, allocations: 426.6 kB / 0.5275 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.01069, allocations: 41.69 kB / 0.5275 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.01075, allocations: 148.1 kB / 0.5277 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.01078, allocations: 32.3 kB / 0.5277 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.01096, allocations: 139.1 kB / 0.5278 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.01107, allocations: 0.4928 MB / 0.5283 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.01128, allocations: 180.2 kB / 0.5285 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.01148, allocations: 245.1 kB / 0.5287 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.01171, allocations: 273.5 kB / 0.529 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01172, allocations: 0 / 0.529 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005647/0.01228, allocations: 0.5581 MB / 0.5295 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.01234, allocations: 84.55 kB / 0.5296 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01234, allocations: 0 / 0.5296 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.01236, allocations: 4 kB / 0.5296 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.0125, allocations: 35.92 kB / 0.5296 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.01251, allocations: 13.42 kB / 0.5297 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.01269, allocations: 47.86 kB / 0.5297 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.01275, allocations: 61.89 kB / 0.5298 GB, free: 8.547 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.0001402/0.01289, allocations: 186.5 kB / 0.5299 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.01294, allocations: 43.75 kB / 0.53 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.01298, allocations: 40.8 kB / 0.53 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01299, allocations: 0 / 0.53 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01299, allocations: 0 / 0.53 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.013, allocations: 3.938 kB / 0.53 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006945/0.01369, allocations: 0.6765 MB / 0.5307 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01369, allocations: 3.938 kB / 0.5307 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.01373, allocations: 4 kB / 0.5307 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01373, allocations: 0 / 0.5307 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.01376, allocations: 27.91 kB / 0.5307 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01376, allocations: 0 / 0.5307 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01376, allocations: 0.9688 kB / 0.5307 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.01415, allocations: 468.4 kB / 0.5312 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.01439, allocations: 122.8 kB / 0.5313 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.01444, allocations: 15.94 kB / 0.5313 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.0146, allocations: 16.8 kB / 0.5313 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.01464, allocations: 11.97 kB / 0.5313 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.01468, allocations: 60.73 kB / 0.5314 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001651/0.01485, allocations: 271.1 kB / 0.5316 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01485, allocations: 0.875 kB / 0.5316 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002305/0.01508, allocations: 67.98 kB / 0.5317 GB, free: 6.504 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.0001435/0.01522, allocations: 118.2 kB / 0.5318 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004858/0.01571, allocations: 428.9 kB / 0.5322 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01571, allocations: 0 / 0.5322 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.01583, allocations: 95.5 kB / 0.5323 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.01611, allocations: 46.38 kB / 0.5324 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.01687, allocations: 483.6 kB / 0.5328 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.5e-05/0.01692, allocations: 83.81 kB / 0.5329 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.01696, allocations: 13.77 kB / 0.5329 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.01699, allocations: 17.06 kB / 0.5329 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of SimCode: time 9.31e-07/0.01699, allocations: 1.281 kB / 0.5329 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of Templates: time 0.007322/0.02432, allocations: 5.854 MB / 0.5387 GB, free: 15.35 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.044081647880375]