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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006222/0.006222, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001365/0.001366, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9585/0.9585, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 55.91 kB / 0.5856 GB, free: 3.418 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4622, allocations: 80.92 MB / 0.6646 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002514/0.4648, allocations: 1.47 MB / 0.6661 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.4658, allocations: 428.2 kB / 0.6665 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.4658, allocations: 3.938 kB / 0.6665 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.4659, allocations: 5.688 kB / 0.6665 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.4661, allocations: 19.55 kB / 0.6665 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.4667, allocations: 248 kB / 0.6667 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.4671, allocations: 312.2 kB / 0.667 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.4671, allocations: 11.78 kB / 0.667 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.4674, allocations: 192 kB / 0.6672 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.4676, allocations: 112.6 kB / 0.6673 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.176e-05/0.4676, allocations: 17.94 kB / 0.6673 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.4677, allocations: 18.28 kB / 0.6674 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.4678, allocations: 81.75 kB / 0.6674 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.4679, allocations: 123 kB / 0.6676 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.4682, allocations: 275.8 kB / 0.6678 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4682, allocations: 7.875 kB / 0.6678 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4682, allocations: 1.031 kB / 0.6678 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.4683, allocations: 4 kB / 0.6678 GB, free: 5.48 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.00104/0.4693, allocations: 0.6951 MB / 0.6685 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4693, allocations: 10.06 kB / 0.6685 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.298e-05/0.4694, allocations: 29.81 kB / 0.6685 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.4697, allocations: 267.6 kB / 0.6688 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.4697, allocations: 11.97 kB / 0.6688 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/0.4698, allocations: 25.86 kB / 0.6688 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.4701, allocations: 146.6 kB / 0.669 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4701, allocations: 0 / 0.669 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.4701, allocations: 5.125 kB / 0.669 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4701, allocations: 5.344 kB / 0.669 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.4703, allocations: 46.75 kB / 0.669 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.4706, allocations: 316.5 kB / 0.6693 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.4709, allocations: 124 kB / 0.6695 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.471, allocations: 66.89 kB / 0.6695 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.471, allocations: 2.594 kB / 0.6695 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004266/0.4715, allocations: 217.1 kB / 0.6697 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.4715, allocations: 0 / 0.6697 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005819/0.4721, allocations: 272.6 kB / 0.67 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.4721, allocations: 64.14 kB / 0.67 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.4724, allocations: 287.7 kB / 0.6703 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.4725, allocations: 35.58 kB / 0.6704 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.4725, allocations: 98.02 kB / 0.6704 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.4726, allocations: 46.42 kB / 0.6705 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.4728, allocations: 108.7 kB / 0.6706 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.4729, allocations: 320.9 kB / 0.6709 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.4731, allocations: 94.86 kB / 0.671 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.4733, allocations: 144.3 kB / 0.6711 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.4737, allocations: 247.5 kB / 0.6714 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4737, allocations: 1.531 kB / 0.6714 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007206/0.4744, allocations: 408.3 kB / 0.6718 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/0.4745, allocations: 75.78 kB / 0.6718 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4745, allocations: 1.094 kB / 0.6718 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.4745, allocations: 3.344 kB / 0.6718 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.4747, allocations: 28.05 kB / 0.6719 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.4747, allocations: 7.547 kB / 0.6719 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.4752, allocations: 58.98 kB / 0.6719 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.255e-05/0.4753, allocations: 50.64 kB / 0.672 GB, free: 2.211 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.0001633/0.4755, allocations: 172.8 kB / 0.6721 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.4755, allocations: 35.84 kB / 0.6722 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.167e-05/0.4756, allocations: 32 kB / 0.6722 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4756, allocations: 6.844 kB / 0.6722 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.4756, allocations: 0 / 0.6722 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4756, allocations: 3.984 kB / 0.6722 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/0.4764, allocations: 0.5629 MB / 0.6728 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4764, allocations: 0 / 0.6728 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.4765, allocations: 6.969 kB / 0.6728 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4765, allocations: 0 / 0.6728 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.4765, allocations: 18.31 kB / 0.6728 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4765, allocations: 1.5 kB / 0.6728 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4765, allocations: 0 / 0.6728 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.477, allocations: 323.5 kB / 0.6731 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.4771, allocations: 160.2 kB / 0.6732 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.4772, allocations: 8.438 kB / 0.6733 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.4774, allocations: 14.17 kB / 0.6733 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.4775, allocations: 19.47 kB / 0.6733 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.4775, allocations: 31.55 kB / 0.6733 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001737/0.4777, allocations: 209 kB / 0.6735 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4777, allocations: 1.156 kB / 0.6735 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003111/0.4781, allocations: 46.16 kB / 0.6736 GB, free: 0.9922 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.000116/0.4782, allocations: 118.4 kB / 0.6737 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.4787, allocations: 342.8 kB / 0.674 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4787, allocations: 0 / 0.674 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.4788, allocations: 77.25 kB / 0.6741 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.4791, allocations: 20.34 kB / 0.6741 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/0.4797, allocations: 385.1 kB / 0.6745 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.48, allocations: 0.7485 MB / 0.6752 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.4801, allocations: 36.28 kB / 0.6752 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.4802, allocations: 40.31 kB / 0.6753 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4803, allocations: 7.938 kB / 0.6753 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.01023/0.4905, allocations: 4.076 MB / 0.6793 GB, free: 13.55 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)