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.001548/0.001548, allocations: 106 kB / 16.35 MB, free: 5.824 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.001811/0.001812, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.783/0.783, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 55.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4013, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00251/0.4039, allocations: 1.477 MB / 0.5829 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.4047, allocations: 434.3 kB / 0.5833 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.4048, allocations: 5.031 kB / 0.5833 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.4049, allocations: 9 kB / 0.5833 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/0.405, allocations: 24.38 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.4056, allocations: 240.5 kB / 0.5836 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.406, allocations: 314.3 kB / 0.5839 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.406, allocations: 23.66 kB / 0.5839 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.4062, allocations: 186.7 kB / 0.5841 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.4064, allocations: 111.4 kB / 0.5842 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.4065, allocations: 18.38 kB / 0.5842 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.4066, allocations: 19 kB / 0.5842 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.751e-05/0.4067, allocations: 78.44 kB / 0.5843 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.4068, allocations: 123.8 kB / 0.5844 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.407, allocations: 282.6 kB / 0.5847 GB, free: 25.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4071, allocations: 6.094 kB / 0.5847 GB, free: 25.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4071, allocations: 0 / 0.5847 GB, free: 25.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.4071, allocations: 2.406 kB / 0.5847 GB, free: 25.24 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.001061/0.4081, allocations: 0.6955 MB / 0.5854 GB, free: 24.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4082, allocations: 12.5 kB / 0.5854 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.363e-05/0.4083, allocations: 31.44 kB / 0.5854 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.4086, allocations: 255.2 kB / 0.5857 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.4086, allocations: 12.25 kB / 0.5857 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.4087, allocations: 23.52 kB / 0.5857 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.4089, allocations: 145.5 kB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.4089, allocations: 0 / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.409, allocations: 2.781 kB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.409, allocations: 5.031 kB / 0.5859 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.4091, allocations: 50.28 kB / 0.5859 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.4094, allocations: 309.1 kB / 0.5862 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.4096, allocations: 138.3 kB / 0.5863 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.4098, allocations: 63.42 kB / 0.5864 GB, free: 23.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.4098, allocations: 2.156 kB / 0.5864 GB, free: 23.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.4102, allocations: 218.6 kB / 0.5866 GB, free: 23.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.4102, allocations: 0 / 0.5866 GB, free: 23.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005571/0.4107, allocations: 276.2 kB / 0.5869 GB, free: 23.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.4108, allocations: 62.95 kB / 0.5869 GB, free: 23.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.411, allocations: 285.9 kB / 0.5872 GB, free: 23.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.4111, allocations: 36.48 kB / 0.5872 GB, free: 23.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.4111, allocations: 94.31 kB / 0.5873 GB, free: 23.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.4112, allocations: 42.36 kB / 0.5874 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.4113, allocations: 109 kB / 0.5875 GB, free: 23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.4114, allocations: 323.6 kB / 0.5878 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.4116, allocations: 94.64 kB / 0.5879 GB, free: 22.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.4119, allocations: 140.1 kB / 0.588 GB, free: 22.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.4122, allocations: 250.1 kB / 0.5882 GB, free: 22.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4122, allocations: 1.312 kB / 0.5882 GB, free: 22.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006207/0.4128, allocations: 407 kB / 0.5886 GB, free: 22.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.695e-05/0.4129, allocations: 79.72 kB / 0.5887 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4129, allocations: 2.75 kB / 0.5887 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.4129, allocations: 6.969 kB / 0.5887 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.4131, allocations: 26.33 kB / 0.5887 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.4131, allocations: 6.516 kB / 0.5887 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.4136, allocations: 56.42 kB / 0.5888 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.733e-05/0.4137, allocations: 55.39 kB / 0.5888 GB, free: 22 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.0001598/0.4139, allocations: 173.3 kB / 0.589 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.4139, allocations: 32.12 kB / 0.589 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.414, allocations: 32.88 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.414, allocations: 2.375 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.414, allocations: 1.469 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.414, allocations: 3.984 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.4147, allocations: 0.5564 MB / 0.5896 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4148, allocations: 0 / 0.5896 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.4148, allocations: 6.469 kB / 0.5896 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.4148, allocations: 8.594 kB / 0.5896 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.4149, allocations: 13.97 kB / 0.5897 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4149, allocations: 1.406 kB / 0.5897 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4149, allocations: 0 / 0.5897 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.4153, allocations: 327.9 kB / 0.59 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.4155, allocations: 159.8 kB / 0.5901 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.4155, allocations: 12.44 kB / 0.5901 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.4157, allocations: 12.52 kB / 0.5901 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.4158, allocations: 24.44 kB / 0.5902 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.4158, allocations: 30.45 kB / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.416, allocations: 209.9 kB / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.416, allocations: 0 / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.4163, allocations: 48 kB / 0.5904 GB, free: 20.63 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.0001087/0.4164, allocations: 119.2 kB / 0.5906 GB, free: 20.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.4169, allocations: 343.7 kB / 0.5909 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4169, allocations: 2.469 kB / 0.5909 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.417, allocations: 74.56 kB / 0.591 GB, free: 20.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.4174, allocations: 23.88 kB / 0.591 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.4179, allocations: 377.1 kB / 0.5913 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.4181, allocations: 0.7448 MB / 0.5921 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.4182, allocations: 32.75 kB / 0.5921 GB, free: 18.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.4184, allocations: 36.91 kB / 0.5921 GB, free: 18.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4184, allocations: 1.031 kB / 0.5921 GB, free: 18.84 MB / 446.1 MB Notification: Performance of Templates: time 0.006881/0.4252, allocations: 4.069 MB / 0.5961 GB, free: 14.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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)