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.0008304/0.0008304, allocations: 80.94 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.0008727/0.0008727, allocations: 177 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 0.9956/0.9956, allocations: 177.1 MB / 203.8 MB, free: 5.516 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.7904/0.7904, 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 2.555e-06/2.555e-06, allocations: 0 / 480.3 MB, free: 6.621 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.303e-05, allocations: 4.344 kB / 480.3 MB, free: 6.617 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003017/0.00305, allocations: 1.552 MB / 481.9 MB, free: 5.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.004416, allocations: 0.5419 MB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.004505, allocations: 4.875 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.004615, allocations: 9.031 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.004751, allocations: 26 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.005687, allocations: 322.4 kB / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006279/0.006315, allocations: 492.9 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.006362, allocations: 9.812 kB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.006933, allocations: 355.6 kB / 483.6 MB, free: 3.391 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.007276, allocations: 142.2 kB / 483.7 MB, free: 3.254 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.976e-05/0.007356, allocations: 28 kB / 483.8 MB, free: 3.227 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.116e-05/0.007417, allocations: 24 kB / 483.8 MB, free: 3.203 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.007537, allocations: 115.7 kB / 483.9 MB, free: 3.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.007691, allocations: 132.4 kB / 484 MB, free: 2.961 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.008119, allocations: 374.9 kB / 484.4 MB, free: 2.594 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.008123, allocations: 4.859 kB / 484.4 MB, free: 2.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.008124, allocations: 0 / 484.4 MB, free: 2.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.008131, allocations: 0.625 kB / 484.4 MB, free: 2.59 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.001067/0.009198, allocations: 0.7432 MB / 485.1 MB, free: 1.785 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.009238, allocations: 8.031 kB / 485.2 MB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.00936, allocations: 54.08 kB / 485.2 MB, free: 1.727 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.009686, allocations: 232 kB / 485.4 MB, free: 1.477 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.009732, allocations: 20.38 kB / 485.5 MB, free: 1.457 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.009804, allocations: 33.42 kB / 485.5 MB, free: 1.426 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.01023, allocations: 181.8 kB / 485.7 MB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.01024, allocations: 1.094 kB / 485.7 MB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.01026, allocations: 384 / 485.7 MB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.01027, allocations: 1.984 kB / 485.7 MB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.01038, allocations: 40.3 kB / 485.7 MB, free: 1.211 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.01061, allocations: 122.6 kB / 485.8 MB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.01082, allocations: 93.83 kB / 485.9 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.01093, allocations: 44.98 kB / 486 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.01095, allocations: 5.688 kB / 486 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.01118, allocations: 152.9 kB / 486.1 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.01118, allocations: 0 / 486.1 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007304/0.01191, allocations: 206.4 kB / 486.3 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.01195, allocations: 63.39 kB / 486.4 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.01221, allocations: 335.3 kB / 486.7 MB, free: 180 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.01225, allocations: 38.52 kB / 486.7 MB, free: 136 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.149e-05/0.01232, allocations: 93.44 kB / 486.8 MB, free: 36 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/0.01238, allocations: 40.84 kB / 486.9 MB, free: 15.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.01255, allocations: 109.3 kB / 487 MB, free: 15.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.01266, allocations: 338.7 kB / 487.3 MB, free: 15.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.01289, allocations: 152.8 kB / 487.5 MB, free: 15.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.01311, allocations: 205.2 kB / 487.7 MB, free: 15.15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.01338, allocations: 243.4 kB / 487.9 MB, free: 14.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01338, allocations: 0 / 487.9 MB, free: 14.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000512/0.01389, allocations: 437 kB / 488.3 MB, free: 14.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/0.01397, allocations: 79.38 kB / 488.4 MB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01397, allocations: 4.812 kB / 488.4 MB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01399, allocations: 0 / 488.4 MB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.01414, allocations: 36.44 kB / 488.4 MB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.01414, allocations: 13.27 kB / 488.5 MB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.01438, allocations: 47.92 kB / 488.5 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.52e-05/0.01446, allocations: 64.8 kB / 488.6 MB, free: 14.18 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.0001527/0.01461, allocations: 142.5 kB / 488.7 MB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.01467, allocations: 31.95 kB / 488.7 MB, free: 14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.01472, allocations: 31.69 kB / 488.8 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01472, allocations: 0 / 488.8 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.01473, allocations: 1.406 kB / 488.8 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01473, allocations: 0 / 488.8 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.01535, allocations: 383.8 kB / 489.1 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01535, allocations: 0 / 489.1 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.01538, allocations: 4.75 kB / 489.1 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.01539, allocations: 0 / 489.1 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.01542, allocations: 17 kB / 489.2 MB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01542, allocations: 0 / 489.2 MB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01542, allocations: 0 / 489.2 MB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.01576, allocations: 241 kB / 489.4 MB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.01596, allocations: 121.1 kB / 489.5 MB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.01602, allocations: 8 kB / 489.5 MB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.01627, allocations: 32.94 kB / 489.6 MB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.0163, allocations: 20.83 kB / 489.6 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.01636, allocations: 47.97 kB / 489.6 MB, free: 13.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.0165, allocations: 136.6 kB / 489.8 MB, free: 12.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0165, allocations: 1 kB / 489.8 MB, free: 12.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.01685, allocations: 67.98 kB / 489.8 MB, free: 12.89 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 0.0001469/0.01699, allocations: 101.3 kB / 489.9 MB, free: 12.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005642/0.01756, allocations: 404.1 kB / 490.3 MB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.01756, allocations: 4 kB / 490.3 MB, free: 12.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.01769, allocations: 62.77 kB / 490.4 MB, free: 12.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.01797, allocations: 40.38 kB / 490.4 MB, free: 12.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.01884, allocations: 470.6 kB / 490.9 MB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.29e-05/0.0189, allocations: 88.17 kB / 491 MB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.704e-05/0.01895, allocations: 9.156 kB / 491 MB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.01918, allocations: 127 kB / 491.1 MB, free: 11.55 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01919, allocations: 0 / 491.1 MB, free: 11.55 MB / 458.7 MB Notification: Performance of Templates: time 0.007417/0.0266, allocations: 5.298 MB / 496.4 MB, free: 6.504 MB / 458.7 MB " [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.7361122299917042]