Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001897/0.001897, allocations: 189 kB / 16.13 MB, free: 6.652 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.623/1.623, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4362/0.4362, allocations: 54.93 MB / 324.3 MB, free: 172 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.001641/0.001641, allocations: 67.89 kB / 394.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1476, allocations: 59.58 MB / 454.2 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.2379/0.3855, allocations: 1.502 MB / 455.7 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3866, allocations: 428.6 kB / 456.2 MB, free: 39.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.3867, allocations: 0 / 456.2 MB, free: 39.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.68e-05/0.3868, allocations: 10.45 kB / 456.2 MB, free: 39.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.3869, allocations: 16.23 kB / 456.2 MB, free: 39.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.3875, allocations: 218 kB / 456.4 MB, free: 39.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.3877, allocations: 264.3 kB / 456.7 MB, free: 39.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.3878, allocations: 12.56 kB / 456.7 MB, free: 39.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.388, allocations: 197.1 kB / 456.9 MB, free: 39.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3881, allocations: 105.2 kB / 457 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.3882, allocations: 10.62 kB / 457 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.3883, allocations: 8.031 kB / 457 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.3884, allocations: 55.41 kB / 457 MB, free: 39.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3885, allocations: 103.8 kB / 457.1 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.3888, allocations: 231.4 kB / 457.4 MB, free: 39.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3888, allocations: 0.7188 kB / 457.4 MB, free: 39.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3889, allocations: 0.8438 kB / 457.4 MB, free: 39.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3889, allocations: 0.5 kB / 457.4 MB, free: 39.29 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.001091/0.39, allocations: 0.6319 MB / 458 MB, free: 38.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.39, allocations: 8.688 kB / 458 MB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.062e-05/0.3901, allocations: 30.5 kB / 458 MB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3904, allocations: 243.3 kB / 458.3 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.3904, allocations: 9.812 kB / 458.3 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.3905, allocations: 20.59 kB / 458.3 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.3908, allocations: 141.6 kB / 458.4 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3908, allocations: 2.812 kB / 458.4 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3908, allocations: 14.52 kB / 458.5 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3908, allocations: 0 / 458.5 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3909, allocations: 45.94 kB / 458.5 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.3912, allocations: 290.9 kB / 458.8 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.3914, allocations: 127.7 kB / 458.9 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3916, allocations: 56.95 kB / 459 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3916, allocations: 5.094 kB / 459 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.392, allocations: 200.4 kB / 459.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.392, allocations: 2.156 kB / 459.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005213/0.3925, allocations: 269.2 kB / 459.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.3926, allocations: 61.92 kB / 459.5 MB, free: 38.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3927, allocations: 222.4 kB / 459.7 MB, free: 38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.3928, allocations: 44.83 kB / 459.7 MB, free: 37.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.3928, allocations: 86.42 kB / 459.8 MB, free: 37.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.3929, allocations: 45.58 kB / 459.9 MB, free: 37.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.3931, allocations: 98.02 kB / 460 MB, free: 37.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.3931, allocations: 320.3 kB / 460.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.3933, allocations: 91.78 kB / 460.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3936, allocations: 147.5 kB / 460.5 MB, free: 37.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.3938, allocations: 233.1 kB / 460.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3938, allocations: 3.062 kB / 460.8 MB, free: 37.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005863/0.3944, allocations: 404.2 kB / 461.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.3945, allocations: 76.55 kB / 461.2 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3945, allocations: 4.844 kB / 461.2 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3945, allocations: 5.922 kB / 461.2 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.3947, allocations: 32.69 kB / 461.3 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3947, allocations: 3.969 kB / 461.3 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.3952, allocations: 60.22 kB / 461.3 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.3953, allocations: 44.52 kB / 461.4 MB, free: 37.17 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.0001264/0.3954, allocations: 158.6 kB / 461.5 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.3954, allocations: 29.06 kB / 461.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.3955, allocations: 21.11 kB / 461.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3955, allocations: 7.906 kB / 461.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3955, allocations: 0 / 461.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3955, allocations: 0 / 461.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.3961, allocations: 0.5339 MB / 462.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3961, allocations: 3.938 kB / 462.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.3962, allocations: 11.09 kB / 462.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3962, allocations: 0 / 462.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.3962, allocations: 17.02 kB / 462.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3962, allocations: 0 / 462.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3962, allocations: 2.875 kB / 462.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.3966, allocations: 309 kB / 462.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3967, allocations: 146.6 kB / 462.6 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.3967, allocations: 10.66 kB / 462.6 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.397, allocations: 12.94 kB / 462.6 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.397, allocations: 17.5 kB / 462.6 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.3971, allocations: 26.58 kB / 462.7 MB, free: 36.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.3971, allocations: 161.7 kB / 462.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3972, allocations: 3.5 kB / 462.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.3974, allocations: 45.62 kB / 462.9 MB, free: 36.26 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 9.288e-05/0.3975, allocations: 109 kB / 463 MB, free: 36.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000443/0.398, allocations: 344.2 kB / 463.3 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.398, allocations: 0 / 463.3 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3981, allocations: 69.19 kB / 463.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.3984, allocations: 23.81 kB / 463.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.399, allocations: 376.2 kB / 463.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.3991, allocations: 0.7289 MB / 464.5 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.3992, allocations: 31.02 kB / 464.5 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.3993, allocations: 32.94 kB / 464.6 MB, free: 34.97 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3993, allocations: 0 / 464.6 MB, free: 34.97 MB / 382.1 MB Notification: Performance of Templates: time 0.005629/0.405, allocations: 3.638 MB / 468.2 MB, free: 34.7 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)