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.001103/0.001102, allocations: 90.44 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.006485/0.006485, allocations: 172.7 kB / 16.26 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.702/1.702, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.447/0.447, allocations: 55.01 MB / 325.8 MB, free: 0.5898 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.0006147/0.000615, allocations: 12 kB / 397.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4325, allocations: 60.71 MB / 458 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001432/0.434, allocations: 1.175 MB / 459.1 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000909/0.4349, allocations: 423.9 kB / 459.6 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.435, allocations: 1.094 kB / 459.6 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.435, allocations: 0 / 459.6 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.4352, allocations: 20.33 kB / 459.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006249/0.4358, allocations: 221.3 kB / 459.8 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.436, allocations: 268.7 kB / 460.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.4361, allocations: 6.766 kB / 460.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.4364, allocations: 193.6 kB / 460.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.4365, allocations: 110.9 kB / 460.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.4366, allocations: 8.938 kB / 460.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.808e-05/0.4366, allocations: 9.656 kB / 460.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.4368, allocations: 56.69 kB / 460.4 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.4369, allocations: 122.2 kB / 460.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.4371, allocations: 230.1 kB / 460.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4371, allocations: 3.531 kB / 460.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4371, allocations: 0 / 460.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.4371, allocations: 0.9375 kB / 460.8 MB, free: 38.22 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.0008678/0.438, allocations: 0.5641 MB / 461.3 MB, free: 37.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.438, allocations: 13.03 kB / 461.4 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.083e-05/0.4381, allocations: 26.95 kB / 461.4 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.4384, allocations: 236.2 kB / 461.6 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.4384, allocations: 14.81 kB / 461.6 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.4385, allocations: 21.41 kB / 461.6 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.4388, allocations: 136.5 kB / 461.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4388, allocations: 7.594 kB / 461.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.4388, allocations: 3.938 kB / 461.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.4388, allocations: 4.031 kB / 461.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.439, allocations: 48.83 kB / 461.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.4393, allocations: 291.8 kB / 462.1 MB, free: 37.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.4395, allocations: 124.3 kB / 462.2 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4396, allocations: 55.73 kB / 462.3 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4397, allocations: 9.781 kB / 462.3 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.4401, allocations: 203.7 kB / 462.5 MB, free: 37.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.4401, allocations: 0 / 462.5 MB, free: 37.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005078/0.4406, allocations: 264.5 kB / 462.8 MB, free: 37.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.4406, allocations: 60.56 kB / 462.8 MB, free: 37.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.4408, allocations: 227.8 kB / 463.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.4409, allocations: 41.14 kB / 463.1 MB, free: 36.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.4409, allocations: 88.55 kB / 463.2 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.441, allocations: 47.02 kB / 463.2 MB, free: 36.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.441, allocations: 34.25 kB / 463.3 MB, free: 36.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.4411, allocations: 324.2 kB / 463.6 MB, free: 36.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.4413, allocations: 89.22 kB / 463.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.4415, allocations: 146.5 kB / 463.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.4418, allocations: 244 kB / 464 MB, free: 36.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4418, allocations: 0 / 464 MB, free: 36.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006177/0.4424, allocations: 396.9 kB / 464.4 MB, free: 36.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.4425, allocations: 78.2 kB / 464.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4425, allocations: 0.9375 kB / 464.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4426, allocations: 3.438 kB / 464.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.4427, allocations: 34.34 kB / 464.5 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4427, allocations: 2.969 kB / 464.5 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.4432, allocations: 71.98 kB / 464.6 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/0.4433, allocations: 44.06 kB / 464.7 MB, free: 36.07 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.0001494/0.4435, allocations: 160.8 kB / 464.8 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.4435, allocations: 19.38 kB / 464.8 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.4436, allocations: 25.44 kB / 464.9 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4436, allocations: 6.531 kB / 464.9 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4436, allocations: 0 / 464.9 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4436, allocations: 7.375 kB / 464.9 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.4443, allocations: 0.5284 MB / 465.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.4443, allocations: 8.188 kB / 465.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.4444, allocations: 7.281 kB / 465.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4444, allocations: 3.031 kB / 465.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.4444, allocations: 15.2 kB / 465.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4444, allocations: 3 kB / 465.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4444, allocations: 0 / 465.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.4448, allocations: 316.2 kB / 465.7 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-05/0.4449, allocations: 140.5 kB / 465.9 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.4449, allocations: 12.12 kB / 465.9 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.4451, allocations: 13.2 kB / 465.9 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.4452, allocations: 17.3 kB / 465.9 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.4452, allocations: 26.03 kB / 466 MB, free: 35.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.906e-05/0.4453, allocations: 165.9 kB / 466.1 MB, free: 35.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4453, allocations: 0 / 466.1 MB, free: 35.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000286/0.4456, allocations: 44.69 kB / 466.2 MB, free: 35.28 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.0001185/0.4457, allocations: 115.5 kB / 466.3 MB, free: 35.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.4462, allocations: 344.5 kB / 466.6 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4462, allocations: 0 / 466.6 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.4463, allocations: 66.52 kB / 466.7 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.4467, allocations: 30.69 kB / 466.7 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.4473, allocations: 375.3 kB / 467.1 MB, free: 34.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.4475, allocations: 0.7244 MB / 467.8 MB, free: 34.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.4476, allocations: 32.8 kB / 467.8 MB, free: 34.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.4477, allocations: 32.62 kB / 467.9 MB, free: 34.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.484e-06/0.4477, allocations: 0 / 467.9 MB, free: 34.1 MB / 382.1 MB Notification: Performance of Templates: time 0.006809/0.4545, allocations: 3.607 MB / 471.5 MB, free: 33.82 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: