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.0006846/0.0006846, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009267/0.001611, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001008/0.001008, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002419, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1201/1.123, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8432/0.8432, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3139/1.157, allocations: 49.13 MB / 448.6 MB, free: 5.914 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 8.816e-06/8.816e-06, allocations: 0 / 449.9 MB, free: 4.648 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.619e-05/4.5e-05, allocations: 6.312 kB / 449.9 MB, free: 4.641 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003339/0.003384, allocations: 1.606 MB / 451.5 MB, free: 3.055 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.004769, allocations: 0.554 MB / 452.1 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.762e-05/0.004867, allocations: 0.625 kB / 452.1 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.004971, allocations: 18.28 kB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.005107, allocations: 25.38 kB / 452.1 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.006165, allocations: 331.2 kB / 452.4 MB, free: 2.152 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007548/0.00692, allocations: 492.7 kB / 452.9 MB, free: 1.691 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.006976, allocations: 9.281 kB / 452.9 MB, free: 1.684 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005982/0.007574, allocations: 375 kB / 453.3 MB, free: 1.324 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.007965, allocations: 135.5 kB / 453.4 MB, free: 1.195 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.757e-05/0.008062, allocations: 29.5 kB / 453.5 MB, free: 1.168 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.99e-05/0.008142, allocations: 28 kB / 453.5 MB, free: 1.141 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.008264, allocations: 103.8 kB / 453.6 MB, free: 1.039 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.008399, allocations: 99.75 kB / 453.7 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.008818, allocations: 341 kB / 454 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-05/0.008837, allocations: 3.984 kB / 454 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.008838, allocations: 0 / 454 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.008857, allocations: 0 / 454 MB, free: 0.6055 MB / 426.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.001343/0.0102, allocations: 0.8157 MB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.01025, allocations: 9.031 kB / 454.9 MB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.01038, allocations: 48.88 kB / 454.9 MB, free: 15.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.01071, allocations: 232 kB / 455.1 MB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.01077, allocations: 21.23 kB / 455.1 MB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.944e-05/0.01084, allocations: 32.31 kB / 455.2 MB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.01132, allocations: 179.4 kB / 455.4 MB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.01133, allocations: 4.125 kB / 455.4 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.01136, allocations: 384 / 455.4 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.01137, allocations: 384 / 455.4 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.01148, allocations: 45.41 kB / 455.4 MB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.01171, allocations: 112.9 kB / 455.5 MB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.01193, allocations: 95.55 kB / 455.6 MB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.01219, allocations: 41.97 kB / 455.6 MB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.01221, allocations: 5.969 kB / 455.7 MB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.01247, allocations: 153.5 kB / 455.8 MB, free: 14.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.01247, allocations: 0 / 455.8 MB, free: 14.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004649/0.01294, allocations: 199.8 kB / 456 MB, free: 14.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.01298, allocations: 59.41 kB / 456.1 MB, free: 14.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.01326, allocations: 327.8 kB / 456.4 MB, free: 14.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.01331, allocations: 45.62 kB / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.01337, allocations: 93.94 kB / 456.5 MB, free: 14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.01342, allocations: 44.55 kB / 456.6 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.01358, allocations: 109.4 kB / 456.7 MB, free: 13.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.01367, allocations: 328.2 kB / 457 MB, free: 13.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.0139, allocations: 160.8 kB / 457.1 MB, free: 13.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.01411, allocations: 198.6 kB / 457.3 MB, free: 13.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.01437, allocations: 253.6 kB / 457.6 MB, free: 12.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01437, allocations: 1.469 kB / 457.6 MB, free: 12.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005126/0.01489, allocations: 425.5 kB / 458 MB, free: 12.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/0.01496, allocations: 83.38 kB / 458.1 MB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01497, allocations: 0 / 458.1 MB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.01499, allocations: 8.891 kB / 458.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.01517, allocations: 39.91 kB / 458.1 MB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.01517, allocations: 8 kB / 458.1 MB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.01541, allocations: 45.95 kB / 458.2 MB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.01549, allocations: 55.91 kB / 458.2 MB, free: 12.15 MB / 442.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.0001475/0.01563, allocations: 136.2 kB / 458.4 MB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.0157, allocations: 36.73 kB / 458.4 MB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.01574, allocations: 28.47 kB / 458.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01575, allocations: 4 kB / 458.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01575, allocations: 0 / 458.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01576, allocations: 0.875 kB / 458.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.01633, allocations: 383.5 kB / 458.8 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01633, allocations: 0 / 458.8 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.01637, allocations: 9.109 kB / 458.8 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.01657, allocations: 115.5 kB / 458.9 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01657, allocations: 0 / 458.9 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.0166, allocations: 15.97 kB / 459 MB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.0166, allocations: 4.781 kB / 459 MB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01661, allocations: 0 / 459 MB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.01693, allocations: 241.7 kB / 459.2 MB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.01699, allocations: 12 kB / 459.2 MB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.01725, allocations: 32.72 kB / 459.2 MB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.01728, allocations: 17.11 kB / 459.3 MB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.01734, allocations: 51.97 kB / 459.3 MB, free: 11.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.01747, allocations: 136.7 kB / 459.4 MB, free: 10.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01747, allocations: 0 / 459.4 MB, free: 10.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003297/0.0178, allocations: 65.34 kB / 459.5 MB, free: 10.87 MB / 442.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.0001503/0.01795, allocations: 100.9 kB / 459.6 MB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005569/0.01851, allocations: 403.8 kB / 460 MB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.01852, allocations: 5 kB / 460 MB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.01865, allocations: 65.98 kB / 460.1 MB, free: 10.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.01899, allocations: 120 kB / 460.2 MB, free: 10.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.02027, allocations: 470.5 kB / 460.6 MB, free: 9.668 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.677e-05/0.02034, allocations: 90.14 kB / 460.7 MB, free: 9.562 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.02039, allocations: 11.91 kB / 460.7 MB, free: 9.555 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.02063, allocations: 122.8 kB / 460.9 MB, free: 9.441 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02063, allocations: 0 / 460.9 MB, free: 9.441 MB / 442.7 MB Notification: Performance of Templates: time 0.009264/0.02989, allocations: 5.305 MB / 466.2 MB, free: 4.398 MB / 442.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.7371804155409336]