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.006715/0.006715, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001212/0.001213, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.048/1.048, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.5856 GB, free: 3.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4575, allocations: 80.9 MB / 0.6646 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002182/0.4597, allocations: 1.49 MB / 0.6661 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008288/0.4606, allocations: 414.8 kB / 0.6664 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.4606, allocations: 0 / 0.6664 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.558e-05/0.4607, allocations: 13.08 kB / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.4609, allocations: 19.08 kB / 0.6665 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.4615, allocations: 243.7 kB / 0.6667 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.4618, allocations: 312 kB / 0.667 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.4618, allocations: 8.875 kB / 0.667 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.4621, allocations: 190.6 kB / 0.6672 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.4623, allocations: 114.5 kB / 0.6673 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-05/0.4624, allocations: 17.81 kB / 0.6673 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.4624, allocations: 18.41 kB / 0.6673 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-05/0.4625, allocations: 84.92 kB / 0.6674 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.4627, allocations: 119.7 kB / 0.6675 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.463, allocations: 283.3 kB / 0.6678 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.463, allocations: 0 / 0.6678 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.463, allocations: 1.062 kB / 0.6678 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.463, allocations: 0 / 0.6678 GB, free: 5.301 MB / 0.4981 GB 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.001002/0.464, allocations: 0.6991 MB / 0.6685 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.464, allocations: 9.25 kB / 0.6685 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.716e-05/0.4641, allocations: 42.64 kB / 0.6685 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.4644, allocations: 263.9 kB / 0.6688 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.4644, allocations: 15.86 kB / 0.6688 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.4645, allocations: 22.47 kB / 0.6688 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.4647, allocations: 145.8 kB / 0.669 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4648, allocations: 5.75 kB / 0.669 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.4648, allocations: 4 kB / 0.669 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4648, allocations: 5.25 kB / 0.669 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.4649, allocations: 51.16 kB / 0.669 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.4652, allocations: 311.5 kB / 0.6693 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.4655, allocations: 129.4 kB / 0.6695 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.4657, allocations: 58.94 kB / 0.6695 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.4657, allocations: 5.172 kB / 0.6695 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/0.4662, allocations: 221.8 kB / 0.6697 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.4662, allocations: 0 / 0.6697 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005951/0.4668, allocations: 276.5 kB / 0.67 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.4668, allocations: 60.47 kB / 0.67 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.4671, allocations: 291.3 kB / 0.6703 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.4671, allocations: 40.12 kB / 0.6704 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.4672, allocations: 90.33 kB / 0.6704 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.4672, allocations: 46.48 kB / 0.6705 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.4674, allocations: 108.4 kB / 0.6706 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.4674, allocations: 329.7 kB / 0.6709 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.4676, allocations: 86.31 kB / 0.671 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.4679, allocations: 147.8 kB / 0.6711 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.4681, allocations: 246 kB / 0.6714 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4682, allocations: 1.125 kB / 0.6714 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006177/0.4688, allocations: 410.4 kB / 0.6718 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.4688, allocations: 70.64 kB / 0.6718 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4689, allocations: 2.188 kB / 0.6718 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4689, allocations: 2.594 kB / 0.6718 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4691, allocations: 32.62 kB / 0.6719 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4691, allocations: 7.406 kB / 0.6719 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.4695, allocations: 59.31 kB / 0.6719 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.4696, allocations: 54.55 kB / 0.672 GB, free: 2.004 MB / 0.4981 GB 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.00015/0.4698, allocations: 168.8 kB / 0.6721 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.4698, allocations: 31.22 kB / 0.6722 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.4699, allocations: 32.62 kB / 0.6722 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4699, allocations: 2.125 kB / 0.6722 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4699, allocations: 5.062 kB / 0.6722 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4699, allocations: 0 / 0.6722 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.4706, allocations: 0.5657 MB / 0.6728 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4706, allocations: 1.156 kB / 0.6728 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.4707, allocations: 13.75 kB / 0.6728 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4707, allocations: 1.219 kB / 0.6728 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.4707, allocations: 13.61 kB / 0.6728 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4707, allocations: 1.062 kB / 0.6728 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4707, allocations: 1.219 kB / 0.6728 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.4711, allocations: 335.2 kB / 0.6731 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.4712, allocations: 155.2 kB / 0.6733 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.4713, allocations: 8.594 kB / 0.6733 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.4715, allocations: 14.7 kB / 0.6733 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.4716, allocations: 11.8 kB / 0.6733 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.4716, allocations: 31.98 kB / 0.6733 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001619/0.4718, allocations: 208.8 kB / 0.6735 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4718, allocations: 1.062 kB / 0.6735 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003078/0.4721, allocations: 50.64 kB / 0.6736 GB, free: 0.7852 MB / 0.4981 GB 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.0001171/0.4722, allocations: 109.4 kB / 0.6737 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004989/0.4727, allocations: 345.7 kB / 0.674 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4727, allocations: 0 / 0.674 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.4729, allocations: 81.09 kB / 0.6741 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.4732, allocations: 28.44 kB / 0.6741 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005992/0.4738, allocations: 396.9 kB / 0.6745 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.4742, allocations: 0.7355 MB / 0.6752 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.4743, allocations: 39.42 kB / 0.6752 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.4744, allocations: 37.02 kB / 0.6753 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of SimCode: time 2.685e-06/0.4744, allocations: 0 / 0.6753 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.008425/0.4828, allocations: 4.083 MB / 0.6793 GB, free: 13.34 MB / 0.5137 GB 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)