Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001571, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001888/0.001888, allocations: 189.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.418/0.418, allocations: 54.93 MB / 324.4 MB, free: 32 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 64.47 kB / 394.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1127, allocations: 59.58 MB / 454.5 MB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.2171/0.3299, allocations: 1.514 MB / 456 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008802/0.3308, allocations: 408.3 kB / 456.4 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.331, allocations: 0 / 456.4 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.364e-05/0.3311, allocations: 3.188 kB / 456.4 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.3312, allocations: 16.11 kB / 456.4 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.332, allocations: 221.9 kB / 456.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.3323, allocations: 308.5 kB / 457 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.3323, allocations: 3.172 kB / 457 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.3326, allocations: 216.9 kB / 457.2 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3328, allocations: 114.1 kB / 457.3 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.12e-05/0.3328, allocations: 18.44 kB / 457.3 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.3329, allocations: 18.72 kB / 457.3 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.333, allocations: 58.53 kB / 457.4 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3331, allocations: 107.1 kB / 457.5 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3333, allocations: 241.9 kB / 457.7 MB, free: 38.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3333, allocations: 4.344 kB / 457.7 MB, free: 38.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3333, allocations: 2.531 kB / 457.7 MB, free: 38.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3333, allocations: 0 / 457.7 MB, free: 38.53 MB / 382.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.001002/0.3343, allocations: 0.6263 MB / 458.3 MB, free: 38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3344, allocations: 11.5 kB / 458.4 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.576e-05/0.3345, allocations: 31.89 kB / 458.4 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.3347, allocations: 233.1 kB / 458.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.3347, allocations: 13.16 kB / 458.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.3348, allocations: 21.78 kB / 458.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.3351, allocations: 145.5 kB / 458.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3351, allocations: 192 / 458.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.3352, allocations: 7.375 kB / 458.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3352, allocations: 0.5625 kB / 458.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3353, allocations: 44.33 kB / 458.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.3356, allocations: 295.7 kB / 459.1 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.3358, allocations: 128.6 kB / 459.3 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3359, allocations: 58.23 kB / 459.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.336, allocations: 9.703 kB / 459.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/0.3363, allocations: 198.2 kB / 459.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.3363, allocations: 0 / 459.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.000532/0.3369, allocations: 266.7 kB / 459.8 MB, free: 37.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3369, allocations: 60.94 kB / 459.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3371, allocations: 225 kB / 460.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.3372, allocations: 42.48 kB / 460.1 MB, free: 37.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.3372, allocations: 88.89 kB / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.3373, allocations: 48.31 kB / 460.2 MB, free: 37.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.3374, allocations: 95.83 kB / 460.3 MB, free: 37.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.3375, allocations: 325.5 kB / 460.6 MB, free: 36.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.3377, allocations: 87.39 kB / 460.7 MB, free: 36.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.3379, allocations: 141.4 kB / 460.9 MB, free: 36.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.3382, allocations: 242.9 kB / 461.1 MB, free: 36.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.3382, allocations: 0 / 461.1 MB, free: 36.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005618/0.3388, allocations: 404.7 kB / 461.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.3388, allocations: 70.05 kB / 461.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3388, allocations: 0 / 461.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3389, allocations: 8.766 kB / 461.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.339, allocations: 31.5 kB / 461.6 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3391, allocations: 3.125 kB / 461.6 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.3396, allocations: 63.83 kB / 461.7 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.3396, allocations: 43.59 kB / 461.7 MB, free: 36.41 MB / 382.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.0001273/0.3398, allocations: 158.3 kB / 461.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.3398, allocations: 22.28 kB / 461.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.3398, allocations: 25.92 kB / 461.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3399, allocations: 6.75 kB / 461.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3399, allocations: 0 / 461.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3399, allocations: 1.375 kB / 461.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.3405, allocations: 0.5378 MB / 462.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3405, allocations: 3.938 kB / 462.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.3406, allocations: 6.281 kB / 462.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3406, allocations: 0 / 462.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.3406, allocations: 16.11 kB / 462.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3406, allocations: 0 / 462.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3406, allocations: 2.375 kB / 462.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.341, allocations: 310.2 kB / 462.8 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.3411, allocations: 152.9 kB / 462.9 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.3411, allocations: 10.38 kB / 463 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.3414, allocations: 11.39 kB / 463 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.3414, allocations: 17.08 kB / 463 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.3414, allocations: 23.48 kB / 463 MB, free: 35.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.407e-05/0.3415, allocations: 174.9 kB / 463.2 MB, free: 35.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3416, allocations: 0 / 463.2 MB, free: 35.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3418, allocations: 40.31 kB / 463.2 MB, free: 35.63 MB / 382.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.0001059/0.342, allocations: 114.3 kB / 463.3 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.3424, allocations: 348.9 kB / 463.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3424, allocations: 384 / 463.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3426, allocations: 71.06 kB / 463.7 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3429, allocations: 28.98 kB / 463.8 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.3434, allocations: 372 kB / 464.1 MB, free: 35.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.3436, allocations: 0.7275 MB / 464.9 MB, free: 34.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3437, allocations: 35.56 kB / 464.9 MB, free: 34.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.3438, allocations: 29.12 kB / 464.9 MB, free: 34.42 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3438, allocations: 1.5 kB / 464.9 MB, free: 34.42 MB / 382.1 MB Notification: Performance of Templates: time 0.006567/0.3504, allocations: 3.761 MB / 468.7 MB, free: 34.14 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)