Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") translateModel(Annex60.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002116/0.002116, allocations: 197.3 kB / 16.14 MB, free: 6.703 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.594/1.594, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4546/0.4546, allocations: 54.93 MB / 324.3 MB, free: 96 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.001784/0.001783, allocations: 72.22 kB / 394.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1601, allocations: 59.58 MB / 454.3 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.CalendarTime): time 0.3026/0.4627, allocations: 1.505 MB / 455.8 MB, free: 39.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008337/0.4636, allocations: 431.9 kB / 456.2 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.4637, allocations: 0 / 456.2 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.032e-05/0.4638, allocations: 5.812 kB / 456.2 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.4639, allocations: 16.86 kB / 456.3 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.4645, allocations: 220.6 kB / 456.5 MB, free: 39.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.4647, allocations: 268.2 kB / 456.7 MB, free: 39.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.4647, allocations: 6.719 kB / 456.7 MB, free: 39.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.4649, allocations: 193.2 kB / 456.9 MB, free: 39.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.4651, allocations: 109.1 kB / 457 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.4652, allocations: 12.72 kB / 457 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.742e-05/0.4652, allocations: 10.12 kB / 457.1 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.4653, allocations: 50.55 kB / 457.1 MB, free: 39.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.4654, allocations: 104.4 kB / 457.2 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.4657, allocations: 229.2 kB / 457.4 MB, free: 39.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4657, allocations: 3.938 kB / 457.4 MB, free: 39.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4657, allocations: 0 / 457.4 MB, free: 39.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.4657, allocations: 0 / 457.4 MB, free: 39.16 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.001/0.4667, allocations: 0.6271 MB / 458.1 MB, free: 38.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.4667, allocations: 9.125 kB / 458.1 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.4668, allocations: 29.25 kB / 458.1 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.4671, allocations: 243.1 kB / 458.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.4671, allocations: 12.73 kB / 458.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.4672, allocations: 20.69 kB / 458.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.4674, allocations: 142.9 kB / 458.5 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.4675, allocations: 1.469 kB / 458.5 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.4675, allocations: 7.75 kB / 458.5 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4675, allocations: 2.938 kB / 458.5 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.4676, allocations: 44.91 kB / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.4679, allocations: 295.9 kB / 458.9 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.4682, allocations: 126.7 kB / 459 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4683, allocations: 55.42 kB / 459 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.4683, allocations: 3.375 kB / 459 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004155/0.4687, allocations: 207.2 kB / 459.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.485e-06/0.4687, allocations: 1.312 kB / 459.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005181/0.4693, allocations: 263.3 kB / 459.5 MB, free: 38.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.4693, allocations: 60.3 kB / 459.6 MB, free: 37.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.4695, allocations: 222.2 kB / 459.8 MB, free: 37.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.4695, allocations: 39.91 kB / 459.8 MB, free: 37.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.4696, allocations: 94.08 kB / 459.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.4696, allocations: 46.73 kB / 459.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.4698, allocations: 96.78 kB / 460 MB, free: 37.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.4699, allocations: 325.9 kB / 460.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.4701, allocations: 93.95 kB / 460.5 MB, free: 37.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.4703, allocations: 142 kB / 460.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.4705, allocations: 238.2 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4705, allocations: 0.6875 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005965/0.4711, allocations: 403.2 kB / 461.2 MB, free: 37.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.4712, allocations: 69.73 kB / 461.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4712, allocations: 1.188 kB / 461.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4712, allocations: 5.125 kB / 461.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.4714, allocations: 33.48 kB / 461.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4714, allocations: 5.156 kB / 461.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.4719, allocations: 63.47 kB / 461.4 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.472, allocations: 43.56 kB / 461.4 MB, free: 37.04 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001263/0.4721, allocations: 162.6 kB / 461.6 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.4722, allocations: 23.16 kB / 461.6 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.4722, allocations: 24.58 kB / 461.6 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4722, allocations: 8.031 kB / 461.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4722, allocations: 0 / 461.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4722, allocations: 0 / 461.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.4729, allocations: 0.5314 MB / 462.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4729, allocations: 7.812 kB / 462.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.4729, allocations: 10.41 kB / 462.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4729, allocations: 2.938 kB / 462.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.473, allocations: 14.45 kB / 462.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.473, allocations: 3.344 kB / 462.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.473, allocations: 0 / 462.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.4733, allocations: 311.7 kB / 462.5 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.4734, allocations: 140.6 kB / 462.7 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.4735, allocations: 12.44 kB / 462.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.4737, allocations: 15.73 kB / 462.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.4737, allocations: 13.34 kB / 462.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.4738, allocations: 30.83 kB / 462.7 MB, free: 36.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.986e-05/0.4739, allocations: 165.8 kB / 462.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4739, allocations: 0 / 462.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.4742, allocations: 41.78 kB / 462.9 MB, free: 36.13 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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 9.434e-05/0.4743, allocations: 115.5 kB / 463 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.4747, allocations: 339.2 kB / 463.4 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4747, allocations: 6.75 kB / 463.4 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.4748, allocations: 64.62 kB / 463.4 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.4751, allocations: 33.31 kB / 463.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.4757, allocations: 379.1 kB / 463.8 MB, free: 35.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.4758, allocations: 0.7233 MB / 464.6 MB, free: 34.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.4759, allocations: 36 kB / 464.6 MB, free: 34.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.476, allocations: 29.3 kB / 464.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.476, allocations: 0 / 464.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of Templates: time 0.005633/0.4817, allocations: 3.657 MB / 468.3 MB, free: 34.59 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe 2>&1)