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.0007854/0.0007854, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001912, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007918/0.0007918, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001875, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9251/0.9251, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08798/1.013, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7529/0.7529, allocations: 155.3 MB / 399.3 MB, free: 15.92 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.2578/1.011, allocations: 49.13 MB / 448.4 MB, free: 6 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 1.182e-06/1.182e-06, allocations: 0 / 449.7 MB, free: 4.754 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.536e-06/9.718e-06, allocations: 6.312 kB / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002054/0.002064, allocations: 1.601 MB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.003009, allocations: 0.5517 MB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.003057, allocations: 0.5625 kB / 451.8 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.003106, allocations: 11.86 kB / 451.8 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.003224, allocations: 30 kB / 451.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.003842, allocations: 334.6 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005859/0.004428, allocations: 495 kB / 452.7 MB, free: 1.805 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.004472, allocations: 12.72 kB / 452.7 MB, free: 1.793 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003884/0.004861, allocations: 367.6 kB / 453 MB, free: 1.434 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.005042, allocations: 137.8 kB / 453.2 MB, free: 1.305 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.005086, allocations: 28.53 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.64e-05/0.005123, allocations: 24.62 kB / 453.2 MB, free: 1.254 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.005198, allocations: 107.7 kB / 453.3 MB, free: 1.148 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.476e-05/0.005283, allocations: 98.22 kB / 453.4 MB, free: 1.055 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.005534, allocations: 342.8 kB / 453.8 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.005547, allocations: 0 / 453.8 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.005548, allocations: 3.984 kB / 453.8 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.005564, allocations: 0 / 453.8 MB, free: 0.7148 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.0009044/0.006468, allocations: 0.8122 MB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.006495, allocations: 8.031 kB / 454.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.006566, allocations: 48.88 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.006759, allocations: 240.5 kB / 454.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.006788, allocations: 22.08 kB / 454.9 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.006827, allocations: 20.38 kB / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.007097, allocations: 185.6 kB / 455.1 MB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.007103, allocations: 1.344 kB / 455.1 MB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.007119, allocations: 6.297 kB / 455.1 MB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.007124, allocations: 384 / 455.1 MB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.007194, allocations: 42.56 kB / 455.1 MB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.007333, allocations: 112.9 kB / 455.3 MB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.007487, allocations: 93.81 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.007549, allocations: 46.59 kB / 455.4 MB, free: 15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.007568, allocations: 7.938 kB / 455.4 MB, free: 15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.007719, allocations: 147.8 kB / 455.5 MB, free: 14.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 8.41e-07/0.00772, allocations: 0 / 455.5 MB, free: 14.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002918/0.008011, allocations: 202.6 kB / 455.7 MB, free: 14.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.008043, allocations: 59.34 kB / 455.8 MB, free: 14.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.008214, allocations: 327.9 kB / 456.1 MB, free: 14.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.008247, allocations: 43.94 kB / 456.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.008289, allocations: 97.41 kB / 456.3 MB, free: 14.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.008318, allocations: 39.7 kB / 456.3 MB, free: 14.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.008422, allocations: 113.4 kB / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.008492, allocations: 322.8 kB / 456.7 MB, free: 13.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.008623, allocations: 156.8 kB / 456.9 MB, free: 13.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.008756, allocations: 211.3 kB / 457.1 MB, free: 13.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.008917, allocations: 245.6 kB / 457.3 MB, free: 12.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.00892, allocations: 1.219 kB / 457.3 MB, free: 12.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000299/0.009219, allocations: 427.1 kB / 457.7 MB, free: 12.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.009267, allocations: 79.38 kB / 457.8 MB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.009272, allocations: 5.062 kB / 457.8 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.009283, allocations: 7.984 kB / 457.8 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.009411, allocations: 43.91 kB / 457.9 MB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.009414, allocations: 1.281 kB / 457.9 MB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.009563, allocations: 51.8 kB / 457.9 MB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.009606, allocations: 52.56 kB / 458 MB, free: 12.26 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.0003543/0.009961, allocations: 141.7 kB / 458.1 MB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.009992, allocations: 28.58 kB / 458.1 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.01003, allocations: 37.38 kB / 458.2 MB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01003, allocations: 0 / 458.2 MB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01003, allocations: 0 / 458.2 MB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01003, allocations: 0 / 458.2 MB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.01042, allocations: 383.8 kB / 458.5 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01042, allocations: 0 / 458.5 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.01044, allocations: 8.734 kB / 458.6 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.01056, allocations: 115.5 kB / 458.7 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01056, allocations: 0.9375 kB / 458.7 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.01058, allocations: 15.97 kB / 458.7 MB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.01058, allocations: 5.156 kB / 458.7 MB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01059, allocations: 3.938 kB / 458.7 MB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.01078, allocations: 236.2 kB / 458.9 MB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.01082, allocations: 8 kB / 458.9 MB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.01097, allocations: 33.12 kB / 459 MB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.01099, allocations: 18.61 kB / 459 MB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.01103, allocations: 51.97 kB / 459 MB, free: 11.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.086e-05/0.01111, allocations: 136.7 kB / 459.2 MB, free: 11.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01111, allocations: 4.562 kB / 459.2 MB, free: 11.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001908/0.0113, allocations: 64 kB / 459.2 MB, free: 10.98 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 8.358e-05/0.01138, allocations: 98.5 kB / 459.3 MB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.01174, allocations: 397.1 kB / 459.7 MB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.01174, allocations: 4 kB / 459.7 MB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.523e-05/0.01182, allocations: 62.95 kB / 459.8 MB, free: 10.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.012, allocations: 75.25 kB / 459.9 MB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.01282, allocations: 462.2 kB / 460.3 MB, free: 9.852 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.212e-05/0.01286, allocations: 93.94 kB / 460.4 MB, free: 9.742 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.239e-05/0.0129, allocations: 11.5 kB / 460.4 MB, free: 9.734 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.01305, allocations: 126.8 kB / 460.5 MB, free: 9.617 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01305, allocations: 0 / 460.5 MB, free: 9.617 MB / 442.7 MB Notification: Performance of Templates: time 0.00611/0.01916, allocations: 5.329 MB / 465.9 MB, free: 4.562 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.588390765711665]