Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007636/0.0007637, allocations: 91.77 kB / 16.02 MB, free: 80 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.0009249/0.0009248, allocations: 178.9 kB / 16.92 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9502/0.9502, allocations: 135.3 MB / 427.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002954, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1469, allocations: 82.3 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001479/0.1484, allocations: 1.192 MB / 0.5898 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.1493, allocations: 451.1 kB / 0.5902 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.1494, allocations: 0 / 0.5902 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.416e-05/0.1495, allocations: 7.922 kB / 0.5902 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.902e-05/0.1496, allocations: 12.31 kB / 0.5902 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.1501, allocations: 230.5 kB / 0.5904 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.1504, allocations: 283.9 kB / 0.5907 GB, free: 484 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1505, allocations: 11.98 kB / 0.5907 GB, free: 472 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.1507, allocations: 206.4 kB / 0.5909 GB, free: 268 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.1509, allocations: 127.6 kB / 0.591 GB, free: 140 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.151, allocations: 8 kB / 0.591 GB, free: 132 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-05/0.151, allocations: 12 kB / 0.5911 GB, free: 120 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.714e-05/0.1511, allocations: 75.72 kB / 0.5911 GB, free: 44 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.1513, allocations: 145.1 kB / 0.5913 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1515, allocations: 203.8 kB / 0.5915 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1515, allocations: 0 / 0.5915 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1515, allocations: 0 / 0.5915 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1515, allocations: 4 kB / 0.5915 GB, free: 15.69 MB / 0.4981 GB 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.000966/0.1525, allocations: 0.6141 MB / 0.5921 GB, free: 15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1525, allocations: 12.03 kB / 0.5921 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.1526, allocations: 27.72 kB / 0.5921 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1529, allocations: 258.3 kB / 0.5923 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.1529, allocations: 15.98 kB / 0.5924 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.153, allocations: 24 kB / 0.5924 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.1533, allocations: 141.5 kB / 0.5925 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1533, allocations: 3.938 kB / 0.5925 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1533, allocations: 7.984 kB / 0.5925 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1533, allocations: 0 / 0.5925 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1535, allocations: 47.97 kB / 0.5926 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.1538, allocations: 317.2 kB / 0.5929 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1541, allocations: 134.7 kB / 0.593 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.1542, allocations: 60.83 kB / 0.5931 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1542, allocations: 0 / 0.5931 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.1546, allocations: 221.6 kB / 0.5933 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.1546, allocations: 0 / 0.5933 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005322/0.1552, allocations: 269.1 kB / 0.5935 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1552, allocations: 63.39 kB / 0.5936 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1555, allocations: 290.9 kB / 0.5939 GB, free: 13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.1556, allocations: 37.7 kB / 0.5939 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.1556, allocations: 93.05 kB / 0.594 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.1557, allocations: 51.52 kB / 0.594 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.1558, allocations: 33.7 kB / 0.5941 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.1559, allocations: 322.8 kB / 0.5944 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1561, allocations: 92.17 kB / 0.5945 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.1563, allocations: 147.1 kB / 0.5946 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.1566, allocations: 247.1 kB / 0.5949 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1566, allocations: 3.938 kB / 0.5949 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006471/0.1573, allocations: 418.2 kB / 0.5953 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/0.1573, allocations: 74.2 kB / 0.5953 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1574, allocations: 7.984 kB / 0.5953 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1574, allocations: 0 / 0.5953 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1575, allocations: 31.92 kB / 0.5954 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1576, allocations: 0 / 0.5954 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.1581, allocations: 75.98 kB / 0.5954 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.1582, allocations: 55.97 kB / 0.5955 GB, free: 11.24 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.0001687/0.1583, allocations: 175.9 kB / 0.5957 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1584, allocations: 23.72 kB / 0.5957 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.1584, allocations: 30.25 kB / 0.5957 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1584, allocations: 4 kB / 0.5957 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1584, allocations: 0 / 0.5957 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1585, allocations: 3.984 kB / 0.5957 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.1592, allocations: 0.5567 MB / 0.5963 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1592, allocations: 0 / 0.5963 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.1592, allocations: 8 kB / 0.5963 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1592, allocations: 0 / 0.5963 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.1593, allocations: 19.97 kB / 0.5963 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1593, allocations: 11.94 kB / 0.5963 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1593, allocations: 0 / 0.5963 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.1597, allocations: 319 kB / 0.5966 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.1598, allocations: 160.5 kB / 0.5968 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.1599, allocations: 12 kB / 0.5968 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.1601, allocations: 19.86 kB / 0.5968 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.1602, allocations: 15.97 kB / 0.5968 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.1602, allocations: 35.98 kB / 0.5968 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001653/0.1604, allocations: 209.9 kB / 0.597 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1604, allocations: 0 / 0.597 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003007/0.1607, allocations: 48 kB / 0.5971 GB, free: 9.512 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.0001189/0.1608, allocations: 115.2 kB / 0.5972 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005021/0.1613, allocations: 341 kB / 0.5975 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1613, allocations: 4.062 kB / 0.5975 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1615, allocations: 75.89 kB / 0.5976 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1618, allocations: 24.88 kB / 0.5976 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.1625, allocations: 0.4958 MB / 0.5981 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1628, allocations: 0.736 MB / 0.5988 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1629, allocations: 39.42 kB / 0.5989 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1629, allocations: 0 / 0.5989 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of Templates: time 0.004415/0.1673, allocations: 2.965 MB / 0.6018 GB, free: 4.664 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)