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.001177/0.001177, allocations: 109.3 kB / 16.37 MB, free: 6.48 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.001225/0.001225, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8038/0.8038, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4051, allocations: 80.18 MB / 0.5815 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002365/0.4075, allocations: 1.474 MB / 0.5829 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007729/0.4083, allocations: 427 kB / 0.5833 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.4084, allocations: 5.219 kB / 0.5833 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.989e-05/0.4085, allocations: 9.875 kB / 0.5834 GB, free: 26.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.327e-05/0.4086, allocations: 19.86 kB / 0.5834 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.4092, allocations: 242.1 kB / 0.5836 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.4095, allocations: 320 kB / 0.5839 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.4095, allocations: 11.88 kB / 0.5839 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.4097, allocations: 194.7 kB / 0.5841 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.4099, allocations: 108.9 kB / 0.5842 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.41, allocations: 18.75 kB / 0.5842 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-05/0.4101, allocations: 18.44 kB / 0.5842 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.244e-05/0.4102, allocations: 77.28 kB / 0.5843 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.4103, allocations: 123.6 kB / 0.5844 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.4106, allocations: 285.9 kB / 0.5847 GB, free: 25.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4106, allocations: 1.25 kB / 0.5847 GB, free: 25.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4106, allocations: 0 / 0.5847 GB, free: 25.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.4106, allocations: 0 / 0.5847 GB, free: 25.58 MB / 446.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.001008/0.4116, allocations: 0.7001 MB / 0.5854 GB, free: 24.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.4116, allocations: 14.5 kB / 0.5854 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.4117, allocations: 30.31 kB / 0.5854 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.412, allocations: 259 kB / 0.5857 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.4121, allocations: 16.44 kB / 0.5857 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.4121, allocations: 19.41 kB / 0.5857 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.4124, allocations: 144.5 kB / 0.5859 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4124, allocations: 1.25 kB / 0.5859 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.4124, allocations: 9.891 kB / 0.5859 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4124, allocations: 1.188 kB / 0.5859 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.4126, allocations: 46.41 kB / 0.5859 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.4128, allocations: 310 kB / 0.5862 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.4131, allocations: 138.1 kB / 0.5863 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4132, allocations: 63.3 kB / 0.5864 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.4132, allocations: 2.844 kB / 0.5864 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.4136, allocations: 214.8 kB / 0.5866 GB, free: 23.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.4136, allocations: 0 / 0.5866 GB, free: 23.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005278/0.4142, allocations: 275.5 kB / 0.5869 GB, free: 23.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.4142, allocations: 60.14 kB / 0.5869 GB, free: 23.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.4144, allocations: 290.8 kB / 0.5872 GB, free: 23.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.4145, allocations: 37.52 kB / 0.5872 GB, free: 23.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.4145, allocations: 90.2 kB / 0.5873 GB, free: 23.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.4146, allocations: 46.58 kB / 0.5874 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.4147, allocations: 107.8 kB / 0.5875 GB, free: 23.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.4148, allocations: 321.3 kB / 0.5878 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.415, allocations: 96.02 kB / 0.5879 GB, free: 22.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.4152, allocations: 138.2 kB / 0.588 GB, free: 22.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.4154, allocations: 253.7 kB / 0.5882 GB, free: 22.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4155, allocations: 1.594 kB / 0.5882 GB, free: 22.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005994/0.4161, allocations: 411.5 kB / 0.5886 GB, free: 22.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.4161, allocations: 79.81 kB / 0.5887 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4161, allocations: 1.75 kB / 0.5887 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4162, allocations: 4.531 kB / 0.5887 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.4163, allocations: 23.77 kB / 0.5887 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4163, allocations: 4.594 kB / 0.5888 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.4168, allocations: 56.52 kB / 0.5888 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.4169, allocations: 54.08 kB / 0.5889 GB, free: 22.34 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.0001413/0.417, allocations: 174.9 kB / 0.589 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.4171, allocations: 36.75 kB / 0.5891 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.4171, allocations: 31.31 kB / 0.5891 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4172, allocations: 3.688 kB / 0.5891 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4172, allocations: 0 / 0.5891 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4172, allocations: 4.812 kB / 0.5891 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.4179, allocations: 0.5573 MB / 0.5896 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4179, allocations: 5 kB / 0.5896 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.4179, allocations: 8 kB / 0.5897 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4179, allocations: 5.344 kB / 0.5897 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.418, allocations: 11.97 kB / 0.5897 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.418, allocations: 3.984 kB / 0.5897 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.418, allocations: 4 kB / 0.5897 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.4183, allocations: 327 kB / 0.59 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.4185, allocations: 160.6 kB / 0.5901 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.4185, allocations: 8 kB / 0.5901 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.4188, allocations: 9.234 kB / 0.5902 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.4188, allocations: 19.98 kB / 0.5902 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.4189, allocations: 31.56 kB / 0.5902 GB, free: 21.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.419, allocations: 205.9 kB / 0.5904 GB, free: 20.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.419, allocations: 0 / 0.5904 GB, free: 20.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000304/0.4193, allocations: 55.98 kB / 0.5905 GB, free: 20.78 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 8.631e-05/0.4194, allocations: 115.9 kB / 0.5906 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004251/0.4198, allocations: 343.2 kB / 0.5909 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4199, allocations: 2.312 kB / 0.5909 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.42, allocations: 75.91 kB / 0.591 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4203, allocations: 23.38 kB / 0.591 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.4208, allocations: 369.9 kB / 0.5913 GB, free: 19.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.421, allocations: 0.746 MB / 0.5921 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.4211, allocations: 38.73 kB / 0.5921 GB, free: 19.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.4212, allocations: 33.36 kB / 0.5921 GB, free: 18.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4212, allocations: 0.5312 kB / 0.5921 GB, free: 18.99 MB / 446.1 MB Notification: Performance of Templates: time 0.00627/0.4275, allocations: 4.071 MB / 0.5961 GB, free: 14.99 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)