Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001203/0.001203, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00204/0.003242, 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.001374/0.001374, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001804/0.003179, 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.129/1.129, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09263/1.222, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.798/0.798, 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.3237/1.122, allocations: 49.13 MB / 448.6 MB, free: 5.918 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 1.094 kB / 449.9 MB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.414e-05, allocations: 12.81 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002933/0.002958, allocations: 1.607 MB / 451.5 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.004189, allocations: 0.5639 MB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.004259, allocations: 0 / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.989e-05/0.004319, allocations: 10.34 kB / 452.1 MB, free: 2.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.004434, allocations: 21.73 kB / 452.1 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.00528, allocations: 335.6 kB / 452.5 MB, free: 2.145 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007014/0.005981, allocations: 499.6 kB / 452.9 MB, free: 1.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.006026, allocations: 4.75 kB / 452.9 MB, free: 1.676 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005688/0.006595, allocations: 376.9 kB / 453.3 MB, free: 1.312 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.00692, allocations: 138.2 kB / 453.5 MB, free: 1.184 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.92e-05/0.007009, allocations: 24 kB / 453.5 MB, free: 1.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.078e-05/0.00709, allocations: 28.66 kB / 453.5 MB, free: 1.133 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.007206, allocations: 108.9 kB / 453.6 MB, free: 1.027 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.007338, allocations: 95.81 kB / 453.7 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.007731, allocations: 335 kB / 454 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.007743, allocations: 0 / 454 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007745, allocations: 3.062 kB / 454 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.007758, 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.001177/0.008935, allocations: 0.8148 MB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.008971, allocations: 12.03 kB / 454.9 MB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.009102, allocations: 56.8 kB / 454.9 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.009416, allocations: 236 kB / 455.1 MB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.009459, allocations: 13 kB / 455.2 MB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.009534, allocations: 29.27 kB / 455.2 MB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.009988, allocations: 182.4 kB / 455.4 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.009997, allocations: 192 / 455.4 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.01002, allocations: 0.9688 kB / 455.4 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01003, allocations: 4.375 kB / 455.4 MB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.01014, allocations: 48.5 kB / 455.4 MB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.01037, allocations: 109 kB / 455.5 MB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.01059, allocations: 99.17 kB / 455.6 MB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.0107, allocations: 46.33 kB / 455.7 MB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.01072, allocations: 0 / 455.7 MB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.01096, allocations: 148.6 kB / 455.8 MB, free: 14.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.01097, allocations: 1.188 kB / 455.8 MB, free: 14.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.000473/0.01144, allocations: 208.7 kB / 456 MB, free: 14.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.01148, allocations: 55.41 kB / 456.1 MB, free: 14.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.01177, allocations: 327.8 kB / 456.4 MB, free: 14.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.01182, allocations: 38.95 kB / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.01189, allocations: 101.4 kB / 456.5 MB, free: 13.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.01194, allocations: 43.64 kB / 456.6 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.01211, allocations: 113.4 kB / 456.7 MB, free: 13.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.0122, allocations: 323.3 kB / 457 MB, free: 13.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.01243, allocations: 153.9 kB / 457.1 MB, free: 13.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.01265, allocations: 214.5 kB / 457.4 MB, free: 13.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.01291, allocations: 241.6 kB / 457.6 MB, free: 12.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.01291, allocations: 0.6875 kB / 457.6 MB, free: 12.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000529/0.01344, allocations: 429.5 kB / 458 MB, free: 12.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/0.01352, allocations: 81.19 kB / 458.1 MB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01353, allocations: 4 kB / 458.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.01354, allocations: 0.9844 kB / 458.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.01373, allocations: 55.89 kB / 458.2 MB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01374, allocations: 0 / 458.2 MB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.014, allocations: 48.67 kB / 458.2 MB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/0.01407, allocations: 48.45 kB / 458.2 MB, free: 12.14 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.0001536/0.01423, allocations: 145.3 kB / 458.4 MB, free: 12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.01428, allocations: 25.03 kB / 458.4 MB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.01434, allocations: 39.67 kB / 458.5 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01434, allocations: 0 / 458.5 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01434, allocations: 0.5938 kB / 458.5 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01435, allocations: 3.938 kB / 458.5 MB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.01495, allocations: 381.2 kB / 458.8 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01495, allocations: 0 / 458.8 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.01499, allocations: 4 kB / 458.8 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.0152, allocations: 123.5 kB / 459 MB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01521, allocations: 1.156 kB / 459 MB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.01524, allocations: 15.97 kB / 459 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01524, allocations: 3.938 kB / 459 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01524, allocations: 0.9375 kB / 459 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.01558, allocations: 239.5 kB / 459.2 MB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.01565, allocations: 9.094 kB / 459.2 MB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.01592, allocations: 32.84 kB / 459.2 MB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.01595, allocations: 16.47 kB / 459.3 MB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.01602, allocations: 53.75 kB / 459.3 MB, free: 11.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.01616, allocations: 132.7 kB / 459.4 MB, free: 10.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01616, allocations: 0 / 459.4 MB, free: 10.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.01651, allocations: 67.98 kB / 459.5 MB, free: 10.86 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.0001499/0.01666, allocations: 97.16 kB / 459.6 MB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.01724, allocations: 402.5 kB / 460 MB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.01725, allocations: 8 kB / 460 MB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.01739, allocations: 67.97 kB / 460.1 MB, free: 10.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.01773, allocations: 117.6 kB / 460.2 MB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.01908, allocations: 462.7 kB / 460.6 MB, free: 9.664 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.048e-05/0.01915, allocations: 94.41 kB / 460.7 MB, free: 9.555 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.0192, allocations: 11.91 kB / 460.7 MB, free: 9.547 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.01945, allocations: 122.8 kB / 460.9 MB, free: 9.434 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01945, allocations: 0 / 460.9 MB, free: 9.434 MB / 442.7 MB Notification: Performance of Templates: time 0.009501/0.02895, allocations: 5.309 MB / 466.2 MB, free: 4.391 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.771055013872683]