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.001517/0.001517, allocations: 106.4 kB / 16.27 MB, free: 6.414 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.00167/0.00167, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.822/0.822, allocations: 135.2 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003151/0.003151, allocations: 67.89 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3445, allocations: 80.91 MB / 0.585 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002477/0.347, allocations: 1.479 MB / 0.5865 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.3478, allocations: 419.7 kB / 0.5869 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.3479, allocations: 1.719 kB / 0.5869 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.433e-05/0.3481, allocations: 7.922 kB / 0.5869 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.3482, allocations: 20.69 kB / 0.5869 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.3488, allocations: 252 kB / 0.5872 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.3492, allocations: 313.2 kB / 0.5875 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.3492, allocations: 14.64 kB / 0.5875 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.3495, allocations: 185.2 kB / 0.5877 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.3497, allocations: 102 kB / 0.5878 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.383e-05/0.3498, allocations: 19.22 kB / 0.5878 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-05/0.3499, allocations: 18.5 kB / 0.5878 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.35, allocations: 81.58 kB / 0.5879 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3501, allocations: 120.8 kB / 0.588 GB, free: 23.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.3504, allocations: 288.3 kB / 0.5883 GB, free: 22.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3504, allocations: 7.922 kB / 0.5883 GB, free: 22.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3504, allocations: 1.125 kB / 0.5883 GB, free: 22.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3504, allocations: 0.5312 kB / 0.5883 GB, free: 22.88 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.001122/0.3516, allocations: 0.6908 MB / 0.5889 GB, free: 22.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3516, allocations: 9.328 kB / 0.5889 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3517, allocations: 35.58 kB / 0.589 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.352, allocations: 263.5 kB / 0.5892 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.352, allocations: 16.92 kB / 0.5892 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.3521, allocations: 18.12 kB / 0.5893 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.3523, allocations: 149.7 kB / 0.5894 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3523, allocations: 0.625 kB / 0.5894 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.3524, allocations: 5.828 kB / 0.5894 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3524, allocations: 5.125 kB / 0.5894 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3525, allocations: 42.8 kB / 0.5895 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.3528, allocations: 309.2 kB / 0.5898 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.353, allocations: 137.8 kB / 0.5899 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3532, allocations: 56.77 kB / 0.5899 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3532, allocations: 8 kB / 0.5899 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003965/0.3536, allocations: 211 kB / 0.5901 GB, free: 21.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.3536, allocations: 0 / 0.5901 GB, free: 21.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005021/0.3541, allocations: 277.1 kB / 0.5904 GB, free: 20.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.3542, allocations: 71.17 kB / 0.5905 GB, free: 20.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.3543, allocations: 291 kB / 0.5908 GB, free: 20.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.3544, allocations: 33.7 kB / 0.5908 GB, free: 20.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.3544, allocations: 94.89 kB / 0.5909 GB, free: 20.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3545, allocations: 39.45 kB / 0.5909 GB, free: 20.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3546, allocations: 109.7 kB / 0.591 GB, free: 20.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.3547, allocations: 324 kB / 0.5913 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.3549, allocations: 96.17 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.3551, allocations: 147.8 kB / 0.5916 GB, free: 19.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.3553, allocations: 244.2 kB / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3553, allocations: 0 / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005529/0.3559, allocations: 421.7 kB / 0.5922 GB, free: 18.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.3559, allocations: 75.38 kB / 0.5923 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.356, allocations: 0.5 kB / 0.5923 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.356, allocations: 6.375 kB / 0.5923 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.3561, allocations: 27.92 kB / 0.5923 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3562, allocations: 7.984 kB / 0.5923 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.3567, allocations: 60.45 kB / 0.5924 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.3567, allocations: 48.8 kB / 0.5924 GB, free: 18.68 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.0001406/0.3569, allocations: 179.1 kB / 0.5926 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3569, allocations: 31.64 kB / 0.5926 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.357, allocations: 30.25 kB / 0.5926 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.357, allocations: 4 kB / 0.5927 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.357, allocations: 1.219 kB / 0.5927 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.357, allocations: 0 / 0.5927 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.3576, allocations: 0.5649 MB / 0.5932 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3576, allocations: 0 / 0.5932 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.3577, allocations: 11.98 kB / 0.5932 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3577, allocations: 0 / 0.5932 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.3577, allocations: 17.67 kB / 0.5932 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.3577, allocations: 0 / 0.5932 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3577, allocations: 0 / 0.5932 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.358, allocations: 323.6 kB / 0.5935 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3582, allocations: 153.5 kB / 0.5937 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.3582, allocations: 11.98 kB / 0.5937 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3584, allocations: 16.95 kB / 0.5937 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.3585, allocations: 11.98 kB / 0.5937 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.3585, allocations: 32.7 kB / 0.5938 GB, free: 17.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.3587, allocations: 210.5 kB / 0.594 GB, free: 17.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.62e-07/0.3587, allocations: 0 / 0.594 GB, free: 17.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.359, allocations: 49.28 kB / 0.594 GB, free: 16.97 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.0001033/0.3591, allocations: 123.9 kB / 0.5941 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000471/0.3596, allocations: 356 kB / 0.5945 GB, free: 16.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3596, allocations: 0 / 0.5945 GB, free: 16.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3597, allocations: 78.45 kB / 0.5945 GB, free: 16.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.3601, allocations: 23.19 kB / 0.5946 GB, free: 16.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.3606, allocations: 423.5 kB / 0.595 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.3608, allocations: 0.7455 MB / 0.5957 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.3609, allocations: 32.83 kB / 0.5957 GB, free: 15.14 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3609, allocations: 0 / 0.5957 GB, free: 15.14 MB / 446.1 MB Notification: Performance of Templates: time 0.003969/0.3649, allocations: 2.996 MB / 0.5986 GB, free: 12.19 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)