Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008712/0.000871, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.0008274/0.0008275, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8461/0.8461, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 8 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 82.32 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001527/0.1537, allocations: 1.171 MB / 0.5883 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007526/0.1545, allocations: 386.3 kB / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.1546, allocations: 0 / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.1546, allocations: 7.938 kB / 0.5887 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.1547, allocations: 19.95 kB / 0.5887 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.1553, allocations: 214 kB / 0.5889 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1555, allocations: 155.7 kB / 0.5891 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.1555, allocations: 7.984 kB / 0.5891 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.1558, allocations: 155.7 kB / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.156, allocations: 123.7 kB / 0.5894 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.156, allocations: 12 kB / 0.5894 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.036e-05/0.1561, allocations: 12 kB / 0.5894 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1562, allocations: 79.78 kB / 0.5895 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.1563, allocations: 65.58 kB / 0.5895 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1564, allocations: 207.8 kB / 0.5897 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.1565, allocations: 0 / 0.5897 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1565, allocations: 0 / 0.5897 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1565, allocations: 0 / 0.5897 GB, free: 0.5195 MB / 494.1 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.0009271/0.1574, allocations: 0.6141 MB / 0.5903 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1574, allocations: 8.031 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.1575, allocations: 31.7 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.1579, allocations: 258.4 kB / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.158, allocations: 15.98 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.158, allocations: 16 kB / 0.5906 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.1583, allocations: 149.1 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1583, allocations: 4 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1583, allocations: 0 / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1583, allocations: 4 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1584, allocations: 47.97 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.1588, allocations: 309.4 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.159, allocations: 134.6 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.159, allocations: 0 / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.1594, allocations: 229.8 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1594, allocations: 0 / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005032/0.16, allocations: 261.2 kB / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.16, allocations: 67.39 kB / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.1603, allocations: 286.9 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.1604, allocations: 41.7 kB / 0.5921 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1604, allocations: 85.14 kB / 0.5922 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.1605, allocations: 55.42 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.1605, allocations: 4 kB / 0.5922 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1607, allocations: 326.8 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.1609, allocations: 92.17 kB / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.1611, allocations: 151 kB / 0.5928 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.1613, allocations: 158 kB / 0.5929 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1613, allocations: 3.938 kB / 0.5929 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000678/0.162, allocations: 407.2 kB / 0.5933 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.1621, allocations: 81.34 kB / 0.5934 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1621, allocations: 4 kB / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1621, allocations: 4 kB / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1623, allocations: 23.98 kB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1623, allocations: 7.938 kB / 0.5934 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.1628, allocations: 79.88 kB / 0.5935 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/0.1629, allocations: 47.98 kB / 0.5936 GB, free: 12.29 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.163, allocations: 168 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.1631, allocations: 31.7 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.1631, allocations: 34.19 kB / 0.5938 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1631, allocations: 4 kB / 0.5938 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1632, allocations: 0 / 0.5938 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1632, allocations: 3.984 kB / 0.5938 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.1639, allocations: 0.5529 MB / 0.5943 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1639, allocations: 0 / 0.5943 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.1639, allocations: 11.94 kB / 0.5943 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1639, allocations: 0 / 0.5943 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.164, allocations: 27.97 kB / 0.5944 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.164, allocations: 0 / 0.5944 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.164, allocations: 0 / 0.5944 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.1643, allocations: 316.8 kB / 0.5947 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.1646, allocations: 160.6 kB / 0.5948 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.1647, allocations: 8 kB / 0.5948 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.1649, allocations: 15.98 kB / 0.5948 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.1649, allocations: 19.97 kB / 0.5949 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.165, allocations: 31.98 kB / 0.5949 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000178/0.1651, allocations: 209.9 kB / 0.5951 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1651, allocations: 0 / 0.5951 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002882/0.1654, allocations: 48 kB / 0.5951 GB, free: 10.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.1656, allocations: 113 kB / 0.5953 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004866/0.1661, allocations: 351 kB / 0.5956 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1661, allocations: 4.062 kB / 0.5956 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1662, allocations: 70 kB / 0.5957 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1664, allocations: 20.83 kB / 0.5957 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.1671, allocations: 446.8 kB / 0.5961 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.1675, allocations: 0.7477 MB / 0.5968 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000124/0.1676, allocations: 41.42 kB / 0.5969 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1677, allocations: 31.42 kB / 0.5969 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1677, allocations: 0 / 0.5969 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.006592/0.1743, allocations: 3.894 MB / 0.6007 GB, free: 4.832 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: