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.008885/0.008885, allocations: 96.84 kB / 15.73 MB, free: 6.055 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.001868/0.001869, allocations: 192.8 kB / 16.67 MB, free: 5.965 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.74/1.74, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3941/0.3941, allocations: 54.95 MB / 324.9 MB, free: 52 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.001583/0.001584, allocations: 64.91 kB / 456.3 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1253, allocations: 59.58 MB / 0.5037 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002645/0.128, allocations: 1.449 MB / 0.5052 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009731/0.129, allocations: 409.2 kB / 0.5056 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.129, allocations: 0 / 0.5056 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.264e-05/0.1291, allocations: 7.922 kB / 0.5056 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.1293, allocations: 21.45 kB / 0.5056 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000748/0.13, allocations: 239.9 kB / 0.5058 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.1303, allocations: 304.8 kB / 0.5061 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.1304, allocations: 9.734 kB / 0.5061 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.1306, allocations: 187.8 kB / 0.5063 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1308, allocations: 102.2 kB / 0.5064 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.1309, allocations: 17.88 kB / 0.5064 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.293e-05/0.1309, allocations: 16.5 kB / 0.5064 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.711e-05/0.131, allocations: 64.42 kB / 0.5065 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1312, allocations: 103 kB / 0.5066 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1314, allocations: 227.5 kB / 0.5068 GB, free: 7.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1314, allocations: 5.562 kB / 0.5068 GB, free: 7.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1314, allocations: 0 / 0.5068 GB, free: 7.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1314, allocations: 0 / 0.5068 GB, free: 7.535 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.000997/0.1324, allocations: 0.633 MB / 0.5074 GB, free: 6.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1325, allocations: 17.67 kB / 0.5074 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.335e-05/0.1326, allocations: 24.22 kB / 0.5075 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1329, allocations: 236.6 kB / 0.5077 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.1329, allocations: 15.67 kB / 0.5077 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.133, allocations: 25.61 kB / 0.5077 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.1333, allocations: 135.2 kB / 0.5079 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1333, allocations: 4.125 kB / 0.5079 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.1333, allocations: 11.92 kB / 0.5079 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1333, allocations: 2.219 kB / 0.5079 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1335, allocations: 44.41 kB / 0.5079 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.1338, allocations: 281.3 kB / 0.5082 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.1341, allocations: 134.8 kB / 0.5083 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1342, allocations: 52.84 kB / 0.5084 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1342, allocations: 0 / 0.5084 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.1346, allocations: 211.1 kB / 0.5086 GB, free: 5.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.1346, allocations: 0 / 0.5086 GB, free: 5.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005115/0.1351, allocations: 263.5 kB / 0.5088 GB, free: 5.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.1352, allocations: 59.41 kB / 0.5089 GB, free: 5.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1353, allocations: 232 kB / 0.5091 GB, free: 5.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.1354, allocations: 37.7 kB / 0.5091 GB, free: 5.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1354, allocations: 93.12 kB / 0.5092 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.1355, allocations: 51.38 kB / 0.5093 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1356, allocations: 89.81 kB / 0.5093 GB, free: 4.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.1356, allocations: 318.8 kB / 0.5097 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.1358, allocations: 96.16 kB / 0.5097 GB, free: 4.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.136, allocations: 138.4 kB / 0.5099 GB, free: 4.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1363, allocations: 249.1 kB / 0.5101 GB, free: 4.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1363, allocations: 4 kB / 0.5101 GB, free: 4.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000519/0.1368, allocations: 392.6 kB / 0.5105 GB, free: 3.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.1369, allocations: 75.39 kB / 0.5106 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1369, allocations: 0 / 0.5106 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1369, allocations: 7.984 kB / 0.5106 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.1371, allocations: 28.05 kB / 0.5106 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1371, allocations: 8 kB / 0.5106 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.1376, allocations: 59.8 kB / 0.5107 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.1376, allocations: 39.98 kB / 0.5107 GB, free: 3.477 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.0001679/0.1378, allocations: 156 kB / 0.5109 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.1379, allocations: 23.81 kB / 0.5109 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.1379, allocations: 25.86 kB / 0.5109 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1379, allocations: 7.938 kB / 0.5109 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.138, allocations: 0 / 0.5109 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.138, allocations: 7.875 kB / 0.5109 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.1387, allocations: 0.535 MB / 0.5114 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1387, allocations: 3.938 kB / 0.5114 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.1388, allocations: 7.984 kB / 0.5114 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1388, allocations: 4 kB / 0.5115 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.1388, allocations: 11.98 kB / 0.5115 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1388, allocations: 4 kB / 0.5115 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1389, allocations: 0 / 0.5115 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.1392, allocations: 311.1 kB / 0.5118 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1394, allocations: 140.6 kB / 0.5119 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.1394, allocations: 15.98 kB / 0.5119 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1397, allocations: 11.98 kB / 0.5119 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1397, allocations: 15.98 kB / 0.5119 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.1398, allocations: 27.98 kB / 0.512 GB, free: 2.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1399, allocations: 165.6 kB / 0.5121 GB, free: 1.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1399, allocations: 0 / 0.5121 GB, free: 1.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.1402, allocations: 44 kB / 0.5122 GB, free: 1.879 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.0001485/0.1404, allocations: 115.2 kB / 0.5123 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005039/0.1409, allocations: 333.1 kB / 0.5126 GB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1409, allocations: 4.062 kB / 0.5126 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.141, allocations: 75.81 kB / 0.5127 GB, free: 1.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1414, allocations: 26.66 kB / 0.5127 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.1419, allocations: 307.4 kB / 0.513 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.142, allocations: 0.7279 MB / 0.5137 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.376e-05/0.1421, allocations: 33.06 kB / 0.5137 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.1422, allocations: 35.42 kB / 0.5138 GB, free: 172 kB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1422, allocations: 0 / 0.5138 GB, free: 172 kB / 382.1 MB Notification: Performance of Templates: time 0.0071/0.1493, allocations: 3.683 MB / 0.5174 GB, free: 12.5 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (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)