Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.0008271/0.0008271, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00436/0.005187, 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.0009043/0.0009043, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002136, 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.042/1.042, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09362/1.135, allocations: 53.67 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.8299/0.8299, 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.2746/1.104, allocations: 49.13 MB / 448.6 MB, free: 5.902 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.07e-05, allocations: 4.562 kB / 449.9 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002701/0.002721, allocations: 1.61 MB / 451.5 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.003999, allocations: 0.5604 MB / 452.1 MB, free: 2.473 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.00406, allocations: 0 / 452.1 MB, free: 2.473 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.189e-05/0.004121, allocations: 9.078 kB / 452.1 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.004228, allocations: 29.38 kB / 452.1 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.00495, allocations: 332.7 kB / 452.5 MB, free: 2.125 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.005529, allocations: 494.8 kB / 452.9 MB, free: 1.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.005567, allocations: 4.75 kB / 453 MB, free: 1.656 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005077/0.006075, allocations: 380.5 kB / 453.3 MB, free: 1.289 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.006377, allocations: 136.6 kB / 453.5 MB, free: 1.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.173e-05/0.006459, allocations: 24 kB / 453.5 MB, free: 1.137 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.006537, allocations: 28.5 kB / 453.5 MB, free: 1.109 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.006691, allocations: 103.7 kB / 453.6 MB, free: 1.008 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.00682, allocations: 100.9 kB / 453.7 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.007185, allocations: 338.9 kB / 454 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.007197, allocations: 0.5312 kB / 454 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.007199, allocations: 0 / 454 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.007211, allocations: 0.6562 kB / 454 MB, free: 0.5781 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.001144/0.008355, allocations: 0.8122 MB / 454.9 MB, free: 15.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.008387, allocations: 12.03 kB / 454.9 MB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.099e-05/0.008468, allocations: 48.06 kB / 454.9 MB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.008698, allocations: 240 kB / 455.1 MB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.008729, allocations: 12.97 kB / 455.2 MB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.008775, allocations: 32.36 kB / 455.2 MB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.009075, allocations: 173 kB / 455.4 MB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.009083, allocations: 4.719 kB / 455.4 MB, free: 15.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.009102, allocations: 9.953 kB / 455.4 MB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.009107, allocations: 5.188 kB / 455.4 MB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.888e-05/0.009176, allocations: 44 kB / 455.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.009328, allocations: 112.9 kB / 455.5 MB, free: 15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.009468, allocations: 90.36 kB / 455.6 MB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.913e-05/0.009537, allocations: 45.97 kB / 455.7 MB, free: 14.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.009555, allocations: 5.188 kB / 455.7 MB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.009719, allocations: 153.1 kB / 455.8 MB, free: 14.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.00972, allocations: 0 / 455.8 MB, free: 14.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002985/0.01002, allocations: 204.1 kB / 456 MB, free: 14.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.01005, allocations: 59.39 kB / 456.1 MB, free: 14.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.01022, allocations: 328 kB / 456.4 MB, free: 14.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.01025, allocations: 46.25 kB / 456.4 MB, free: 14.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.0103, allocations: 97.39 kB / 456.5 MB, free: 13.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.01033, allocations: 40.8 kB / 456.6 MB, free: 13.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.01043, allocations: 109.4 kB / 456.7 MB, free: 13.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.0105, allocations: 330.7 kB / 457 MB, free: 13.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.01065, allocations: 153.7 kB / 457.2 MB, free: 13.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.01078, allocations: 206.6 kB / 457.4 MB, free: 13.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.01095, allocations: 246.2 kB / 457.6 MB, free: 12.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01095, allocations: 0 / 457.6 MB, free: 12.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003204/0.01127, allocations: 429.9 kB / 458 MB, free: 12.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.01133, allocations: 80 kB / 458.1 MB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01133, allocations: 4.562 kB / 458.1 MB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.01134, allocations: 0.7188 kB / 458.1 MB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01146, allocations: 47.91 kB / 458.2 MB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01147, allocations: 5.328 kB / 458.2 MB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.01163, allocations: 47.8 kB / 458.2 MB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.01168, allocations: 56.83 kB / 458.3 MB, free: 12.12 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.0001116/0.01179, allocations: 145.7 kB / 458.4 MB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.01182, allocations: 23.97 kB / 458.4 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.01186, allocations: 35.69 kB / 458.5 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.01186, allocations: 0.5 kB / 458.5 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01186, allocations: 0 / 458.5 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01187, allocations: 5.172 kB / 458.5 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.01226, allocations: 379 kB / 458.8 MB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01226, allocations: 0 / 458.8 MB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.01228, allocations: 7.984 kB / 458.8 MB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.0124, allocations: 119.5 kB / 459 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01241, allocations: 6.641 kB / 459 MB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.01242, allocations: 7.984 kB / 459 MB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01242, allocations: 3.938 kB / 459 MB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01242, allocations: 0.9375 kB / 459 MB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.01263, allocations: 240.9 kB / 459.2 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.01267, allocations: 11.98 kB / 459.2 MB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.01284, allocations: 33.94 kB / 459.3 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.01286, allocations: 15.86 kB / 459.3 MB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.0129, allocations: 49.66 kB / 459.3 MB, free: 11.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.01298, allocations: 136.7 kB / 459.5 MB, free: 10.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01298, allocations: 0 / 459.5 MB, free: 10.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.01317, allocations: 67.92 kB / 459.5 MB, free: 10.84 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.0001044/0.01327, allocations: 100.7 kB / 459.6 MB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.01364, allocations: 393.9 kB / 460 MB, free: 10.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.01365, allocations: 8 kB / 460 MB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.01374, allocations: 64.97 kB / 460.1 MB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.01395, allocations: 122.2 kB / 460.2 MB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008535/0.0148, allocations: 466.4 kB / 460.7 MB, free: 9.641 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.01485, allocations: 89.39 kB / 460.7 MB, free: 9.535 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.358e-05/0.01488, allocations: 17.61 kB / 460.8 MB, free: 9.523 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.01504, allocations: 117.8 kB / 460.9 MB, free: 9.414 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01504, allocations: 0 / 460.9 MB, free: 9.414 MB / 442.7 MB Notification: Performance of Templates: time 0.006169/0.02121, allocations: 5.312 MB / 466.2 MB, free: 4.375 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6523372745141387]