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.001041/0.001041, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001188/0.001188, allocations: 177.3 kB / 15.95 MB, free: 216 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.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4142/0.4142, allocations: 54.98 MB / 325.4 MB, free: 0.6953 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.0005326/0.0005328, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3122, allocations: 60.73 MB / 457.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.001585/0.3138, allocations: 1.14 MB / 458.4 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007983/0.3147, allocations: 379.3 kB / 458.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.3148, allocations: 0 / 458.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.3148, allocations: 6.734 kB / 458.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3149, allocations: 17.41 kB / 458.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.3157, allocations: 205 kB / 459 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.3159, allocations: 146.6 kB / 459.2 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.316, allocations: 7 kB / 459.2 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.3162, allocations: 160.2 kB / 459.3 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.3165, allocations: 106.2 kB / 459.4 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.3165, allocations: 8.344 kB / 459.5 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.3166, allocations: 12.56 kB / 459.5 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.3167, allocations: 58.81 kB / 459.5 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/0.3167, allocations: 58.69 kB / 459.6 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.3169, allocations: 161.7 kB / 459.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.3169, allocations: 0 / 459.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.317, allocations: 0 / 459.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.317, allocations: 0 / 459.7 MB, free: 38.57 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.000989/0.318, allocations: 0.5725 MB / 460.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.318, allocations: 9.469 kB / 460.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.3181, allocations: 25.53 kB / 460.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3185, allocations: 236.6 kB / 460.6 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.3185, allocations: 15.73 kB / 460.6 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.3186, allocations: 16.06 kB / 460.6 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.3189, allocations: 135.7 kB / 460.7 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3189, allocations: 0.625 kB / 460.7 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.3189, allocations: 10.84 kB / 460.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.319, allocations: 0.9062 kB / 460.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3191, allocations: 46.58 kB / 460.8 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.3195, allocations: 290 kB / 461.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.3198, allocations: 132.6 kB / 461.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.3198, allocations: 4.344 kB / 461.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.3203, allocations: 206.7 kB / 461.4 MB, free: 37.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 3.857e-06/0.3203, allocations: 4.078 kB / 461.4 MB, free: 37.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005974/0.3209, allocations: 251.4 kB / 461.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.3209, allocations: 68.23 kB / 461.7 MB, free: 37.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.3212, allocations: 227.2 kB / 462 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.3213, allocations: 38.39 kB / 462 MB, free: 37.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.3213, allocations: 94.17 kB / 462.1 MB, free: 37.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.3214, allocations: 50.11 kB / 462.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.3215, allocations: 8.172 kB / 462.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.3216, allocations: 320.1 kB / 462.5 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.3218, allocations: 91.25 kB / 462.5 MB, free: 36.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.322, allocations: 140.9 kB / 462.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.3223, allocations: 147.3 kB / 462.8 MB, free: 36.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3223, allocations: 2.812 kB / 462.8 MB, free: 36.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006755/0.323, allocations: 397 kB / 463.2 MB, free: 36.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.3231, allocations: 77.19 kB / 463.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3231, allocations: 2.562 kB / 463.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.3231, allocations: 3.062 kB / 463.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.3233, allocations: 30.5 kB / 463.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3234, allocations: 3.359 kB / 463.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.3239, allocations: 79.36 kB / 463.4 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.324, allocations: 44.72 kB / 463.5 MB, free: 36.52 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.000224/0.3242, allocations: 154.9 kB / 463.6 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.3243, allocations: 21.97 kB / 463.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.3244, allocations: 24.84 kB / 463.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3244, allocations: 3 kB / 463.7 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3244, allocations: 0 / 463.7 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3244, allocations: 3.422 kB / 463.7 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.3252, allocations: 0.5433 MB / 464.2 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3252, allocations: 0 / 464.2 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.3252, allocations: 5.844 kB / 464.2 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3252, allocations: 0 / 464.2 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.3253, allocations: 18.5 kB / 464.2 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3253, allocations: 2.906 kB / 464.2 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3253, allocations: 5.078 kB / 464.2 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.3257, allocations: 305.5 kB / 464.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.3258, allocations: 133.5 kB / 464.7 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.3259, allocations: 12.84 kB / 464.7 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.3261, allocations: 15.12 kB / 464.7 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.3262, allocations: 22 kB / 464.7 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.3262, allocations: 26.11 kB / 464.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.3263, allocations: 162.8 kB / 464.9 MB, free: 35.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3264, allocations: 1.219 kB / 464.9 MB, free: 35.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.3267, allocations: 44.94 kB / 464.9 MB, free: 35.74 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.0001626/0.3269, allocations: 116.2 kB / 465 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.3275, allocations: 344.7 kB / 465.4 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3275, allocations: 0 / 465.4 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3276, allocations: 68.02 kB / 465.5 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3279, allocations: 24.56 kB / 465.5 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.3286, allocations: 356.8 kB / 465.8 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.3288, allocations: 0.7327 MB / 466.6 MB, free: 34.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.3289, allocations: 30.44 kB / 466.6 MB, free: 34.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.329, allocations: 33.14 kB / 466.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.329, allocations: 0 / 466.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of Templates: time 0.006387/0.3354, allocations: 3.521 MB / 470.1 MB, free: 34.3 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: