Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009299/0.0009299, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007654/0.007654, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8007/0.8007, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 8 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5046, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001679/0.5063, allocations: 1.202 MB / 0.5848 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.5074, allocations: 447.7 kB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.5075, allocations: 1.25 kB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.76e-05/0.5076, allocations: 6.094 kB / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.5077, allocations: 19.53 kB / 0.5853 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006408/0.5083, allocations: 222.4 kB / 0.5855 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.5087, allocations: 291.8 kB / 0.5858 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.5088, allocations: 5.578 kB / 0.5858 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.5091, allocations: 212.7 kB / 0.586 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.5093, allocations: 116.7 kB / 0.5861 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.5094, allocations: 8.719 kB / 0.5861 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.902e-05/0.5095, allocations: 13.84 kB / 0.5861 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.5096, allocations: 76.03 kB / 0.5862 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.5098, allocations: 143.6 kB / 0.5863 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.5101, allocations: 278.8 kB / 0.5866 GB, free: 2.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5101, allocations: 0 / 0.5866 GB, free: 2.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5101, allocations: 0.6562 kB / 0.5866 GB, free: 2.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.5102, allocations: 1.062 kB / 0.5866 GB, free: 2.355 MB / 430.1 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.0009841/0.5112, allocations: 0.619 MB / 0.5872 GB, free: 1.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.5112, allocations: 8.688 kB / 0.5872 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.675e-05/0.5113, allocations: 31.28 kB / 0.5872 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.5116, allocations: 268.9 kB / 0.5875 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.5116, allocations: 8.109 kB / 0.5875 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.5117, allocations: 20.55 kB / 0.5875 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.512, allocations: 148.9 kB / 0.5877 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.512, allocations: 3.938 kB / 0.5877 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.5121, allocations: 2.672 kB / 0.5877 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5121, allocations: 1.406 kB / 0.5877 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.5122, allocations: 45.22 kB / 0.5877 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.5126, allocations: 315.8 kB / 0.588 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.5129, allocations: 136.8 kB / 0.5881 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.513, allocations: 53.59 kB / 0.5882 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.5131, allocations: 7.234 kB / 0.5882 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004782/0.5136, allocations: 224.3 kB / 0.5884 GB, free: 1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.5136, allocations: 0 / 0.5884 GB, free: 1 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006085/0.5142, allocations: 270.2 kB / 0.5887 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.5142, allocations: 57.2 kB / 0.5887 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.5146, allocations: 296.3 kB / 0.589 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.5146, allocations: 40.64 kB / 0.5891 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.5147, allocations: 91.75 kB / 0.5891 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.5147, allocations: 47.58 kB / 0.5892 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.5148, allocations: 38.53 kB / 0.5892 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.5149, allocations: 321.7 kB / 0.5895 GB, free: 180 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.5151, allocations: 94.61 kB / 0.5896 GB, free: 148 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.5154, allocations: 141.3 kB / 0.5898 GB, free: 64 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.5157, allocations: 243.7 kB / 0.59 GB, free: 15.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5157, allocations: 0.9688 kB / 0.59 GB, free: 15.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007929/0.5165, allocations: 417.6 kB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.5166, allocations: 76.92 kB / 0.5905 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5166, allocations: 6.031 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5167, allocations: 6.609 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.5169, allocations: 27.08 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5169, allocations: 3.641 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.5175, allocations: 73.25 kB / 0.5906 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.411e-05/0.5176, allocations: 54.23 kB / 0.5906 GB, free: 15.59 MB / 446.1 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 (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.0002136/0.5178, allocations: 173.5 kB / 0.5908 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.5178, allocations: 28.44 kB / 0.5908 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.827e-05/0.5179, allocations: 37.17 kB / 0.5908 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5179, allocations: 5.031 kB / 0.5909 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5179, allocations: 0.7812 kB / 0.5909 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.5179, allocations: 5.297 kB / 0.5909 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008934/0.5188, allocations: 0.5582 MB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5189, allocations: 0 / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.5189, allocations: 9.109 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5189, allocations: 1.5 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.519, allocations: 10.14 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.519, allocations: 5.344 kB / 0.5914 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.519, allocations: 0.7969 kB / 0.5914 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.5194, allocations: 322.8 kB / 0.5917 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.5196, allocations: 162.4 kB / 0.5919 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.5197, allocations: 10.19 kB / 0.5919 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.5199, allocations: 11.61 kB / 0.5919 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.52, allocations: 17 kB / 0.5919 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.5201, allocations: 32.64 kB / 0.592 GB, free: 14.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.5203, allocations: 208.5 kB / 0.5922 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5203, allocations: 0 / 0.5922 GB, free: 14.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.5207, allocations: 53.28 kB / 0.5922 GB, free: 14.56 MB / 446.1 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) * 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.0001303/0.5208, allocations: 108.9 kB / 0.5923 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006201/0.5214, allocations: 342.1 kB / 0.5926 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5214, allocations: 8 kB / 0.5926 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.5216, allocations: 82.53 kB / 0.5927 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.522, allocations: 29.41 kB / 0.5928 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/0.5227, allocations: 459 kB / 0.5932 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.5231, allocations: 0.7402 MB / 0.5939 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.5232, allocations: 39.17 kB / 0.594 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.5234, allocations: 33.39 kB / 0.594 GB, free: 13.18 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5234, allocations: 0 / 0.594 GB, free: 13.18 MB / 446.1 MB Notification: Performance of Templates: time 0.00828/0.5317, allocations: 3.976 MB / 0.5979 GB, free: 11.84 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)