Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001556/0.001556, allocations: 104.4 kB / 15.98 MB, free: 6.355 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.001495/0.001495, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8163/0.8163, allocations: 135.2 MB / 425.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 59.91 kB / 0.5055 GB, free: 8.738 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.353, allocations: 80.92 MB / 0.5846 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002282/0.3554, allocations: 1.537 MB / 0.5861 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.3561, allocations: 412.6 kB / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.3562, allocations: 5.938 kB / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.962e-05/0.3563, allocations: 0 / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.3564, allocations: 27.8 kB / 0.5865 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.3569, allocations: 232.1 kB / 0.5867 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.3572, allocations: 322.4 kB / 0.587 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.3573, allocations: 4.594 kB / 0.587 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.3575, allocations: 232.8 kB / 0.5872 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.3577, allocations: 120.4 kB / 0.5874 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.3578, allocations: 18.41 kB / 0.5874 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.995e-05/0.3578, allocations: 19.56 kB / 0.5874 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.221e-05/0.3579, allocations: 77.2 kB / 0.5875 GB, free: 23.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.358, allocations: 133.1 kB / 0.5876 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.3582, allocations: 205.8 kB / 0.5878 GB, free: 22.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3582, allocations: 2.5 kB / 0.5878 GB, free: 22.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3582, allocations: 0 / 0.5878 GB, free: 22.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3583, allocations: 0 / 0.5878 GB, free: 22.81 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.001017/0.3593, allocations: 0.7068 MB / 0.5885 GB, free: 22.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3593, allocations: 12.05 kB / 0.5885 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.3594, allocations: 29.41 kB / 0.5885 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.3596, allocations: 266.4 kB / 0.5888 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.3597, allocations: 9.25 kB / 0.5888 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.3597, allocations: 18.41 kB / 0.5888 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.36, allocations: 145.3 kB / 0.5889 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.36, allocations: 0 / 0.5889 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.36, allocations: 10.08 kB / 0.5889 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3601, allocations: 1.094 kB / 0.589 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.3602, allocations: 51.31 kB / 0.589 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.3604, allocations: 312.6 kB / 0.5893 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.3607, allocations: 130.7 kB / 0.5894 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3608, allocations: 56.39 kB / 0.5895 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3608, allocations: 5.438 kB / 0.5895 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/0.3613, allocations: 221.8 kB / 0.5897 GB, free: 21.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.3613, allocations: 0 / 0.5897 GB, free: 21.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005128/0.3618, allocations: 273.8 kB / 0.59 GB, free: 21.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.3618, allocations: 67.3 kB / 0.59 GB, free: 20.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.362, allocations: 290.9 kB / 0.5903 GB, free: 20.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.3621, allocations: 33.7 kB / 0.5903 GB, free: 20.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.3621, allocations: 94 kB / 0.5904 GB, free: 20.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.3622, allocations: 51.44 kB / 0.5905 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3623, allocations: 106.5 kB / 0.5906 GB, free: 20.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.3624, allocations: 323.5 kB / 0.5909 GB, free: 20.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.3625, allocations: 94.95 kB / 0.591 GB, free: 19.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.3627, allocations: 142.4 kB / 0.5911 GB, free: 19.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.363, allocations: 252.1 kB / 0.5913 GB, free: 19.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.363, allocations: 0.5625 kB / 0.5913 GB, free: 19.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005337/0.3635, allocations: 420.2 kB / 0.5917 GB, free: 19.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.3636, allocations: 71.39 kB / 0.5918 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3636, allocations: 4 kB / 0.5918 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3636, allocations: 0 / 0.5918 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.3638, allocations: 31.91 kB / 0.5918 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3638, allocations: 0 / 0.5918 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.3643, allocations: 62.62 kB / 0.5919 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.3644, allocations: 55.98 kB / 0.592 GB, free: 18.84 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.0001338/0.3645, allocations: 177.4 kB / 0.5921 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.3645, allocations: 23.72 kB / 0.5922 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.3646, allocations: 38.25 kB / 0.5922 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3646, allocations: 1.531 kB / 0.5922 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3646, allocations: 0 / 0.5922 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3646, allocations: 4 kB / 0.5922 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.3652, allocations: 0.5581 MB / 0.5927 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3652, allocations: 0 / 0.5927 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.3653, allocations: 11.98 kB / 0.5928 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3653, allocations: 1.375 kB / 0.5928 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.3653, allocations: 7.984 kB / 0.5928 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3653, allocations: 11.88 kB / 0.5928 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3653, allocations: 0 / 0.5928 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.3656, allocations: 328 kB / 0.5931 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3658, allocations: 156.6 kB / 0.5932 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.3658, allocations: 8 kB / 0.5932 GB, free: 17.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.366, allocations: 17.48 kB / 0.5933 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3661, allocations: 15.98 kB / 0.5933 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.3661, allocations: 31.97 kB / 0.5933 GB, free: 17.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.3663, allocations: 211.5 kB / 0.5935 GB, free: 17.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3663, allocations: 0 / 0.5935 GB, free: 17.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.3666, allocations: 51.98 kB / 0.5936 GB, free: 17.12 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.0001016/0.3667, allocations: 112.9 kB / 0.5937 GB, free: 17.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.3671, allocations: 350.5 kB / 0.594 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3671, allocations: 0.625 kB / 0.594 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3673, allocations: 73.08 kB / 0.5941 GB, free: 16.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3676, allocations: 20.88 kB / 0.5941 GB, free: 16.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.3682, allocations: 0.5047 MB / 0.5946 GB, free: 16.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.3683, allocations: 0.7409 MB / 0.5953 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3684, allocations: 37.98 kB / 0.5953 GB, free: 15.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3684, allocations: 0 / 0.5953 GB, free: 15.22 MB / 446.1 MB Notification: Performance of Templates: time 0.003842/0.3723, allocations: 2.982 MB / 0.5983 GB, free: 12.28 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)