Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 112.6 kB / 16.37 MB, free: 6 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.001146/0.001146, allocations: 196 kB / 17.31 MB, free: 5.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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7722/0.7722, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3912, allocations: 80.18 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002264/0.3935, allocations: 1.476 MB / 0.5829 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007613/0.3943, allocations: 428.6 kB / 0.5833 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.3943, allocations: 1.312 kB / 0.5833 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.186e-05/0.3944, allocations: 8.906 kB / 0.5833 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.3945, allocations: 23.41 kB / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.3951, allocations: 236.9 kB / 0.5836 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.3954, allocations: 317.3 kB / 0.5839 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.3955, allocations: 14.06 kB / 0.5839 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.3957, allocations: 196.3 kB / 0.5841 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3959, allocations: 116.2 kB / 0.5842 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.396, allocations: 18.94 kB / 0.5842 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.065e-05/0.396, allocations: 19.25 kB / 0.5842 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.3961, allocations: 77.44 kB / 0.5843 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.3962, allocations: 118.8 kB / 0.5844 GB, free: 25.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3965, allocations: 284.8 kB / 0.5847 GB, free: 25.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3965, allocations: 0.5625 kB / 0.5847 GB, free: 25.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3965, allocations: 1.031 kB / 0.5847 GB, free: 25.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.3965, allocations: 1.719 kB / 0.5847 GB, free: 25.22 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.001019/0.3975, allocations: 0.6989 MB / 0.5854 GB, free: 24.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3976, allocations: 11.25 kB / 0.5854 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/0.3977, allocations: 31.16 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.398, allocations: 259.6 kB / 0.5857 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.398, allocations: 15.64 kB / 0.5857 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.3981, allocations: 17.81 kB / 0.5857 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3983, allocations: 146.4 kB / 0.5859 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3983, allocations: 0 / 0.5859 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.3984, allocations: 5.547 kB / 0.5859 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3984, allocations: 4.5 kB / 0.5859 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.3985, allocations: 50.44 kB / 0.5859 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.3988, allocations: 308 kB / 0.5862 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.399, allocations: 140.9 kB / 0.5863 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3991, allocations: 60.3 kB / 0.5864 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3992, allocations: 1.094 kB / 0.5864 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/0.3995, allocations: 223.1 kB / 0.5866 GB, free: 23.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.3996, allocations: 0 / 0.5866 GB, free: 23.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005438/0.4001, allocations: 272.8 kB / 0.5869 GB, free: 23.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.4001, allocations: 55.94 kB / 0.5869 GB, free: 23.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.4004, allocations: 291.1 kB / 0.5872 GB, free: 23.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.4004, allocations: 40.64 kB / 0.5872 GB, free: 23.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.4005, allocations: 89.3 kB / 0.5873 GB, free: 23.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.4005, allocations: 46.09 kB / 0.5874 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.4007, allocations: 107.7 kB / 0.5875 GB, free: 22.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.4007, allocations: 322.1 kB / 0.5878 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.4009, allocations: 99.11 kB / 0.5879 GB, free: 22.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.4011, allocations: 139.4 kB / 0.588 GB, free: 22.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.4014, allocations: 250.4 kB / 0.5882 GB, free: 22.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4014, allocations: 1.375 kB / 0.5882 GB, free: 22.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006114/0.402, allocations: 411.3 kB / 0.5886 GB, free: 22.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.4021, allocations: 79.31 kB / 0.5887 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4021, allocations: 5.469 kB / 0.5887 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4021, allocations: 4.312 kB / 0.5887 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.4023, allocations: 25.11 kB / 0.5887 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.4023, allocations: 2.531 kB / 0.5887 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.4028, allocations: 57.98 kB / 0.5888 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.4029, allocations: 54.45 kB / 0.5889 GB, free: 21.98 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.0001499/0.403, allocations: 174.2 kB / 0.589 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.4031, allocations: 31.47 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.4032, allocations: 36.44 kB / 0.5891 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.4032, allocations: 1.5 kB / 0.5891 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4032, allocations: 0 / 0.5891 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4032, allocations: 1.031 kB / 0.5891 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006983/0.4039, allocations: 0.5624 MB / 0.5896 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4039, allocations: 0 / 0.5896 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.404, allocations: 6.062 kB / 0.5896 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.404, allocations: 1.156 kB / 0.5896 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.404, allocations: 14.81 kB / 0.5897 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.404, allocations: 1 kB / 0.5897 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.404, allocations: 0.5625 kB / 0.5897 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.4044, allocations: 326.9 kB / 0.59 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.4046, allocations: 158.3 kB / 0.5901 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.4046, allocations: 9.5 kB / 0.5901 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.4048, allocations: 10.23 kB / 0.5901 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.4049, allocations: 23.92 kB / 0.5902 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.4049, allocations: 29.12 kB / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.4051, allocations: 205.9 kB / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4051, allocations: 3.938 kB / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.4054, allocations: 57.61 kB / 0.5904 GB, free: 20.62 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.0001277/0.4055, allocations: 115.8 kB / 0.5906 GB, free: 20.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004536/0.406, allocations: 346.5 kB / 0.5909 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.406, allocations: 1.594 kB / 0.5909 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.4061, allocations: 75.91 kB / 0.591 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.4065, allocations: 23.06 kB / 0.591 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.407, allocations: 374.4 kB / 0.5913 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.4072, allocations: 0.7406 MB / 0.5921 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.4073, allocations: 40.61 kB / 0.5921 GB, free: 18.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/0.4074, allocations: 34.36 kB / 0.5921 GB, free: 18.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4074, allocations: 0 / 0.5921 GB, free: 18.83 MB / 446.1 MB Notification: Performance of Templates: time 0.00601/0.4134, allocations: 4.074 MB / 0.5961 GB, free: 14.82 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)