Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 177.5 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4835/0.4835, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 102.1 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.549e-05/1.552e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 72.32 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4415/0.5634, allocations: 103.5 MB / 0.6546 GB, free: 6.715 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.5637, allocations: 73.27 kB / 0.6547 GB, free: 6.676 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.5783, allocations: 4.557 MB / 0.6591 GB, free: 2.766 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5784, allocations: 0 / 0.6591 GB, free: 2.766 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.5784, allocations: 0 / 0.6591 GB, free: 2.766 MB / 458.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.0006835/0.5791, allocations: 0.6319 MB / 0.6597 GB, free: 2.074 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5791, allocations: 8.031 kB / 0.6597 GB, free: 2.066 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.588e-05/0.5792, allocations: 35.67 kB / 0.6598 GB, free: 2.031 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.5796, allocations: 259.5 kB / 0.66 GB, free: 1.746 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.5796, allocations: 7.984 kB / 0.66 GB, free: 1.738 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.5797, allocations: 19.38 kB / 0.66 GB, free: 1.723 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001134/0.5798, allocations: 41.42 kB / 0.6601 GB, free: 1.695 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.58, allocations: 142.7 kB / 0.6602 GB, free: 1.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.58, allocations: 0 / 0.6602 GB, free: 1.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.5801, allocations: 7.109 kB / 0.6602 GB, free: 1.566 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5801, allocations: 7.953 kB / 0.6602 GB, free: 1.559 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.5804, allocations: 296.2 kB / 0.6605 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.5806, allocations: 101.5 kB / 0.6606 GB, free: 1.199 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.5807, allocations: 53.66 kB / 0.6607 GB, free: 1.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.5807, allocations: 15.92 kB / 0.6607 GB, free: 1.145 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.5809, allocations: 156 kB / 0.6608 GB, free: 1.008 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.581, allocations: 4 kB / 0.6608 GB, free: 1.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004576/0.5814, allocations: 241.5 kB / 0.6611 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.5815, allocations: 59.34 kB / 0.6611 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.5817, allocations: 246.7 kB / 0.6613 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.5817, allocations: 29.7 kB / 0.6614 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.5818, allocations: 93.05 kB / 0.6615 GB, free: 412 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.5819, allocations: 33.61 kB / 0.6615 GB, free: 384 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.5819, allocations: 0 / 0.6615 GB, free: 384 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.582, allocations: 329.6 kB / 0.6618 GB, free: 52 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.5822, allocations: 78.3 kB / 0.6619 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.5824, allocations: 129.2 kB / 0.662 GB, free: 15.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.5825, allocations: 73.77 kB / 0.6621 GB, free: 15.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5825, allocations: 0 / 0.6621 GB, free: 15.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004974/0.583, allocations: 297.6 kB / 0.6624 GB, free: 15.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.5831, allocations: 73.58 kB / 0.6624 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5831, allocations: 0 / 0.6624 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5831, allocations: 4 kB / 0.6624 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.5833, allocations: 23.91 kB / 0.6625 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5833, allocations: 7.938 kB / 0.6625 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.5836, allocations: 40.02 kB / 0.6625 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.5837, allocations: 47.47 kB / 0.6625 GB, free: 15.39 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 () * 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.0001208/0.5839, allocations: 122.6 kB / 0.6627 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.5839, allocations: 27.67 kB / 0.6627 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.584, allocations: 24.39 kB / 0.6627 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.584, allocations: 8 kB / 0.6627 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.584, allocations: 0 / 0.6627 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.584, allocations: 0 / 0.6627 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006652/0.5847, allocations: 0.565 MB / 0.6633 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5847, allocations: 0 / 0.6633 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.5847, allocations: 4 kB / 0.6633 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5847, allocations: 4 kB / 0.6633 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.5848, allocations: 15.97 kB / 0.6633 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.5848, allocations: 0 / 0.6633 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5848, allocations: 4 kB / 0.6633 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.5852, allocations: 340.2 kB / 0.6636 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.5853, allocations: 167.4 kB / 0.6638 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.5854, allocations: 7.875 kB / 0.6638 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.5858, allocations: 39.66 kB / 0.6638 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.5859, allocations: 11.98 kB / 0.6638 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/0.5859, allocations: 39.97 kB / 0.6639 GB, free: 14.08 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.5861, allocations: 198 kB / 0.6641 GB, free: 13.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5861, allocations: 0 / 0.6641 GB, free: 13.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.5864, allocations: 51.73 kB / 0.6641 GB, free: 13.87 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) * 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.0001599/0.5866, allocations: 107.8 kB / 0.6642 GB, free: 13.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004399/0.587, allocations: 324.4 kB / 0.6645 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5871, allocations: 0 / 0.6645 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.5871, allocations: 68.84 kB / 0.6646 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.5874, allocations: 16.14 kB / 0.6646 GB, free: 13.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.5879, allocations: 274.6 kB / 0.6649 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.5882, allocations: 0.7451 MB / 0.6656 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.561e-05/0.5882, allocations: 12.77 kB / 0.6656 GB, free: 12.38 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.5883, allocations: 15.42 kB / 0.6656 GB, free: 12.37 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5883, allocations: 0 / 0.6656 GB, free: 12.37 MB / 474.7 MB Notification: Performance of Templates: time 0.00656/0.5949, allocations: 3.749 MB / 0.6693 GB, free: 8.633 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)