Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005242/0.005242, allocations: 102.6 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 189.5 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8209/0.8209, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.89 kB / 0.5813 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4978, allocations: 80.2 MB / 0.6596 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002397/0.5002, allocations: 1.468 MB / 0.6611 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.5012, allocations: 428.8 kB / 0.6615 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.5012, allocations: 5.094 kB / 0.6615 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.5013, allocations: 9.891 kB / 0.6615 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.5015, allocations: 27.89 kB / 0.6615 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.5023, allocations: 237.8 kB / 0.6618 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.5027, allocations: 316.1 kB / 0.6621 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.5028, allocations: 6.234 kB / 0.6621 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.5031, allocations: 197.4 kB / 0.6623 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.5034, allocations: 109.7 kB / 0.6624 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.5034, allocations: 18.19 kB / 0.6624 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.5035, allocations: 19.22 kB / 0.6624 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.5036, allocations: 84.25 kB / 0.6625 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.5037, allocations: 120.7 kB / 0.6626 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.504, allocations: 274.2 kB / 0.6629 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.504, allocations: 0 / 0.6629 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.655e-06/0.504, allocations: 0 / 0.6629 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.504, allocations: 0 / 0.6629 GB, free: 8.293 MB / 0.4981 GB 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.00118/0.5052, allocations: 0.7034 MB / 0.6635 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.5053, allocations: 9.406 kB / 0.6635 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.5054, allocations: 34.56 kB / 0.6636 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.5057, allocations: 267.7 kB / 0.6638 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.5057, allocations: 10.77 kB / 0.6638 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.5058, allocations: 23.31 kB / 0.6639 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.5061, allocations: 144.7 kB / 0.664 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5061, allocations: 4 kB / 0.664 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.5062, allocations: 13.31 kB / 0.664 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.5062, allocations: 1.219 kB / 0.664 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.5063, allocations: 50.38 kB / 0.6641 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.5066, allocations: 307.5 kB / 0.6644 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.5069, allocations: 130 kB / 0.6645 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.5071, allocations: 57.33 kB / 0.6645 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.5071, allocations: 2.5 kB / 0.6645 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/0.5076, allocations: 231.7 kB / 0.6648 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.5076, allocations: 0 / 0.6648 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006077/0.5082, allocations: 269.6 kB / 0.665 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.5082, allocations: 56.69 kB / 0.6651 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.5085, allocations: 298.5 kB / 0.6654 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.5086, allocations: 37.05 kB / 0.6654 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.5086, allocations: 88.98 kB / 0.6655 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.5087, allocations: 42.8 kB / 0.6655 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.5089, allocations: 116.1 kB / 0.6656 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.5089, allocations: 321.4 kB / 0.6659 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.5092, allocations: 90.83 kB / 0.666 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.5094, allocations: 149.5 kB / 0.6662 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.5097, allocations: 248.3 kB / 0.6664 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5097, allocations: 0 / 0.6664 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006229/0.5103, allocations: 414.4 kB / 0.6668 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.5104, allocations: 74.67 kB / 0.6669 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.5104, allocations: 6.359 kB / 0.6669 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5104, allocations: 2.344 kB / 0.6669 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.5106, allocations: 24.73 kB / 0.6669 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.5106, allocations: 2.875 kB / 0.6669 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.5111, allocations: 60.33 kB / 0.667 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.5112, allocations: 53.92 kB / 0.667 GB, free: 4.996 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.5114, allocations: 173.6 kB / 0.6672 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.5114, allocations: 27.06 kB / 0.6672 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.5115, allocations: 32.97 kB / 0.6672 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5115, allocations: 2.219 kB / 0.6672 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5115, allocations: 0 / 0.6672 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5115, allocations: 3.938 kB / 0.6672 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007187/0.5123, allocations: 0.5629 MB / 0.6678 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.5123, allocations: 0 / 0.6678 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.5123, allocations: 6.406 kB / 0.6678 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5123, allocations: 1.281 kB / 0.6678 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.5124, allocations: 14.02 kB / 0.6678 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5124, allocations: 5.078 kB / 0.6678 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5124, allocations: 7.938 kB / 0.6678 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.5128, allocations: 325.5 kB / 0.6681 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.5129, allocations: 155.8 kB / 0.6683 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.513, allocations: 12.22 kB / 0.6683 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.5132, allocations: 9.422 kB / 0.6683 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.5133, allocations: 16.98 kB / 0.6683 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.5133, allocations: 31.78 kB / 0.6684 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001759/0.5135, allocations: 208.8 kB / 0.6686 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5135, allocations: 0 / 0.6686 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003287/0.5139, allocations: 51.11 kB / 0.6686 GB, free: 3.781 MB / 0.4981 GB 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) * Number of clocked states: 0 () * 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 (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.0001478/0.514, allocations: 114.4 kB / 0.6687 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.5146, allocations: 352.4 kB / 0.669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5146, allocations: 384 / 0.669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.5147, allocations: 76.91 kB / 0.6691 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.5151, allocations: 21.09 kB / 0.6691 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.5157, allocations: 379.7 kB / 0.6695 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.5159, allocations: 0.7439 MB / 0.6702 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.5161, allocations: 34.8 kB / 0.6703 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.5162, allocations: 36.23 kB / 0.6703 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5162, allocations: 1.375 kB / 0.6703 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of Templates: time 0.008404/0.5246, allocations: 4.076 MB / 0.6743 GB, free: 368 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)