Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00145/0.00145, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 200.3 kB / 16.79 MB, free: 6.809 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.344/1.344, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9058/0.9058, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001138, allocations: 63.2 kB / 0.5053 GB, free: 5.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1455, allocations: 80.93 MB / 0.5843 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002598/0.1482, allocations: 1.53 MB / 0.5858 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.1491, allocations: 459.2 kB / 0.5863 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.1492, allocations: 0 / 0.5863 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.1493, allocations: 3.938 kB / 0.5863 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.604e-05/0.1494, allocations: 16.3 kB / 0.5863 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.15, allocations: 229.1 kB / 0.5865 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.1503, allocations: 283.9 kB / 0.5868 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.1503, allocations: 4 kB / 0.5868 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.1506, allocations: 214.3 kB / 0.587 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.1508, allocations: 127.6 kB / 0.5871 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/0.1509, allocations: 8 kB / 0.5871 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.376e-05/0.151, allocations: 8 kB / 0.5871 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1511, allocations: 71.78 kB / 0.5872 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.1512, allocations: 119.4 kB / 0.5873 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1514, allocations: 211.8 kB / 0.5875 GB, free: 1.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1514, allocations: 3.938 kB / 0.5875 GB, free: 1.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1515, allocations: 0 / 0.5875 GB, free: 1.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1515, allocations: 0 / 0.5875 GB, free: 1.785 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.001194/0.1527, allocations: 0.6997 MB / 0.5882 GB, free: 1.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1527, allocations: 8.031 kB / 0.5882 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.1528, allocations: 35.7 kB / 0.5882 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1531, allocations: 258.3 kB / 0.5885 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.1531, allocations: 19.98 kB / 0.5885 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.1532, allocations: 16 kB / 0.5885 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.1535, allocations: 141.5 kB / 0.5887 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1535, allocations: 0 / 0.5887 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1536, allocations: 4 kB / 0.5887 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1536, allocations: 7.938 kB / 0.5887 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1537, allocations: 47.91 kB / 0.5887 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.1541, allocations: 313.4 kB / 0.589 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.1543, allocations: 134.8 kB / 0.5891 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1545, allocations: 60.77 kB / 0.5892 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1545, allocations: 0 / 0.5892 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004491/0.155, allocations: 215.5 kB / 0.5894 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.155, allocations: 0 / 0.5894 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000591/0.1556, allocations: 275.5 kB / 0.5897 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1556, allocations: 59.41 kB / 0.5897 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1559, allocations: 294.8 kB / 0.59 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.156, allocations: 41.69 kB / 0.59 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.156, allocations: 93.14 kB / 0.5901 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.1561, allocations: 47.44 kB / 0.5902 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.1563, allocations: 105.7 kB / 0.5903 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.1564, allocations: 330.8 kB / 0.5906 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1566, allocations: 88.17 kB / 0.5907 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.1569, allocations: 155.1 kB / 0.5908 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.1572, allocations: 245.2 kB / 0.5911 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1572, allocations: 4 kB / 0.5911 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007115/0.158, allocations: 410.3 kB / 0.5915 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/0.1581, allocations: 79.38 kB / 0.5915 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1581, allocations: 4 kB / 0.5915 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1581, allocations: 0 / 0.5915 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.1583, allocations: 27.92 kB / 0.5916 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.1583, allocations: 0 / 0.5916 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.1589, allocations: 71.97 kB / 0.5916 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.1589, allocations: 55.98 kB / 0.5917 GB, free: 13.18 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.0001872/0.1591, allocations: 167.9 kB / 0.5918 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.1592, allocations: 23.72 kB / 0.5919 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.1592, allocations: 30.25 kB / 0.5919 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1593, allocations: 7.984 kB / 0.5919 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1593, allocations: 0 / 0.5919 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1593, allocations: 3.984 kB / 0.5919 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007717/0.1601, allocations: 0.5606 MB / 0.5924 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1601, allocations: 0 / 0.5924 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.1601, allocations: 12 kB / 0.5925 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1601, allocations: 0 / 0.5925 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.1602, allocations: 11.97 kB / 0.5925 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1602, allocations: 7.938 kB / 0.5925 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1602, allocations: 4 kB / 0.5925 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.1606, allocations: 321.5 kB / 0.5928 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.1608, allocations: 164.6 kB / 0.5929 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.1608, allocations: 8 kB / 0.593 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.1611, allocations: 15.92 kB / 0.593 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.1611, allocations: 19.97 kB / 0.593 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.1612, allocations: 27.98 kB / 0.593 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001723/0.1614, allocations: 209.9 kB / 0.5932 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1614, allocations: 4 kB / 0.5932 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003112/0.1617, allocations: 44 kB / 0.5933 GB, free: 11.46 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.0001273/0.1618, allocations: 119.2 kB / 0.5934 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005113/0.1623, allocations: 338.6 kB / 0.5937 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1623, allocations: 0 / 0.5937 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1625, allocations: 76.27 kB / 0.5938 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1628, allocations: 27.98 kB / 0.5938 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.1635, allocations: 0.4913 MB / 0.5943 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1638, allocations: 0.7413 MB / 0.595 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1639, allocations: 35.41 kB / 0.595 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.164, allocations: 3.938 kB / 0.595 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of Templates: time 0.004465/0.1684, allocations: 2.985 MB / 0.598 GB, free: 6.602 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)