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.001078/0.001078, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001378/0.001378, allocations: 172.7 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9608/0.9608, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005226, allocations: 8 kB / 0.507 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1683, allocations: 82.31 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001472/0.1698, allocations: 1.176 MB / 0.5885 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000783/0.1706, allocations: 403.1 kB / 0.5889 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.1707, allocations: 0 / 0.5889 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.924e-05/0.1707, allocations: 11.92 kB / 0.5889 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.064e-05/0.1708, allocations: 11.92 kB / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.1714, allocations: 218.7 kB / 0.5891 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1717, allocations: 243.5 kB / 0.5894 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.1717, allocations: 4 kB / 0.5894 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.1721, allocations: 219.6 kB / 0.5896 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1723, allocations: 131.7 kB / 0.5897 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.1723, allocations: 8 kB / 0.5897 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.684e-05/0.1724, allocations: 12 kB / 0.5897 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.595e-05/0.1725, allocations: 79.78 kB / 0.5898 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.1726, allocations: 69.58 kB / 0.5899 GB, free: 472 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1728, allocations: 207.8 kB / 0.5901 GB, free: 264 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1728, allocations: 0 / 0.5901 GB, free: 264 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1728, allocations: 0 / 0.5901 GB, free: 264 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.1728, allocations: 4 kB / 0.5901 GB, free: 260 kB / 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.0009943/0.1738, allocations: 0.6141 MB / 0.5907 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.1739, allocations: 12.03 kB / 0.5907 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.1739, allocations: 27.72 kB / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1742, allocations: 258.4 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.1742, allocations: 12 kB / 0.591 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.1743, allocations: 16 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.1746, allocations: 145.5 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1746, allocations: 0 / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.1746, allocations: 3.984 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1746, allocations: 3.938 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1748, allocations: 47.97 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.1751, allocations: 321.3 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.1754, allocations: 134.6 kB / 0.5916 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1755, allocations: 56.83 kB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1755, allocations: 4 kB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/0.1759, allocations: 219.5 kB / 0.5919 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.1759, allocations: 0 / 0.5919 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005287/0.1765, allocations: 267.4 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1765, allocations: 63.39 kB / 0.5922 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.1768, allocations: 290.9 kB / 0.5925 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.1768, allocations: 37.7 kB / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.1769, allocations: 97.12 kB / 0.5926 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.177, allocations: 43.44 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.177, allocations: 8 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1771, allocations: 326.8 kB / 0.5929 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1774, allocations: 92.17 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1776, allocations: 151 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.1778, allocations: 156.1 kB / 0.5933 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1778, allocations: 0 / 0.5933 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00063/0.1785, allocations: 408.3 kB / 0.5937 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.1785, allocations: 75.38 kB / 0.5938 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1785, allocations: 4 kB / 0.5938 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1786, allocations: 4 kB / 0.5938 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1787, allocations: 31.92 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1787, allocations: 0 / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.1792, allocations: 87.84 kB / 0.5939 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.1793, allocations: 47.98 kB / 0.594 GB, free: 11.96 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.0001634/0.1794, allocations: 172 kB / 0.5941 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.1795, allocations: 27.62 kB / 0.5941 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.1795, allocations: 30.25 kB / 0.5942 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1795, allocations: 4 kB / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1796, allocations: 3.984 kB / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1796, allocations: 3.938 kB / 0.5942 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.1803, allocations: 0.5491 MB / 0.5947 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1803, allocations: 0 / 0.5947 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.1804, allocations: 11.94 kB / 0.5947 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1804, allocations: 3.984 kB / 0.5947 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1804, allocations: 11.98 kB / 0.5948 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1804, allocations: 8 kB / 0.5948 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1804, allocations: 3.938 kB / 0.5948 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.1808, allocations: 321.1 kB / 0.5951 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.181, allocations: 156.7 kB / 0.5952 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.181, allocations: 11.98 kB / 0.5952 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1812, allocations: 12 kB / 0.5952 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1813, allocations: 19.97 kB / 0.5953 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.1813, allocations: 35.92 kB / 0.5953 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001728/0.1815, allocations: 205.9 kB / 0.5955 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1815, allocations: 0 / 0.5955 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000295/0.1818, allocations: 51.98 kB / 0.5955 GB, free: 10.24 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.0001173/0.1819, allocations: 113 kB / 0.5956 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005042/0.1825, allocations: 347 kB / 0.596 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1825, allocations: 8.062 kB / 0.596 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1826, allocations: 75.94 kB / 0.5961 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1829, allocations: 27.02 kB / 0.5961 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006224/0.1835, allocations: 446.8 kB / 0.5965 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.1838, allocations: 0.7404 MB / 0.5972 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.184, allocations: 41.42 kB / 0.5973 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.1841, allocations: 31.42 kB / 0.5973 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1841, allocations: 0 / 0.5973 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.006761/0.1909, allocations: 3.898 MB / 0.6011 GB, free: 4.488 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (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)