Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 176 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5416/0.5416, allocations: 86.28 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 348.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008555/0.0008556, allocations: 101.3 kB / 420.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.000416, allocations: 8 kB / 0.4901 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.415, allocations: 71.01 MB / 0.5594 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5549, allocations: 102.1 MB / 0.6591 GB, free: 7.453 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5552, allocations: 67.97 kB / 0.6592 GB, free: 7.387 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.5686, allocations: 4.494 MB / 0.6636 GB, free: 2.895 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5686, allocations: 0 / 0.6636 GB, free: 2.895 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.5687, allocations: 4 kB / 0.6636 GB, free: 2.891 MB / 474.7 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.001103/0.5698, allocations: 0.6221 MB / 0.6642 GB, free: 2.191 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5698, allocations: 8.031 kB / 0.6642 GB, free: 2.184 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.57, allocations: 32.66 kB / 0.6642 GB, free: 2.152 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.5704, allocations: 263.7 kB / 0.6645 GB, free: 1.859 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.5705, allocations: 8.359 kB / 0.6645 GB, free: 1.852 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.53e-05/0.5706, allocations: 20.38 kB / 0.6645 GB, free: 1.832 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.5709, allocations: 144.7 kB / 0.6646 GB, free: 1.688 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5709, allocations: 192 / 0.6646 GB, free: 1.688 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.5709, allocations: 7.938 kB / 0.6646 GB, free: 1.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5709, allocations: 0 / 0.6646 GB, free: 1.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.5711, allocations: 47.97 kB / 0.6647 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.5715, allocations: 329.2 kB / 0.665 GB, free: 1.262 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.5718, allocations: 134.6 kB / 0.6651 GB, free: 1.121 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.5719, allocations: 56.83 kB / 0.6652 GB, free: 1.062 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.572, allocations: 4 kB / 0.6652 GB, free: 1.059 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.5724, allocations: 217 kB / 0.6654 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/0.5724, allocations: 0 / 0.6654 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005887/0.573, allocations: 274.6 kB / 0.6657 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.5731, allocations: 59.39 kB / 0.6657 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.5734, allocations: 287 kB / 0.666 GB, free: 200 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.5735, allocations: 37.64 kB / 0.666 GB, free: 156 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.5736, allocations: 101.1 kB / 0.6661 GB, free: 52 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.5736, allocations: 39.5 kB / 0.6662 GB, free: 12 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.5737, allocations: 11.94 kB / 0.6662 GB, free: 0 / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5738, allocations: 326.8 kB / 0.6665 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.5741, allocations: 100.2 kB / 0.6666 GB, free: 15.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.5744, allocations: 161 kB / 0.6667 GB, free: 15.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.5748, allocations: 239.9 kB / 0.667 GB, free: 15.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.5748, allocations: 0 / 0.667 GB, free: 15.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008045/0.5756, allocations: 428.5 kB / 0.6674 GB, free: 14.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/0.5757, allocations: 75.38 kB / 0.6674 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5758, allocations: 4 kB / 0.6674 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.5758, allocations: 0 / 0.6674 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.576, allocations: 35.86 kB / 0.6675 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.576, allocations: 0 / 0.6675 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.5764, allocations: 56.06 kB / 0.6675 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.704e-05/0.5765, allocations: 47.98 kB / 0.6676 GB, free: 14.46 MB / 490.7 MB 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.0002194/0.5767, allocations: 184.2 kB / 0.6678 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.5767, allocations: 31.66 kB / 0.6678 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.5768, allocations: 26.25 kB / 0.6678 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.5768, allocations: 11.94 kB / 0.6678 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.5768, allocations: 0 / 0.6678 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5768, allocations: 0 / 0.6678 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/0.5777, allocations: 0.555 MB / 0.6684 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5777, allocations: 7.922 kB / 0.6684 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.5778, allocations: 8 kB / 0.6684 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.5778, allocations: 0 / 0.6684 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.5778, allocations: 11.98 kB / 0.6684 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5778, allocations: 4 kB / 0.6684 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5779, allocations: 0 / 0.6684 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.5784, allocations: 323 kB / 0.6687 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.5786, allocations: 156.7 kB / 0.6689 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.5786, allocations: 8 kB / 0.6689 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.5788, allocations: 8 kB / 0.6689 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.5789, allocations: 19.97 kB / 0.6689 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.5789, allocations: 27.98 kB / 0.6689 GB, free: 13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002069/0.5791, allocations: 213.9 kB / 0.6691 GB, free: 12.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5791, allocations: 0 / 0.6691 GB, free: 12.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.5795, allocations: 52.36 kB / 0.6692 GB, free: 12.74 MB / 490.7 MB 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.0001803/0.5797, allocations: 121.8 kB / 0.6693 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006103/0.5803, allocations: 360.6 kB / 0.6696 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5803, allocations: 0 / 0.6696 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.5805, allocations: 72.28 kB / 0.6697 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.5808, allocations: 31.06 kB / 0.6697 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.5816, allocations: 451.2 kB / 0.6702 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.582, allocations: 0.736 MB / 0.6709 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.5822, allocations: 37.08 kB / 0.6709 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5823, allocations: 35.42 kB / 0.6709 GB, free: 10.84 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5823, allocations: 0 / 0.6709 GB, free: 10.84 MB / 490.7 MB Notification: Performance of Templates: time 0.008576/0.5909, allocations: 4.324 MB / 0.6752 GB, free: 6.52 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)