Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001362/0.001362, allocations: 177.3 kB / 15.94 MB, free: 228 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.243/1.243, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8688/0.8688, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 12 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1496, allocations: 82.3 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001401/0.151, allocations: 1.163 MB / 0.5883 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007492/0.1518, allocations: 401 kB / 0.5887 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.1519, allocations: 4 kB / 0.5887 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.1519, allocations: 7.922 kB / 0.5887 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.193e-05/0.152, allocations: 15.98 kB / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.1526, allocations: 210.2 kB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1528, allocations: 151.8 kB / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.1528, allocations: 4 kB / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.153, allocations: 167.7 kB / 0.5892 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.1532, allocations: 119.7 kB / 0.5893 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.1533, allocations: 8 kB / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.1533, allocations: 8 kB / 0.5894 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.1534, allocations: 79.78 kB / 0.5894 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.1535, allocations: 69.58 kB / 0.5895 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.1537, allocations: 199.8 kB / 0.5897 GB, free: 0.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.1537, allocations: 8 kB / 0.5897 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1537, allocations: 0 / 0.5897 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1537, allocations: 0 / 0.5897 GB, free: 0.5352 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.0009475/0.1547, allocations: 0.618 MB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.1547, allocations: 8.031 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.1548, allocations: 31.72 kB / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.1551, allocations: 258.4 kB / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.1551, allocations: 16 kB / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.1552, allocations: 16 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1554, allocations: 145 kB / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1555, allocations: 0 / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.1555, allocations: 19.84 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1555, allocations: 4 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1556, allocations: 43.97 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.1559, allocations: 309.4 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.1562, allocations: 126.7 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1562, allocations: 4 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/0.1566, allocations: 223.5 kB / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.1566, allocations: 0 / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0004951/0.1571, allocations: 267.1 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.1572, allocations: 63.39 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.1574, allocations: 286.9 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.1575, allocations: 37.7 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.1575, allocations: 97.12 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.1576, allocations: 43.45 kB / 0.5922 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.1576, allocations: 11.94 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1577, allocations: 326.8 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.1579, allocations: 92.17 kB / 0.5926 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1581, allocations: 155.1 kB / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1584, allocations: 150 kB / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1584, allocations: 4 kB / 0.5929 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005955/0.159, allocations: 407.1 kB / 0.5933 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.159, allocations: 79.56 kB / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1591, allocations: 7.984 kB / 0.5934 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1591, allocations: 4 kB / 0.5934 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1592, allocations: 27.91 kB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.1592, allocations: 7.938 kB / 0.5934 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.1597, allocations: 75.7 kB / 0.5935 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/0.1598, allocations: 55.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.0001561/0.16, allocations: 168 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.16, allocations: 27.7 kB / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1601, allocations: 26.25 kB / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1601, allocations: 4 kB / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1601, allocations: 0 / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1601, allocations: 4 kB / 0.5938 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.1608, allocations: 0.5552 MB / 0.5943 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1608, allocations: 0 / 0.5943 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.1608, allocations: 19.92 kB / 0.5943 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1609, allocations: 0 / 0.5943 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.1609, allocations: 11.98 kB / 0.5943 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1609, allocations: 0 / 0.5943 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1609, allocations: 3.938 kB / 0.5944 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.1613, allocations: 327 kB / 0.5947 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.1614, allocations: 156.7 kB / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.1615, allocations: 15.98 kB / 0.5948 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.1617, allocations: 15.92 kB / 0.5948 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.1618, allocations: 15.98 kB / 0.5949 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.1618, allocations: 31.97 kB / 0.5949 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001625/0.162, allocations: 205.9 kB / 0.5951 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.162, allocations: 8 kB / 0.5951 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002846/0.1623, allocations: 47.98 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.0001176/0.1624, allocations: 114.3 kB / 0.5952 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004773/0.1629, allocations: 344.1 kB / 0.5956 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1629, allocations: 0 / 0.5956 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.163, allocations: 71.95 kB / 0.5956 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.0002115/0.1632, allocations: 33.14 kB / 0.5957 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.1638, allocations: 434.9 kB / 0.5961 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1641, allocations: 0.7516 MB / 0.5968 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.1642, allocations: 41.42 kB / 0.5969 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1643, allocations: 31.42 kB / 0.5969 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1644, allocations: 0 / 0.5969 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.006275/0.1706, allocations: 3.884 MB / 0.6007 GB, free: 4.848 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: