Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001294/0.001294, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.739/0.739, allocations: 132.2 MB / 148.9 MB, free: 12.17 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.442/1.442, allocations: 222.9 MB / 403.3 MB, free: 7.094 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.001059/0.001059, allocations: 89.38 kB / 484.3 MB, free: 8.742 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.91 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1284, allocations: 80.2 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002554/0.131, allocations: 1.537 MB / 0.6417 GB, free: 5.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008486/0.1319, allocations: 456.3 kB / 0.6421 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.1319, allocations: 0 / 0.6421 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.462e-05/0.132, allocations: 3.938 kB / 0.6421 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.879e-05/0.1321, allocations: 24.22 kB / 0.6421 GB, free: 4.773 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.1327, allocations: 218.2 kB / 0.6423 GB, free: 4.562 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.133, allocations: 291.9 kB / 0.6426 GB, free: 4.277 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.133, allocations: 7.984 kB / 0.6426 GB, free: 4.27 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.1333, allocations: 222.3 kB / 0.6428 GB, free: 4.055 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.1335, allocations: 119.6 kB / 0.6429 GB, free: 3.938 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.1336, allocations: 8 kB / 0.643 GB, free: 3.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.1336, allocations: 8 kB / 0.643 GB, free: 3.922 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.1337, allocations: 75.78 kB / 0.643 GB, free: 3.848 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1339, allocations: 119.4 kB / 0.6431 GB, free: 3.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1341, allocations: 283.3 kB / 0.6434 GB, free: 3.453 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1342, allocations: 0 / 0.6434 GB, free: 3.453 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1342, allocations: 0 / 0.6434 GB, free: 3.453 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1342, allocations: 4 kB / 0.6434 GB, free: 3.449 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.001065/0.1352, allocations: 0.6997 MB / 0.6441 GB, free: 2.676 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1353, allocations: 8.031 kB / 0.6441 GB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.829e-05/0.1354, allocations: 31.7 kB / 0.6441 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.1357, allocations: 258.3 kB / 0.6444 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.1357, allocations: 19.98 kB / 0.6444 GB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.1358, allocations: 16 kB / 0.6444 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1361, allocations: 146.6 kB / 0.6446 GB, free: 2.164 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1361, allocations: 3.938 kB / 0.6446 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1361, allocations: 0 / 0.6446 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1361, allocations: 0 / 0.6446 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.1363, allocations: 51.91 kB / 0.6446 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.1366, allocations: 313.3 kB / 0.6449 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.1368, allocations: 134.8 kB / 0.645 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.137, allocations: 60.83 kB / 0.6451 GB, free: 1.551 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.137, allocations: 0 / 0.6451 GB, free: 1.551 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004467/0.1374, allocations: 220.9 kB / 0.6453 GB, free: 1.324 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1374, allocations: 0 / 0.6453 GB, free: 1.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005274/0.138, allocations: 274.3 kB / 0.6456 GB, free: 1.051 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.138, allocations: 67.33 kB / 0.6456 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1383, allocations: 291 kB / 0.6459 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.1383, allocations: 37.7 kB / 0.646 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.1384, allocations: 97.08 kB / 0.646 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.1384, allocations: 43.45 kB / 0.6461 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.1386, allocations: 105.7 kB / 0.6462 GB, free: 388 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.1387, allocations: 322.8 kB / 0.6465 GB, free: 56 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.1389, allocations: 92.17 kB / 0.6466 GB, free: 15.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.1391, allocations: 146.4 kB / 0.6467 GB, free: 15.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1394, allocations: 247.2 kB / 0.647 GB, free: 15.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1394, allocations: 0 / 0.647 GB, free: 15.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000625/0.1401, allocations: 423.8 kB / 0.6474 GB, free: 15.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.1401, allocations: 75.38 kB / 0.6474 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1402, allocations: 0 / 0.6474 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1402, allocations: 7.938 kB / 0.6474 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1403, allocations: 27.92 kB / 0.6475 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1404, allocations: 11.97 kB / 0.6475 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.1408, allocations: 67.98 kB / 0.6475 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.1409, allocations: 55.98 kB / 0.6476 GB, free: 14.84 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.0001671/0.1411, allocations: 165.3 kB / 0.6478 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.1411, allocations: 31.61 kB / 0.6478 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.1412, allocations: 30.23 kB / 0.6478 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1412, allocations: 7.938 kB / 0.6478 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1412, allocations: 4 kB / 0.6478 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1413, allocations: 0 / 0.6478 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007247/0.142, allocations: 0.5579 MB / 0.6484 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.142, allocations: 0 / 0.6484 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.142, allocations: 7.984 kB / 0.6484 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1421, allocations: 4 kB / 0.6484 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.1421, allocations: 11.98 kB / 0.6484 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1421, allocations: 0 / 0.6484 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1421, allocations: 0 / 0.6484 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.1428, allocations: 0.9431 MB / 0.6493 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.143, allocations: 164.6 kB / 0.6495 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.143, allocations: 8 kB / 0.6495 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1432, allocations: 7.984 kB / 0.6495 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.1433, allocations: 15.98 kB / 0.6495 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.1434, allocations: 35.97 kB / 0.6495 GB, free: 12.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.1435, allocations: 209.9 kB / 0.6497 GB, free: 12.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1435, allocations: 0 / 0.6497 GB, free: 12.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.1439, allocations: 51.98 kB / 0.6498 GB, free: 12.45 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.0001149/0.1441, allocations: 119.7 kB / 0.6499 GB, free: 12.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.1445, allocations: 339.7 kB / 0.6502 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1446, allocations: 8.312 kB / 0.6502 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1447, allocations: 67.97 kB / 0.6503 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.145, allocations: 26.53 kB / 0.6503 GB, free: 11.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.1458, allocations: 0.6057 MB / 0.6509 GB, free: 11.22 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1461, allocations: 0.7477 MB / 0.6516 GB, free: 10.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.1462, allocations: 41.36 kB / 0.6517 GB, free: 10.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1464, allocations: 39.42 kB / 0.6517 GB, free: 10.37 MB / 458.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1464, allocations: 4 kB / 0.6517 GB, free: 10.37 MB / 458.7 MB Notification: Performance of Templates: time 0.006939/0.1533, allocations: 4.113 MB / 0.6557 GB, free: 6.277 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)