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.009686/0.009686, allocations: 107.8 kB / 15.74 MB, free: 6.441 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.002088/0.002088, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.91 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5324, allocations: 80.91 MB / 0.6646 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002671/0.5351, allocations: 1.483 MB / 0.6661 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.5364, allocations: 422.4 kB / 0.6665 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.5365, allocations: 0 / 0.6665 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.5366, allocations: 11.86 kB / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.5368, allocations: 20.89 kB / 0.6665 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.5374, allocations: 241 kB / 0.6667 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.5378, allocations: 316.5 kB / 0.667 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.5378, allocations: 8.844 kB / 0.667 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.5381, allocations: 195.9 kB / 0.6672 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.5383, allocations: 115.7 kB / 0.6673 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.85e-05/0.5384, allocations: 18.59 kB / 0.6673 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-05/0.5385, allocations: 17.78 kB / 0.6674 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.5386, allocations: 80.56 kB / 0.6674 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.5387, allocations: 120.2 kB / 0.6675 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.539, allocations: 274.4 kB / 0.6678 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.539, allocations: 0 / 0.6678 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.539, allocations: 0 / 0.6678 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.539, allocations: 0 / 0.6678 GB, free: 5.254 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.001124/0.5401, allocations: 0.7094 MB / 0.6685 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.5402, allocations: 8.656 kB / 0.6685 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.5403, allocations: 31.28 kB / 0.6685 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.5406, allocations: 263.6 kB / 0.6688 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.5406, allocations: 11.28 kB / 0.6688 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.5407, allocations: 21.94 kB / 0.6688 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.541, allocations: 145.4 kB / 0.669 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.541, allocations: 0 / 0.669 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.541, allocations: 9.297 kB / 0.669 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.541, allocations: 5.156 kB / 0.669 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.5412, allocations: 46.16 kB / 0.669 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.5415, allocations: 307.8 kB / 0.6693 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.5417, allocations: 137.3 kB / 0.6694 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.5419, allocations: 58.45 kB / 0.6695 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.5419, allocations: 2.531 kB / 0.6695 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004578/0.5424, allocations: 222.4 kB / 0.6697 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.5424, allocations: 0 / 0.6697 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005983/0.543, allocations: 272.5 kB / 0.67 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.543, allocations: 63.48 kB / 0.67 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.5433, allocations: 291.6 kB / 0.6703 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.5434, allocations: 35.67 kB / 0.6703 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.5434, allocations: 90.45 kB / 0.6704 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.5435, allocations: 45.89 kB / 0.6705 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.5436, allocations: 108.3 kB / 0.6706 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.5437, allocations: 325.3 kB / 0.6709 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.5439, allocations: 95.08 kB / 0.671 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.5442, allocations: 147.3 kB / 0.6711 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.5445, allocations: 244.1 kB / 0.6714 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.5445, allocations: 1.219 kB / 0.6714 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000628/0.5451, allocations: 413.4 kB / 0.6718 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.5452, allocations: 75.5 kB / 0.6718 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5452, allocations: 5.406 kB / 0.6718 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.5453, allocations: 7.688 kB / 0.6718 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.5454, allocations: 28.61 kB / 0.6719 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.5455, allocations: 2.281 kB / 0.6719 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.546, allocations: 55.45 kB / 0.6719 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.729e-05/0.5461, allocations: 50.2 kB / 0.672 GB, free: 1.973 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.0001847/0.5463, allocations: 177.1 kB / 0.6721 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.5463, allocations: 31.94 kB / 0.6722 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.5464, allocations: 31.91 kB / 0.6722 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5464, allocations: 2.938 kB / 0.6722 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5464, allocations: 0 / 0.6722 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5464, allocations: 3.938 kB / 0.6722 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007434/0.5472, allocations: 0.5591 MB / 0.6727 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5472, allocations: 0 / 0.6727 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.5472, allocations: 10.91 kB / 0.6728 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5472, allocations: 0 / 0.6728 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.5473, allocations: 22.78 kB / 0.6728 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5473, allocations: 1.094 kB / 0.6728 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5473, allocations: 0 / 0.6728 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.5477, allocations: 321.1 kB / 0.6731 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.5478, allocations: 153.6 kB / 0.6732 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.5479, allocations: 9.062 kB / 0.6732 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.5481, allocations: 17.95 kB / 0.6733 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.5482, allocations: 15.97 kB / 0.6733 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.5482, allocations: 39.25 kB / 0.6733 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001586/0.5484, allocations: 205.5 kB / 0.6735 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5484, allocations: 1.375 kB / 0.6735 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003561/0.5487, allocations: 49.61 kB / 0.6736 GB, free: 0.7539 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.0001238/0.5489, allocations: 110 kB / 0.6737 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000518/0.5494, allocations: 349.7 kB / 0.674 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5494, allocations: 0 / 0.674 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.5496, allocations: 76.94 kB / 0.6741 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.5499, allocations: 25.44 kB / 0.6741 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.5506, allocations: 390.5 kB / 0.6745 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.551, allocations: 0.7344 MB / 0.6752 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.5511, allocations: 40.39 kB / 0.6752 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.5512, allocations: 36.67 kB / 0.6753 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.5512, allocations: 0 / 0.6753 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.009609/0.5608, allocations: 4.077 MB / 0.6792 GB, free: 13.32 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)