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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008553/0.0008553, allocations: 99.62 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.0009501/0.0009502, allocations: 177.3 kB / 15.95 MB, free: 216 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.246/1.246, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8597/0.8597, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.000289, allocations: 8 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001406/0.1491, allocations: 1.167 MB / 0.5883 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.1499, allocations: 391.2 kB / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.15, allocations: 0 / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.649e-05/0.15, allocations: 3.938 kB / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.813e-05/0.1501, allocations: 23.95 kB / 0.5887 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.1508, allocations: 217.6 kB / 0.5889 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.151, allocations: 151.7 kB / 0.5891 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.1511, allocations: 4 kB / 0.5891 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.1514, allocations: 159.7 kB / 0.5892 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1516, allocations: 119.7 kB / 0.5894 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.1516, allocations: 12 kB / 0.5894 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.36e-05/0.1517, allocations: 8 kB / 0.5894 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1518, allocations: 79.78 kB / 0.5894 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.687e-05/0.1519, allocations: 69.58 kB / 0.5895 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1521, allocations: 207.8 kB / 0.5897 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.1521, allocations: 0 / 0.5897 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1521, allocations: 0 / 0.5897 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1521, allocations: 0 / 0.5897 GB, free: 0.5469 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.001115/0.1533, allocations: 0.6126 MB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1533, allocations: 19.97 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1534, allocations: 31.7 kB / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.1538, allocations: 250.4 kB / 0.5906 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.1538, allocations: 19.92 kB / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.1539, allocations: 16 kB / 0.5906 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.1542, allocations: 145.5 kB / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1542, allocations: 4 kB / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1542, allocations: 0 / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1543, allocations: 0 / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.1544, allocations: 47.97 kB / 0.5908 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.1547, allocations: 317.4 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.155, allocations: 130.6 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.155, allocations: 3.984 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.1554, allocations: 223.5 kB / 0.5915 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.1554, allocations: 0 / 0.5915 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005203/0.156, allocations: 263.5 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.156, allocations: 67.39 kB / 0.5918 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.1563, allocations: 286.9 kB / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.1563, allocations: 41.7 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.1564, allocations: 89.14 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.1565, allocations: 51.42 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1565, allocations: 8 kB / 0.5922 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1566, allocations: 322.8 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1568, allocations: 96.17 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.1571, allocations: 151 kB / 0.5928 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.1573, allocations: 154 kB / 0.5929 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1573, allocations: 0 / 0.5929 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006354/0.1579, allocations: 411.2 kB / 0.5933 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.158, allocations: 83.31 kB / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.158, allocations: 4 kB / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1581, allocations: 4 kB / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1582, allocations: 19.98 kB / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.1582, allocations: 11.92 kB / 0.5934 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.1587, allocations: 79.78 kB / 0.5935 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.1588, allocations: 51.98 kB / 0.5936 GB, free: 12.31 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.0001639/0.159, allocations: 168 kB / 0.5937 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.159, allocations: 23.72 kB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.159, allocations: 30.19 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1591, allocations: 8 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1591, allocations: 0 / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1591, allocations: 7.922 kB / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.1598, allocations: 0.5529 MB / 0.5943 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1598, allocations: 0 / 0.5943 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.1598, allocations: 11.94 kB / 0.5943 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1599, allocations: 0 / 0.5943 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.1599, allocations: 19.97 kB / 0.5944 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1599, allocations: 0 / 0.5944 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1599, allocations: 4 kB / 0.5944 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.1603, allocations: 317.1 kB / 0.5947 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.1605, allocations: 164.6 kB / 0.5948 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.1605, allocations: 12 kB / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.1607, allocations: 11.98 kB / 0.5948 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.1608, allocations: 15.97 kB / 0.5949 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.1608, allocations: 31.98 kB / 0.5949 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001583/0.161, allocations: 209.9 kB / 0.5951 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.161, allocations: 0 / 0.5951 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002954/0.1613, allocations: 48 kB / 0.5951 GB, free: 10.6 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.0001128/0.1614, allocations: 121.2 kB / 0.5953 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.1619, allocations: 346.7 kB / 0.5956 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1619, allocations: 384 / 0.5956 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.162, allocations: 77.98 kB / 0.5957 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.1623, allocations: 24.83 kB / 0.5957 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.1628, allocations: 446.8 kB / 0.5961 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1631, allocations: 0.7438 MB / 0.5968 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.1633, allocations: 41.42 kB / 0.5969 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.1634, allocations: 35.42 kB / 0.5969 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1634, allocations: 0 / 0.5969 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of Templates: time 0.006661/0.1701, allocations: 3.887 MB / 0.6007 GB, free: 4.852 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: