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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001497/0.001497, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4942/0.4942, allocations: 91.99 MB / 108.5 MB, free: 13.09 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.604/1.604, allocations: 223.2 MB / 354.3 MB, free: 10.41 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.0009077/0.0009077, allocations: 102.1 kB / 427.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004648, allocations: 12 kB / 0.4982 GB, free: 42.06 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2131, allocations: 72.3 MB / 0.5689 GB, free: 1.688 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5309/0.7441, allocations: 104.3 MB / 0.6707 GB, free: 100 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.7444, allocations: 67.97 kB / 0.6707 GB, free: 32 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.7599, allocations: 4.599 MB / 0.6752 GB, free: 11.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.7599, allocations: 0 / 0.6752 GB, free: 11.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.76, allocations: 4 kB / 0.6752 GB, free: 11.45 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.0009648/0.7609, allocations: 0.6727 MB / 0.6759 GB, free: 10.69 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.761, allocations: 12.03 kB / 0.6759 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.7611, allocations: 43.56 kB / 0.6759 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.7615, allocations: 242.7 kB / 0.6762 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.7616, allocations: 12 kB / 0.6762 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.7616, allocations: 19.98 kB / 0.6762 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/0.7626, allocations: 209.4 kB / 0.6764 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7626, allocations: 0 / 0.6764 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.7626, allocations: 8 kB / 0.6764 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.7626, allocations: 0 / 0.6764 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000709/0.7633, allocations: 112.6 kB / 0.6765 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.7638, allocations: 337.3 kB / 0.6768 GB, free: 9.621 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009756/0.7648, allocations: 182.5 kB / 0.677 GB, free: 9.434 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.7648, allocations: 4 kB / 0.677 GB, free: 9.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000865/0.7657, allocations: 219.1 kB / 0.6772 GB, free: 9.203 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.7657, allocations: 0 / 0.6772 GB, free: 9.203 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.002351/0.768, allocations: 482.8 kB / 0.6777 GB, free: 8.727 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.7681, allocations: 63.38 kB / 0.6778 GB, free: 8.652 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.7684, allocations: 262.1 kB / 0.678 GB, free: 8.395 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.7684, allocations: 33.7 kB / 0.678 GB, free: 8.355 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.7685, allocations: 97.12 kB / 0.6781 GB, free: 8.258 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.7686, allocations: 39.48 kB / 0.6782 GB, free: 8.219 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.7686, allocations: 8 kB / 0.6782 GB, free: 8.211 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7688, allocations: 326.8 kB / 0.6785 GB, free: 7.883 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.769, allocations: 87.94 kB / 0.6786 GB, free: 7.797 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.7693, allocations: 142.6 kB / 0.6787 GB, free: 7.637 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.7696, allocations: 151.3 kB / 0.6788 GB, free: 7.477 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7696, allocations: 0 / 0.6788 GB, free: 7.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00076/0.7703, allocations: 408.7 kB / 0.6792 GB, free: 7.059 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/0.7704, allocations: 71.39 kB / 0.6793 GB, free: 6.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.7705, allocations: 4 kB / 0.6793 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.7705, allocations: 4 kB / 0.6793 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.7707, allocations: 23.91 kB / 0.6793 GB, free: 6.945 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.7707, allocations: 4 kB / 0.6793 GB, free: 6.941 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.771, allocations: 40.08 kB / 0.6794 GB, free: 6.902 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/0.7711, allocations: 43.98 kB / 0.6794 GB, free: 6.859 MB / 474.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: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0002169/0.7713, allocations: 174.4 kB / 0.6796 GB, free: 6.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.7714, allocations: 31.58 kB / 0.6796 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.7715, allocations: 34.23 kB / 0.6797 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7715, allocations: 0 / 0.6797 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7715, allocations: 0 / 0.6797 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7715, allocations: 4 kB / 0.6797 GB, free: 6.605 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.7737, allocations: 0.7112 MB / 0.6803 GB, free: 5.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.7737, allocations: 0 / 0.6803 GB, free: 5.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.7737, allocations: 4 kB / 0.6804 GB, free: 5.836 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.7737, allocations: 0 / 0.6804 GB, free: 5.836 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.7738, allocations: 23.97 kB / 0.6804 GB, free: 5.812 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7738, allocations: 0 / 0.6804 GB, free: 5.812 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7738, allocations: 0 / 0.6804 GB, free: 5.812 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.7755, allocations: 474.8 kB / 0.6808 GB, free: 5.332 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.7757, allocations: 156.7 kB / 0.681 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.7758, allocations: 12 kB / 0.681 GB, free: 5.148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.7762, allocations: 39.97 kB / 0.681 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.7762, allocations: 7.984 kB / 0.681 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.953e-05/0.7763, allocations: 43.98 kB / 0.6811 GB, free: 5.059 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.7765, allocations: 205.9 kB / 0.6813 GB, free: 4.855 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7765, allocations: 3.938 kB / 0.6813 GB, free: 4.852 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000377/0.7769, allocations: 51.98 kB / 0.6813 GB, free: 4.801 MB / 474.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: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001764/0.7771, allocations: 119.2 kB / 0.6814 GB, free: 4.676 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.7783, allocations: 404 kB / 0.6818 GB, free: 4.258 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7783, allocations: 0 / 0.6818 GB, free: 4.258 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000732/0.779, allocations: 132.2 kB / 0.682 GB, free: 4.129 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.7793, allocations: 16.59 kB / 0.682 GB, free: 4.113 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.7807, allocations: 499.4 kB / 0.6824 GB, free: 3.598 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.7811, allocations: 0.7506 MB / 0.6832 GB, free: 2.824 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.103e-05/0.7811, allocations: 8.656 kB / 0.6832 GB, free: 2.816 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.7812, allocations: 23.42 kB / 0.6832 GB, free: 2.793 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7812, allocations: 0 / 0.6832 GB, free: 2.793 MB / 474.7 MB Notification: Performance of Templates: time 0.007114/0.7883, allocations: 3.905 MB / 0.687 GB, free: 14.89 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)