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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 182.1 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.9576/0.9576, allocations: 132.2 MB / 148.9 MB, free: 12.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.426/1.426, allocations: 222.9 MB / 403.4 MB, free: 7.066 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.0009761/0.0009761, allocations: 101.9 kB / 484.3 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009798/0.0009798, allocations: 47.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1516, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002907/0.1546, allocations: 1.534 MB / 0.6417 GB, free: 5.227 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1556, allocations: 460.8 kB / 0.6421 GB, free: 4.773 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.1557, allocations: 0 / 0.6421 GB, free: 4.773 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.1559, allocations: 7.922 kB / 0.6421 GB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.156, allocations: 20.28 kB / 0.6421 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.1566, allocations: 218.1 kB / 0.6423 GB, free: 4.535 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.1569, allocations: 291.9 kB / 0.6426 GB, free: 4.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.157, allocations: 12 kB / 0.6426 GB, free: 4.238 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.1573, allocations: 218.3 kB / 0.6428 GB, free: 4.027 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1575, allocations: 115.6 kB / 0.6429 GB, free: 3.914 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.291e-05/0.1576, allocations: 8 kB / 0.6429 GB, free: 3.906 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.1576, allocations: 12 kB / 0.643 GB, free: 3.895 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1577, allocations: 75.77 kB / 0.643 GB, free: 3.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1579, allocations: 123.3 kB / 0.6431 GB, free: 3.699 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1582, allocations: 279.3 kB / 0.6434 GB, free: 3.426 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1582, allocations: 4 kB / 0.6434 GB, free: 3.422 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1582, allocations: 4 kB / 0.6434 GB, free: 3.418 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1582, allocations: 0 / 0.6434 GB, free: 3.418 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.001139/0.1594, allocations: 0.6997 MB / 0.6441 GB, free: 2.645 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1594, allocations: 8.031 kB / 0.6441 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.098e-05/0.1595, allocations: 31.72 kB / 0.6441 GB, free: 2.605 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.1599, allocations: 254.3 kB / 0.6444 GB, free: 2.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.1599, allocations: 12 kB / 0.6444 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.16, allocations: 19.98 kB / 0.6444 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1603, allocations: 150.6 kB / 0.6446 GB, free: 2.137 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1603, allocations: 7.875 kB / 0.6446 GB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.1603, allocations: 4 kB / 0.6446 GB, free: 2.125 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1603, allocations: 7.938 kB / 0.6446 GB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.1605, allocations: 43.97 kB / 0.6446 GB, free: 2.074 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.1608, allocations: 313.3 kB / 0.6449 GB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.1611, allocations: 134.8 kB / 0.645 GB, free: 1.578 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1613, allocations: 60.78 kB / 0.6451 GB, free: 1.516 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1613, allocations: 3.984 kB / 0.6451 GB, free: 1.512 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.1618, allocations: 216.8 kB / 0.6453 GB, free: 1.289 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.1618, allocations: 0 / 0.6453 GB, free: 1.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005701/0.1624, allocations: 278.1 kB / 0.6456 GB, free: 1.012 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.1624, allocations: 63.39 kB / 0.6456 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.1627, allocations: 283 kB / 0.6459 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.1627, allocations: 45.69 kB / 0.646 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.1628, allocations: 89.14 kB / 0.646 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.1628, allocations: 47.45 kB / 0.6461 GB, free: 472 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.163, allocations: 105.7 kB / 0.6462 GB, free: 356 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1631, allocations: 322.8 kB / 0.6465 GB, free: 24 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.1634, allocations: 96.17 kB / 0.6466 GB, free: 15.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.1636, allocations: 146.4 kB / 0.6467 GB, free: 15.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.1639, allocations: 247.4 kB / 0.647 GB, free: 15.49 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.1639, allocations: 4 kB / 0.647 GB, free: 15.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000641/0.1646, allocations: 419.5 kB / 0.6474 GB, free: 15.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.1647, allocations: 76.78 kB / 0.6474 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1647, allocations: 4 kB / 0.6474 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1647, allocations: 3.938 kB / 0.6474 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1649, allocations: 27.92 kB / 0.6475 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1649, allocations: 4 kB / 0.6475 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.1654, allocations: 63.98 kB / 0.6475 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.1655, allocations: 59.97 kB / 0.6476 GB, free: 14.81 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.0001531/0.1657, allocations: 165.3 kB / 0.6478 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.1657, allocations: 27.62 kB / 0.6478 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.1658, allocations: 30.25 kB / 0.6478 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1658, allocations: 3.938 kB / 0.6478 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1658, allocations: 0 / 0.6478 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1658, allocations: 7.984 kB / 0.6478 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/0.1666, allocations: 0.5568 MB / 0.6484 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1666, allocations: 0 / 0.6484 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.1666, allocations: 4 kB / 0.6484 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1666, allocations: 4 kB / 0.6484 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.1667, allocations: 15.97 kB / 0.6484 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1667, allocations: 0 / 0.6484 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1667, allocations: 7.938 kB / 0.6484 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.1674, allocations: 0.9354 MB / 0.6493 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.1676, allocations: 168.5 kB / 0.6495 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.1677, allocations: 12 kB / 0.6495 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.1679, allocations: 7.984 kB / 0.6495 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.168, allocations: 15.98 kB / 0.6495 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.168, allocations: 31.97 kB / 0.6495 GB, free: 12.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.1682, allocations: 213.9 kB / 0.6497 GB, free: 12.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1682, allocations: 0 / 0.6497 GB, free: 12.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.1686, allocations: 51.98 kB / 0.6498 GB, free: 12.42 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.0001199/0.1687, allocations: 111.9 kB / 0.6499 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005237/0.1693, allocations: 343.8 kB / 0.6502 GB, free: 11.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1693, allocations: 0 / 0.6502 GB, free: 11.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1694, allocations: 77.2 kB / 0.6503 GB, free: 11.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1697, allocations: 24.88 kB / 0.6503 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008001/0.1706, allocations: 0.6057 MB / 0.6509 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1709, allocations: 0.7515 MB / 0.6516 GB, free: 10.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.171, allocations: 33.44 kB / 0.6517 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.1711, allocations: 43.41 kB / 0.6517 GB, free: 10.34 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1711, allocations: 0 / 0.6517 GB, free: 10.34 MB / 458.7 MB Notification: Performance of Templates: time 0.006964/0.1781, allocations: 4.117 MB / 0.6557 GB, free: 6.254 MB / 458.7 MB 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)