Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 182.4 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7512/0.7512, allocations: 133.4 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 222.9 MB / 404.7 MB, free: 6.117 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 103.6 kB / 485.9 MB, free: 7.266 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 51.92 kB / 0.5636 GB, free: 69.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1289, allocations: 80.42 MB / 0.6421 GB, free: 5.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002489/0.1314, allocations: 1.544 MB / 0.6436 GB, free: 3.938 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008734/0.1323, allocations: 448.6 kB / 0.6441 GB, free: 3.496 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.1324, allocations: 4 kB / 0.6441 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.937e-05/0.1325, allocations: 3.938 kB / 0.6441 GB, free: 3.488 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.729e-05/0.1326, allocations: 20.3 kB / 0.6441 GB, free: 3.469 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.1332, allocations: 229.8 kB / 0.6443 GB, free: 3.246 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.1334, allocations: 283.9 kB / 0.6446 GB, free: 2.969 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.1335, allocations: 4 kB / 0.6446 GB, free: 2.965 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.1338, allocations: 222.3 kB / 0.6448 GB, free: 2.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.134, allocations: 119.7 kB / 0.6449 GB, free: 2.633 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.35e-05/0.134, allocations: 11.94 kB / 0.6449 GB, free: 2.621 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.882e-05/0.1341, allocations: 8 kB / 0.6449 GB, free: 2.613 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1342, allocations: 75.78 kB / 0.645 GB, free: 2.539 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.1344, allocations: 119.4 kB / 0.6451 GB, free: 2.422 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.1347, allocations: 279.3 kB / 0.6454 GB, free: 2.148 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1347, allocations: 3.938 kB / 0.6454 GB, free: 2.145 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1347, allocations: 3.984 kB / 0.6454 GB, free: 2.141 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1347, allocations: 4 kB / 0.6454 GB, free: 2.137 MB / 442.7 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.001096/0.1358, allocations: 0.6997 MB / 0.6461 GB, free: 1.363 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1358, allocations: 8.031 kB / 0.6461 GB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.1359, allocations: 31.7 kB / 0.6461 GB, free: 1.324 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.1363, allocations: 254.3 kB / 0.6464 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.1363, allocations: 15.98 kB / 0.6464 GB, free: 1.023 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.1364, allocations: 20 kB / 0.6464 GB, free: 1.004 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.1367, allocations: 142.3 kB / 0.6465 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1367, allocations: 7.938 kB / 0.6465 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1367, allocations: 4 kB / 0.6465 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1367, allocations: 7.922 kB / 0.6465 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1369, allocations: 47.98 kB / 0.6466 GB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.1372, allocations: 313.3 kB / 0.6469 GB, free: 448 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1375, allocations: 126.8 kB / 0.647 GB, free: 312 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.1376, allocations: 70.39 kB / 0.6471 GB, free: 240 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1376, allocations: 3.984 kB / 0.6471 GB, free: 236 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000432/0.1381, allocations: 225.2 kB / 0.6473 GB, free: 0 / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.1381, allocations: 0 / 0.6473 GB, free: 0 / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005681/0.1386, allocations: 274.1 kB / 0.6476 GB, free: 15.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1387, allocations: 59.41 kB / 0.6476 GB, free: 15.65 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.139, allocations: 291 kB / 0.6479 GB, free: 15.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.139, allocations: 37.7 kB / 0.6479 GB, free: 15.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.1391, allocations: 89.14 kB / 0.648 GB, free: 15.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.1391, allocations: 47.36 kB / 0.6481 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.1393, allocations: 105.7 kB / 0.6482 GB, free: 15.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1394, allocations: 326.8 kB / 0.6485 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.1396, allocations: 92.17 kB / 0.6486 GB, free: 14.65 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.1399, allocations: 147.8 kB / 0.6487 GB, free: 14.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.1402, allocations: 248.2 kB / 0.6489 GB, free: 14.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1402, allocations: 0 / 0.6489 GB, free: 14.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006755/0.1409, allocations: 412.8 kB / 0.6493 GB, free: 13.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.141, allocations: 83.31 kB / 0.6494 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.141, allocations: 0 / 0.6494 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.141, allocations: 7.938 kB / 0.6494 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.1412, allocations: 23.92 kB / 0.6494 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1412, allocations: 7.984 kB / 0.6494 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.1417, allocations: 59.8 kB / 0.6495 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/0.1418, allocations: 60.02 kB / 0.6496 GB, free: 13.54 MB / 458.7 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.0001582/0.1419, allocations: 164 kB / 0.6497 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.142, allocations: 31.61 kB / 0.6497 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.142, allocations: 26.25 kB / 0.6498 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.142, allocations: 7.938 kB / 0.6498 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.142, allocations: 0 / 0.6498 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1421, allocations: 0 / 0.6498 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007645/0.1428, allocations: 0.5624 MB / 0.6503 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1428, allocations: 0 / 0.6503 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.1429, allocations: 11.98 kB / 0.6503 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1429, allocations: 4 kB / 0.6503 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.1429, allocations: 7.984 kB / 0.6504 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1429, allocations: 0 / 0.6504 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1429, allocations: 0 / 0.6504 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.1437, allocations: 0.9388 MB / 0.6513 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.1439, allocations: 168.5 kB / 0.6514 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.144, allocations: 8 kB / 0.6514 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.1442, allocations: 15.92 kB / 0.6515 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.1442, allocations: 19.97 kB / 0.6515 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.1443, allocations: 27.98 kB / 0.6515 GB, free: 11.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1445, allocations: 213.8 kB / 0.6517 GB, free: 11.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1445, allocations: 0 / 0.6517 GB, free: 11.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.1449, allocations: 59.98 kB / 0.6518 GB, free: 11.14 MB / 458.7 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.0001115/0.145, allocations: 111.8 kB / 0.6519 GB, free: 11.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005216/0.1455, allocations: 347.5 kB / 0.6522 GB, free: 10.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1455, allocations: 0 / 0.6522 GB, free: 10.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1457, allocations: 77.94 kB / 0.6523 GB, free: 10.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.146, allocations: 21.25 kB / 0.6523 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.1468, allocations: 0.6018 MB / 0.6529 GB, free: 9.922 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1471, allocations: 0.7438 MB / 0.6536 GB, free: 9.152 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.1472, allocations: 41.42 kB / 0.6536 GB, free: 9.109 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1473, allocations: 35.42 kB / 0.6537 GB, free: 9.074 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1473, allocations: 0 / 0.6537 GB, free: 9.074 MB / 458.7 MB Notification: Performance of Templates: time 0.006995/0.1543, allocations: 4.113 MB / 0.6577 GB, free: 4.988 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)