Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001272/0.001277, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001227/0.001227, allocations: 187.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7751/0.7751, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 76.2 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1246, allocations: 80.21 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.00221/0.1268, allocations: 1.465 MB / 0.6617 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.1277, allocations: 431.3 kB / 0.6622 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.1277, allocations: 3.938 kB / 0.6622 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.585e-05/0.1278, allocations: 7.875 kB / 0.6622 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.127e-05/0.1279, allocations: 28.22 kB / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.1285, allocations: 238.6 kB / 0.6624 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.1288, allocations: 315.5 kB / 0.6627 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.1289, allocations: 11.98 kB / 0.6627 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.1291, allocations: 195.6 kB / 0.6629 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1293, allocations: 108.1 kB / 0.663 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.979e-05/0.1294, allocations: 16 kB / 0.663 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.1295, allocations: 24 kB / 0.6631 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1296, allocations: 79.72 kB / 0.6631 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1297, allocations: 123.4 kB / 0.6633 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.13, allocations: 275.2 kB / 0.6635 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.13, allocations: 0 / 0.6635 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.13, allocations: 0 / 0.6635 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.13, allocations: 0 / 0.6635 GB, free: 7.016 MB / 0.4981 GB 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.001093/0.1311, allocations: 0.7038 MB / 0.6642 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1311, allocations: 12.03 kB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/0.1312, allocations: 32.66 kB / 0.6642 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1315, allocations: 267.4 kB / 0.6645 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.1316, allocations: 8.375 kB / 0.6645 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.1316, allocations: 23.92 kB / 0.6645 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.1319, allocations: 145.5 kB / 0.6647 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1319, allocations: 0 / 0.6647 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.132, allocations: 0 / 0.6647 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.132, allocations: 4 kB / 0.6647 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1321, allocations: 43.97 kB / 0.6647 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.1324, allocations: 317.4 kB / 0.665 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.1327, allocations: 134.6 kB / 0.6651 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.1328, allocations: 60.83 kB / 0.6652 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1328, allocations: 3.984 kB / 0.6652 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.1332, allocations: 225 kB / 0.6654 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1332, allocations: 0 / 0.6654 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005421/0.1338, allocations: 267.4 kB / 0.6657 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1338, allocations: 63.39 kB / 0.6657 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1341, allocations: 290.9 kB / 0.666 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.1341, allocations: 37.7 kB / 0.666 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.1342, allocations: 93.12 kB / 0.6661 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.1343, allocations: 39.59 kB / 0.6662 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.1344, allocations: 109.6 kB / 0.6663 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.1345, allocations: 322.8 kB / 0.6666 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.1347, allocations: 96.17 kB / 0.6667 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.135, allocations: 154.3 kB / 0.6668 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.1353, allocations: 244.2 kB / 0.6671 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1353, allocations: 0 / 0.6671 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006491/0.136, allocations: 408.6 kB / 0.6675 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.1361, allocations: 83.31 kB / 0.6675 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1361, allocations: 4 kB / 0.6675 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1361, allocations: 4 kB / 0.6675 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1363, allocations: 28.11 kB / 0.6676 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1363, allocations: 4 kB / 0.6676 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.1368, allocations: 63.78 kB / 0.6676 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.1369, allocations: 51.98 kB / 0.6677 GB, free: 2.414 MB / 0.4981 GB 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.0001738/0.1371, allocations: 172 kB / 0.6678 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.1371, allocations: 27.66 kB / 0.6679 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.1372, allocations: 30.25 kB / 0.6679 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.1372, allocations: 3.984 kB / 0.6679 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1372, allocations: 0 / 0.6679 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.1374, allocations: 156.7 kB / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.1374, allocations: 8 kB / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.1376, allocations: 15.98 kB / 0.6681 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.1377, allocations: 11.98 kB / 0.6681 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004612/0.1382, allocations: 292.8 kB / 0.6684 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004375/0.1386, allocations: 400.1 kB / 0.6687 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001239/0.1387, allocations: 67.88 kB / 0.6688 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000176/0.1389, allocations: 209.9 kB / 0.669 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of Backend: time 4.71e-07/0.1389, allocations: 0 / 0.669 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007401/0.1397, allocations: 374.9 kB / 0.6694 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0007726/0.1405, allocations: 0.8114 MB / 0.6702 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.007473/0.1479, allocations: 4.333 MB / 0.6744 GB, free: 11.44 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)