Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2681/0.2681, allocations: 54.33 MB / 66.89 MB, free: 6.094 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009852/0.0009851, allocations: 182.9 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.321/1.321, allocations: 194.2 MB / 288.6 MB, free: 15.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001521/0.001521, allocations: 115.9 kB / 346.9 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.801e-05, allocations: 0 / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 57.64 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.4813, allocations: 87.2 MB / 0.5442 GB, free: 3.246 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.4816, allocations: 71.95 kB / 0.5442 GB, free: 3.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01158/0.4932, allocations: 4.104 MB / 0.5482 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4932, allocations: 0 / 0.5482 GB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.4932, allocations: 4 kB / 0.5482 GB, free: 15.07 MB / 394.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.0006914/0.4939, allocations: 0.5405 MB / 0.5488 GB, free: 14.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4939, allocations: 12.03 kB / 0.5488 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.494, allocations: 27.81 kB / 0.5488 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4942, allocations: 195.8 kB / 0.549 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.4942, allocations: 11.98 kB / 0.549 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.4943, allocations: 16 kB / 0.549 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.4945, allocations: 141.5 kB / 0.5492 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4945, allocations: 0 / 0.5492 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.4946, allocations: 7.984 kB / 0.5492 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4946, allocations: 0 / 0.5492 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.4947, allocations: 44.98 kB / 0.5492 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.495, allocations: 305.3 kB / 0.5495 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.4952, allocations: 122.7 kB / 0.5496 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.161e-05/0.4953, allocations: 52.84 kB / 0.5497 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.4953, allocations: 4 kB / 0.5497 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.4957, allocations: 195.9 kB / 0.5499 GB, free: 13.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.4957, allocations: 4 kB / 0.5499 GB, free: 13.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003971/0.4961, allocations: 214.5 kB / 0.5501 GB, free: 13.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.4961, allocations: 59.31 kB / 0.5501 GB, free: 12.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.4963, allocations: 199 kB / 0.5503 GB, free: 12.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.4964, allocations: 37.69 kB / 0.5504 GB, free: 12.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.4965, allocations: 92.92 kB / 0.5504 GB, free: 12.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.4965, allocations: 47.38 kB / 0.5505 GB, free: 12.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.4965, allocations: 8 kB / 0.5505 GB, free: 12.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4967, allocations: 326.8 kB / 0.5508 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.4969, allocations: 92.2 kB / 0.5509 GB, free: 12.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.4971, allocations: 155.6 kB / 0.551 GB, free: 11.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.4973, allocations: 144.1 kB / 0.5512 GB, free: 11.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4973, allocations: 4 kB / 0.5512 GB, free: 11.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006031/0.4979, allocations: 395.1 kB / 0.5516 GB, free: 11.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.498, allocations: 71.39 kB / 0.5516 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.498, allocations: 11.94 kB / 0.5516 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.498, allocations: 3.953 kB / 0.5516 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.4982, allocations: 36.09 kB / 0.5517 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4982, allocations: 4 kB / 0.5517 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.4985, allocations: 43.91 kB / 0.5517 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/0.4986, allocations: 43.92 kB / 0.5518 GB, free: 11.17 MB / 394.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: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.4987, allocations: 131.4 kB / 0.5519 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.4988, allocations: 31.7 kB / 0.5519 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.4988, allocations: 17.66 kB / 0.5519 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4988, allocations: 4 kB / 0.5519 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4989, allocations: 3.953 kB / 0.5519 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.4989, allocations: 3.984 kB / 0.5519 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006697/0.4995, allocations: 0.5384 MB / 0.5525 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4995, allocations: 0 / 0.5525 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.4996, allocations: 11.94 kB / 0.5525 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4996, allocations: 7.953 kB / 0.5525 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.4996, allocations: 11.97 kB / 0.5525 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4996, allocations: 0 / 0.5525 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4997, allocations: 0.625 kB / 0.5525 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.5, allocations: 306.5 kB / 0.5528 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.5002, allocations: 132.8 kB / 0.5529 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.5002, allocations: 19.94 kB / 0.5529 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.5004, allocations: 8 kB / 0.5529 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.5004, allocations: 15.97 kB / 0.553 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.5005, allocations: 27.98 kB / 0.553 GB, free: 9.824 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.5006, allocations: 161.6 kB / 0.5531 GB, free: 9.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5006, allocations: 0 / 0.5531 GB, free: 9.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000278/0.5009, allocations: 48 kB / 0.5532 GB, free: 9.621 MB / 394.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: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.501, allocations: 123.5 kB / 0.5533 GB, free: 9.492 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004836/0.5015, allocations: 346.7 kB / 0.5536 GB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5015, allocations: 0 / 0.5536 GB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.5017, allocations: 63.98 kB / 0.5537 GB, free: 9.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.5019, allocations: 16.66 kB / 0.5537 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.5023, allocations: 214.8 kB / 0.5539 GB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.5026, allocations: 0.7398 MB / 0.5546 GB, free: 8.051 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.5027, allocations: 33.2 kB / 0.5547 GB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.5028, allocations: 27.42 kB / 0.5547 GB, free: 7.992 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5028, allocations: 0 / 0.5547 GB, free: 7.992 MB / 394.7 MB Notification: Performance of Templates: time 0.006438/0.5093, allocations: 3.925 MB / 0.5585 GB, free: 4.051 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)