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.0009656/0.0009656, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001054/0.001054, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9773/0.9773, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.8353/0.8353, allocations: 154.9 MB / 415.1 MB, free: 272 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.633e-06/1.633e-06, allocations: 0 / 0.5211 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.045e-05, allocations: 4.938 kB / 0.5211 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.005461/0.005481, allocations: 1.548 MB / 0.5226 GB, free: 48 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.006618, allocations: 0.5395 MB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.006696, allocations: 1.188 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.54e-05/0.006791, allocations: 3.938 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.006902, allocations: 23.86 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.01076, allocations: 326.5 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.01125, allocations: 491.4 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.01129, allocations: 5.344 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004106/0.0117, allocations: 347.6 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.01194, allocations: 139.6 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.639e-05/0.012, allocations: 28.53 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.01207, allocations: 28 kB / 0.5245 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.887e-05/0.01216, allocations: 116.5 kB / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.01229, allocations: 135.7 kB / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.01288, allocations: 372.1 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.01289, allocations: 0 / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01289, allocations: 0 / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.01289, allocations: 0.625 kB / 0.525 GB, free: 13.54 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.004039/0.01693, allocations: 0.9161 MB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.01697, allocations: 16.03 kB / 0.526 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.01708, allocations: 52.7 kB / 0.526 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.01737, allocations: 260.4 kB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.01741, allocations: 20.36 kB / 0.5263 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.01747, allocations: 28.38 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.01786, allocations: 205.9 kB / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.01786, allocations: 2.312 kB / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.01788, allocations: 384 / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.01789, allocations: 8.359 kB / 0.5265 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.018, allocations: 60.12 kB / 0.5266 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.0183, allocations: 256.9 kB / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.01851, allocations: 116.4 kB / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.01861, allocations: 62.78 kB / 0.527 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.01864, allocations: 0 / 0.527 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.01885, allocations: 173.4 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.01886, allocations: 0 / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0006073/0.01946, allocations: 370.6 kB / 0.5275 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.0195, allocations: 55.41 kB / 0.5276 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.0198, allocations: 415.1 kB / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.01984, allocations: 41.69 kB / 0.528 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.01991, allocations: 145.7 kB / 0.5281 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.01995, allocations: 35.69 kB / 0.5282 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.02012, allocations: 143.1 kB / 0.5283 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.02025, allocations: 0.4961 MB / 0.5288 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.02046, allocations: 160.4 kB / 0.5289 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.02068, allocations: 229 kB / 0.5292 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.02093, allocations: 261.2 kB / 0.5294 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02093, allocations: 1.25 kB / 0.5294 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005044/0.02143, allocations: 0.5309 MB / 0.5299 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.02148, allocations: 83.31 kB / 0.53 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.02149, allocations: 3.984 kB / 0.53 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.0215, allocations: 4 kB / 0.53 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.02161, allocations: 31.92 kB / 0.53 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.02161, allocations: 5.062 kB / 0.53 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.02177, allocations: 47.86 kB / 0.5301 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-05/0.02182, allocations: 65.59 kB / 0.5302 GB, free: 8.008 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.000123/0.02194, allocations: 186.4 kB / 0.5303 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.02199, allocations: 45.05 kB / 0.5304 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.02203, allocations: 31.69 kB / 0.5304 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02204, allocations: 7.984 kB / 0.5304 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.02204, allocations: 0 / 0.5304 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.02205, allocations: 1.625 kB / 0.5304 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.02267, allocations: 0.6124 MB / 0.531 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.02267, allocations: 0 / 0.531 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.0227, allocations: 4 kB / 0.531 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.02271, allocations: 4 kB / 0.531 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.02273, allocations: 28.5 kB / 0.531 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.02273, allocations: 0.5 kB / 0.531 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.02274, allocations: 3.938 kB / 0.5311 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/0.02357, allocations: 443.9 kB / 0.5315 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.02374, allocations: 147.5 kB / 0.5316 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.02378, allocations: 8 kB / 0.5316 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.02396, allocations: 27.97 kB / 0.5316 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.02398, allocations: 18.64 kB / 0.5317 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.02402, allocations: 59.97 kB / 0.5317 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001451/0.02417, allocations: 263 kB / 0.532 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02417, allocations: 0 / 0.532 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002271/0.0244, allocations: 68 kB / 0.532 GB, free: 6.035 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.0001209/0.02452, allocations: 111 kB / 0.5321 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.02495, allocations: 426.8 kB / 0.5326 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02495, allocations: 0.5625 kB / 0.5326 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.02505, allocations: 86.73 kB / 0.5326 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.02529, allocations: 49.56 kB / 0.5327 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.02598, allocations: 474.6 kB / 0.5331 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.165e-05/0.02603, allocations: 87.81 kB / 0.5332 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.632e-05/0.02607, allocations: 11.08 kB / 0.5332 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.02624, allocations: 141.7 kB / 0.5334 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/0.02624, allocations: 0.625 kB / 0.5334 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of Templates: time 0.006553/0.0328, allocations: 5.318 MB / 0.5386 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: 3.781349078286439]