Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008329/0.0008331, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007059/0.007059, allocations: 174.2 kB / 16.27 MB, free: 6.613 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.667/1.667, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4316/0.4316, allocations: 55.01 MB / 325.8 MB, free: 0.5 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.0006235/0.0006236, allocations: 16 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4414, allocations: 60.71 MB / 458 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001879/0.4433, allocations: 1.168 MB / 459.1 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000962/0.4443, allocations: 426.3 kB / 459.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.4444, allocations: 0.6875 kB / 459.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.4444, allocations: 4.688 kB / 459.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.4445, allocations: 19.67 kB / 459.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.4452, allocations: 224.3 kB / 459.8 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.4454, allocations: 259.3 kB / 460 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.4455, allocations: 11.67 kB / 460.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.4457, allocations: 192.7 kB / 460.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.4459, allocations: 108.2 kB / 460.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.446, allocations: 9.5 kB / 460.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.036e-05/0.446, allocations: 13.34 kB / 460.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.721e-05/0.4461, allocations: 58.53 kB / 460.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.4462, allocations: 122.6 kB / 460.6 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.4465, allocations: 232.9 kB / 460.8 MB, free: 38.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4465, allocations: 3 kB / 460.8 MB, free: 38.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4465, allocations: 0 / 460.8 MB, free: 38.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4465, allocations: 0 / 460.8 MB, free: 38.03 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.0008629/0.4474, allocations: 0.5603 MB / 461.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4474, allocations: 11.5 kB / 461.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.4475, allocations: 27.06 kB / 461.4 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.4477, allocations: 236.1 kB / 461.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.4478, allocations: 16.62 kB / 461.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.4478, allocations: 18 kB / 461.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.4481, allocations: 144.8 kB / 461.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4481, allocations: 0.9375 kB / 461.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.4482, allocations: 8.625 kB / 461.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4482, allocations: 3.875 kB / 461.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.4483, allocations: 40.83 kB / 461.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.4486, allocations: 295.7 kB / 462.1 MB, free: 37.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.4488, allocations: 125 kB / 462.3 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.4489, allocations: 61.36 kB / 462.3 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.449, allocations: 1.281 kB / 462.3 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/0.4493, allocations: 199.2 kB / 462.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/0.4493, allocations: 1.375 kB / 462.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.000504/0.4499, allocations: 265.7 kB / 462.8 MB, free: 36.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.4499, allocations: 63.97 kB / 462.8 MB, free: 36.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4501, allocations: 228.8 kB / 463.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.4501, allocations: 38.3 kB / 463.1 MB, free: 36.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.4502, allocations: 92.86 kB / 463.2 MB, free: 36.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.4502, allocations: 48.52 kB / 463.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.4503, allocations: 33.58 kB / 463.3 MB, free: 36.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.4504, allocations: 323.9 kB / 463.6 MB, free: 36.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.4506, allocations: 91.19 kB / 463.7 MB, free: 36.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.4508, allocations: 140 kB / 463.8 MB, free: 36.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.451, allocations: 244.5 kB / 464 MB, free: 36.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.451, allocations: 0 / 464 MB, free: 36.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005586/0.4516, allocations: 398.6 kB / 464.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.4517, allocations: 71.66 kB / 464.5 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4517, allocations: 3.656 kB / 464.5 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4517, allocations: 0 / 464.5 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.4519, allocations: 35.8 kB / 464.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4519, allocations: 1.719 kB / 464.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.4524, allocations: 76.19 kB / 464.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.4524, allocations: 46.78 kB / 464.7 MB, free: 35.88 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.000147/0.4526, allocations: 162.2 kB / 464.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.4526, allocations: 20.38 kB / 464.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.4527, allocations: 25.44 kB / 464.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4527, allocations: 6.719 kB / 464.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4527, allocations: 0 / 464.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4527, allocations: 0 / 464.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006378/0.4534, allocations: 0.5327 MB / 465.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4534, allocations: 3.938 kB / 465.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.4534, allocations: 10.56 kB / 465.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4534, allocations: 2.844 kB / 465.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.4535, allocations: 7.266 kB / 465.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4535, allocations: 2.875 kB / 465.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4535, allocations: 7.078 kB / 465.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.4539, allocations: 309.1 kB / 465.7 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.454, allocations: 149.5 kB / 465.9 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.4541, allocations: 6.781 kB / 465.9 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.4543, allocations: 18.28 kB / 465.9 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.4543, allocations: 10.92 kB / 465.9 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.4544, allocations: 28.39 kB / 465.9 MB, free: 35.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.4545, allocations: 166.1 kB / 466.1 MB, free: 35.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4545, allocations: 0 / 466.1 MB, free: 35.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.4548, allocations: 45.17 kB / 466.2 MB, free: 35.1 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.0001191/0.4549, allocations: 120 kB / 466.3 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005068/0.4554, allocations: 334.1 kB / 466.6 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4555, allocations: 0 / 466.6 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.4556, allocations: 76.92 kB / 466.7 MB, free: 34.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.4559, allocations: 23.95 kB / 466.7 MB, free: 34.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.4566, allocations: 377.3 kB / 467.1 MB, free: 34.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.4568, allocations: 0.7222 MB / 467.8 MB, free: 33.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.814e-05/0.4569, allocations: 31.81 kB / 467.8 MB, free: 33.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.379e-05/0.457, allocations: 37.91 kB / 467.9 MB, free: 33.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.457, allocations: 0 / 467.9 MB, free: 33.91 MB / 382.1 MB Notification: Performance of Templates: time 0.006226/0.4632, allocations: 3.603 MB / 471.5 MB, free: 33.63 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: