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.001629/0.001628, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.624/1.624, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4105/0.4105, allocations: 54.94 MB / 324.7 MB, free: 15.93 MB / 270.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.001646/0.001646, allocations: 67.91 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1556, allocations: 59.59 MB / 454.9 MB, free: 172 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonths): time 0.2672/0.4228, allocations: 1.436 MB / 456.4 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.4238, allocations: 411.3 kB / 456.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.4239, allocations: 0 / 456.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.81e-05/0.4239, allocations: 7.031 kB / 456.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.4241, allocations: 20.94 kB / 456.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.4248, allocations: 232.2 kB / 457 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.425, allocations: 302 kB / 457.3 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.4251, allocations: 6.984 kB / 457.3 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.4253, allocations: 192.8 kB / 457.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.4255, allocations: 96.31 kB / 457.6 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.4256, allocations: 18.56 kB / 457.6 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.947e-05/0.4256, allocations: 17.88 kB / 457.6 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.4257, allocations: 62.58 kB / 457.7 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.4259, allocations: 94.78 kB / 457.8 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.4261, allocations: 243.5 kB / 458 MB, free: 38.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4261, allocations: 1.375 kB / 458 MB, free: 38.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4261, allocations: 0 / 458 MB, free: 38.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4261, allocations: 0 / 458 MB, free: 38.65 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.001028/0.4272, allocations: 0.6389 MB / 458.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4272, allocations: 9.875 kB / 458.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.4273, allocations: 28.75 kB / 458.7 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.4276, allocations: 240.8 kB / 458.9 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.4276, allocations: 6.938 kB / 458.9 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.4276, allocations: 23.84 kB / 459 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.4279, allocations: 140.1 kB / 459.1 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4279, allocations: 8.219 kB / 459.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.428, allocations: 7.359 kB / 459.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.428, allocations: 0 / 459.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.4281, allocations: 45.03 kB / 459.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.4284, allocations: 292 kB / 459.4 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.4287, allocations: 127.2 kB / 459.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4288, allocations: 56.83 kB / 459.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.4288, allocations: 1.078 kB / 459.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.4292, allocations: 204.5 kB / 459.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.4293, allocations: 0.9062 kB / 459.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.000519/0.4298, allocations: 268.6 kB / 460.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.4298, allocations: 66.38 kB / 460.1 MB, free: 37.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.43, allocations: 222.2 kB / 460.4 MB, free: 37.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.43, allocations: 39.45 kB / 460.4 MB, free: 37.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.4301, allocations: 89.61 kB / 460.5 MB, free: 37.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.4301, allocations: 43.27 kB / 460.5 MB, free: 37.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.4303, allocations: 99.17 kB / 460.6 MB, free: 37.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.669e-05/0.4304, allocations: 322.5 kB / 460.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.4306, allocations: 88.19 kB / 461 MB, free: 36.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.4308, allocations: 145.2 kB / 461.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.431, allocations: 241.9 kB / 461.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.431, allocations: 1.281 kB / 461.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005521/0.4316, allocations: 403.4 kB / 461.8 MB, free: 36.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.4317, allocations: 76.8 kB / 461.9 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.4317, allocations: 0 / 461.9 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4317, allocations: 3.938 kB / 461.9 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4319, allocations: 31.08 kB / 461.9 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.4319, allocations: 6.188 kB / 461.9 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.4324, allocations: 65.36 kB / 462 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.4324, allocations: 38.77 kB / 462 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 (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.0001322/0.4326, allocations: 162.9 kB / 462.2 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.4326, allocations: 22.25 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.4327, allocations: 22.84 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4327, allocations: 4.875 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4327, allocations: 2.656 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4327, allocations: 6.25 kB / 462.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.4333, allocations: 0.5264 MB / 462.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4333, allocations: 6.875 kB / 462.8 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.4334, allocations: 12.41 kB / 462.8 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4334, allocations: 1.5 kB / 462.8 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.4334, allocations: 13.23 kB / 462.8 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4334, allocations: 6.406 kB / 462.8 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4334, allocations: 0 / 462.8 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.4338, allocations: 307.7 kB / 463.1 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.4339, allocations: 148.2 kB / 463.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.4339, allocations: 7.562 kB / 463.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.4341, allocations: 15.81 kB / 463.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.4342, allocations: 16.47 kB / 463.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.4343, allocations: 29.23 kB / 463.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.4344, allocations: 164 kB / 463.5 MB, free: 35.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4344, allocations: 0 / 463.5 MB, free: 35.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.4347, allocations: 46.06 kB / 463.5 MB, free: 35.67 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.0001055/0.4348, allocations: 113 kB / 463.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.4353, allocations: 346.1 kB / 464 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4353, allocations: 11 kB / 464 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.4354, allocations: 66.42 kB / 464 MB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4357, allocations: 25.62 kB / 464.1 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.4362, allocations: 321.8 kB / 464.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.4364, allocations: 0.7291 MB / 465.1 MB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.688e-05/0.4365, allocations: 34.61 kB / 465.1 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.4366, allocations: 29.39 kB / 465.2 MB, free: 34.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4366, allocations: 0 / 465.2 MB, free: 34.44 MB / 382.1 MB Notification: Performance of Templates: time 0.005855/0.4425, allocations: 3.707 MB / 468.9 MB, free: 34.16 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.makefile (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)