Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0008095/0.0008099, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001018/0.001018, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 222.1 MB, free: 5.395 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4605/0.4605, allocations: 55.02 MB / 325.4 MB, free: 0.8164 MB / 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.0005458/0.000546, allocations: 12 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4352, allocations: 60.73 MB / 457.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.00164/0.437, allocations: 1.15 MB / 458.5 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007432/0.4377, allocations: 396.5 kB / 458.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.4378, allocations: 1.969 kB / 458.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.4378, allocations: 3.234 kB / 458.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.4379, allocations: 16.7 kB / 458.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.4386, allocations: 209.8 kB / 459.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.4388, allocations: 224.3 kB / 459.3 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.202e-05/0.4389, allocations: 7.547 kB / 459.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.4391, allocations: 205.5 kB / 459.6 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.4393, allocations: 114.4 kB / 459.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.4394, allocations: 9.469 kB / 459.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.4394, allocations: 10.47 kB / 459.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.4395, allocations: 61.05 kB / 459.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.4396, allocations: 55.95 kB / 459.8 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.4398, allocations: 161 kB / 460 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.4398, allocations: 0.625 kB / 460 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4398, allocations: 0.5 kB / 460 MB, free: 38.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.4399, allocations: 0 / 460 MB, free: 38.35 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.00093/0.4408, allocations: 0.5687 MB / 460.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4408, allocations: 11 kB / 460.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.4409, allocations: 22.88 kB / 460.6 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.4412, allocations: 243.1 kB / 460.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.4412, allocations: 11.38 kB / 460.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.4413, allocations: 17.06 kB / 460.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.4416, allocations: 138.5 kB / 461 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.4416, allocations: 0 / 461 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.4416, allocations: 8.75 kB / 461 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.4416, allocations: 2.516 kB / 461 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.4418, allocations: 48.08 kB / 461 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.4421, allocations: 297.5 kB / 461.3 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.4424, allocations: 123.4 kB / 461.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.4425, allocations: 55.3 kB / 461.5 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.4426, allocations: 5.062 kB / 461.5 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000494/0.4431, allocations: 206.5 kB / 461.7 MB, free: 37.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.515e-06/0.4431, allocations: 3.656 kB / 461.7 MB, free: 37.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006271/0.4437, allocations: 252 kB / 461.9 MB, free: 37.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.4438, allocations: 61.81 kB / 462 MB, free: 37.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.444, allocations: 229.4 kB / 462.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.4441, allocations: 40.83 kB / 462.3 MB, free: 37.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.4441, allocations: 90.31 kB / 462.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.4442, allocations: 45.44 kB / 462.4 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.4442, allocations: 11.62 kB / 462.4 MB, free: 36.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.4443, allocations: 321.8 kB / 462.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.4445, allocations: 92.16 kB / 462.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.4448, allocations: 137.8 kB / 462.9 MB, free: 36.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.445, allocations: 150.9 kB / 463.1 MB, free: 36.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.445, allocations: 0 / 463.1 MB, free: 36.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005736/0.4456, allocations: 405.4 kB / 463.5 MB, free: 36.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.4457, allocations: 74.3 kB / 463.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.4457, allocations: 5.844 kB / 463.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4457, allocations: 2.938 kB / 463.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.4459, allocations: 21.61 kB / 463.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4459, allocations: 10.81 kB / 463.6 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.4463, allocations: 86.25 kB / 463.7 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.4464, allocations: 37.47 kB / 463.7 MB, free: 36.29 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.4465, allocations: 166 kB / 463.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4466, allocations: 17.72 kB / 463.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.4466, allocations: 21.33 kB / 463.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4466, allocations: 3.469 kB / 463.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4466, allocations: 0 / 463.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4466, allocations: 2.906 kB / 463.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006427/0.4473, allocations: 0.5315 MB / 464.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4473, allocations: 3.328 kB / 464.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.4473, allocations: 12.47 kB / 464.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4474, allocations: 0.5625 kB / 464.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.4474, allocations: 14.39 kB / 464.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4474, allocations: 0 / 464.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4474, allocations: 6.953 kB / 464.5 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.4477, allocations: 311.7 kB / 464.8 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4478, allocations: 136.8 kB / 464.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.4479, allocations: 12.31 kB / 465 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.4481, allocations: 15.48 kB / 465 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.4482, allocations: 16.3 kB / 465 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.4482, allocations: 28.95 kB / 465 MB, free: 35.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.4483, allocations: 162.9 kB / 465.2 MB, free: 35.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4483, allocations: 0 / 465.2 MB, free: 35.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.4486, allocations: 45.66 kB / 465.2 MB, free: 35.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001277/0.4488, allocations: 119.7 kB / 465.3 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.4493, allocations: 339.8 kB / 465.7 MB, free: 35.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4493, allocations: 0 / 465.7 MB, free: 35.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.4495, allocations: 68.62 kB / 465.7 MB, free: 35.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.4498, allocations: 21.11 kB / 465.7 MB, free: 35.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007264/0.4506, allocations: 367.6 kB / 466.1 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.4509, allocations: 0.7255 MB / 466.8 MB, free: 34.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.451, allocations: 29.77 kB / 466.9 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.4511, allocations: 35.17 kB / 466.9 MB, free: 34.34 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4511, allocations: 0 / 466.9 MB, free: 34.34 MB / 382.1 MB Notification: Performance of Templates: time 0.007427/0.4586, allocations: 3.52 MB / 470.4 MB, free: 34.07 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: