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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 105.4 kB / 16.41 MB, free: 6.461 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.001129/0.001129, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7803/0.7803, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 61.53 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1378, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003377/0.1412, allocations: 1.476 MB / 0.6617 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1425, allocations: 430.1 kB / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.1426, allocations: 0 / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.1427, allocations: 7.922 kB / 0.6622 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.1429, allocations: 20.25 kB / 0.6622 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008381/0.1437, allocations: 248.7 kB / 0.6624 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.1442, allocations: 315.5 kB / 0.6627 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.1443, allocations: 4 kB / 0.6627 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.1446, allocations: 195.7 kB / 0.6629 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1449, allocations: 112.6 kB / 0.663 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.145, allocations: 20 kB / 0.663 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.1451, allocations: 19.94 kB / 0.6631 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.1452, allocations: 87.7 kB / 0.6631 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1454, allocations: 119.4 kB / 0.6633 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.1457, allocations: 271.1 kB / 0.6635 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1457, allocations: 0 / 0.6635 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1457, allocations: 4 kB / 0.6635 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.1458, allocations: 0 / 0.6635 GB, free: 6.961 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.00139/0.1472, allocations: 0.696 MB / 0.6642 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1472, allocations: 12.03 kB / 0.6642 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.1473, allocations: 32.64 kB / 0.6642 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.1477, allocations: 267.5 kB / 0.6645 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.1477, allocations: 16.34 kB / 0.6645 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.1478, allocations: 23.94 kB / 0.6645 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.1481, allocations: 145.5 kB / 0.6647 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1481, allocations: 4 kB / 0.6647 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.1482, allocations: 0 / 0.6647 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1482, allocations: 4 kB / 0.6647 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1483, allocations: 47.97 kB / 0.6647 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1487, allocations: 309.4 kB / 0.665 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.149, allocations: 134.6 kB / 0.6651 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1491, allocations: 52.84 kB / 0.6652 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1491, allocations: 11.98 kB / 0.6652 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004377/0.1496, allocations: 217.1 kB / 0.6654 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.1496, allocations: 0 / 0.6654 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005705/0.1502, allocations: 279.2 kB / 0.6657 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1502, allocations: 59.39 kB / 0.6657 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1505, allocations: 290.9 kB / 0.666 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.1506, allocations: 41.69 kB / 0.6661 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.1506, allocations: 89.14 kB / 0.6661 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.1507, allocations: 35.61 kB / 0.6662 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.1509, allocations: 113.5 kB / 0.6663 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.151, allocations: 322.8 kB / 0.6666 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.1512, allocations: 92.19 kB / 0.6667 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.1515, allocations: 150.3 kB / 0.6668 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.1518, allocations: 244.1 kB / 0.6671 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1519, allocations: 0 / 0.6671 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006782/0.1525, allocations: 416.6 kB / 0.6675 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-05/0.1526, allocations: 75.39 kB / 0.6675 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1526, allocations: 4.188 kB / 0.6675 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1527, allocations: 7.938 kB / 0.6675 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.1529, allocations: 27.91 kB / 0.6676 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1529, allocations: 4 kB / 0.6676 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.1534, allocations: 59.73 kB / 0.6676 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.1535, allocations: 55.98 kB / 0.6677 GB, free: 2.363 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.0001955/0.1537, allocations: 168.9 kB / 0.6678 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.1537, allocations: 27.66 kB / 0.6679 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.1538, allocations: 30.25 kB / 0.6679 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1538, allocations: 0 / 0.6679 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1538, allocations: 0 / 0.6679 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1538, allocations: 11.92 kB / 0.6679 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.1546, allocations: 0.5605 MB / 0.6685 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1546, allocations: 4 kB / 0.6685 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.1547, allocations: 19.92 kB / 0.6685 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1547, allocations: 0 / 0.6685 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.1547, allocations: 11.98 kB / 0.6685 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1547, allocations: 4 kB / 0.6685 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1547, allocations: 0 / 0.6685 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.1552, allocations: 324.9 kB / 0.6688 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.1554, allocations: 152.7 kB / 0.6689 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.1554, allocations: 8 kB / 0.669 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.1557, allocations: 15.98 kB / 0.669 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.1557, allocations: 15.98 kB / 0.669 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.1558, allocations: 27.98 kB / 0.669 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001921/0.156, allocations: 209.9 kB / 0.6692 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.156, allocations: 0 / 0.6692 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003173/0.1563, allocations: 47.98 kB / 0.6693 GB, free: 0.6445 MB / 0.4981 GB 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.0001562/0.1565, allocations: 118.8 kB / 0.6694 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005646/0.157, allocations: 354.4 kB / 0.6697 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1571, allocations: 0 / 0.6697 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1572, allocations: 73.67 kB / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1576, allocations: 20.88 kB / 0.6698 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.1583, allocations: 409.8 kB / 0.6702 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1586, allocations: 0.7435 MB / 0.6709 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.1587, allocations: 31.42 kB / 0.6709 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1587, allocations: 4 kB / 0.671 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.005353/0.1641, allocations: 2.995 MB / 0.6739 GB, free: 11.84 MB / 0.5137 GB 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)