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.00145/0.00145, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5248/0.5248, allocations: 90.92 MB / 99.35 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.385/1.385, allocations: 221.5 MB / 343.2 MB, free: 1.527 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.0008924/0.0008922, allocations: 86.92 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.356e-05/1.358e-05, allocations: 0 / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5644, allocations: 103.5 MB / 0.6546 GB, free: 6.715 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.5647, allocations: 67.53 kB / 0.6547 GB, free: 6.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01388/0.5786, allocations: 4.57 MB / 0.6592 GB, free: 2.762 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5786, allocations: 0 / 0.6592 GB, free: 2.762 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.5786, allocations: 4 kB / 0.6592 GB, free: 2.758 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.0007275/0.5794, allocations: 0.6318 MB / 0.6598 GB, free: 2.066 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5794, allocations: 12.03 kB / 0.6598 GB, free: 2.055 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.229e-05/0.5795, allocations: 35.66 kB / 0.6598 GB, free: 2.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.5798, allocations: 248.7 kB / 0.6601 GB, free: 1.742 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.5799, allocations: 6.875 kB / 0.6601 GB, free: 1.738 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.5799, allocations: 12 kB / 0.6601 GB, free: 1.727 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/0.58, allocations: 45.36 kB / 0.6601 GB, free: 1.695 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.5803, allocations: 144.3 kB / 0.6603 GB, free: 1.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5803, allocations: 7.938 kB / 0.6603 GB, free: 1.562 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.5803, allocations: 3.562 kB / 0.6603 GB, free: 1.562 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5804, allocations: 7.953 kB / 0.6603 GB, free: 1.555 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.5807, allocations: 294.7 kB / 0.6606 GB, free: 1.277 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.5808, allocations: 96.88 kB / 0.6606 GB, free: 1.203 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.5809, allocations: 56.16 kB / 0.6607 GB, free: 1.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.5809, allocations: 7.984 kB / 0.6607 GB, free: 1.152 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.5812, allocations: 163.1 kB / 0.6609 GB, free: 1.008 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.5812, allocations: 3.938 kB / 0.6609 GB, free: 1.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004162/0.5816, allocations: 248.2 kB / 0.6611 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5816, allocations: 62.7 kB / 0.6612 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.5818, allocations: 235.2 kB / 0.6614 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.5819, allocations: 37.33 kB / 0.6614 GB, free: 500 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.582, allocations: 96.59 kB / 0.6615 GB, free: 404 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.582, allocations: 30.25 kB / 0.6615 GB, free: 380 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.582, allocations: 7.984 kB / 0.6616 GB, free: 372 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.5821, allocations: 322.4 kB / 0.6619 GB, free: 44 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.5823, allocations: 78.02 kB / 0.6619 GB, free: 15.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.5825, allocations: 122.7 kB / 0.6621 GB, free: 15.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.5826, allocations: 74.45 kB / 0.6621 GB, free: 15.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5826, allocations: 0 / 0.6621 GB, free: 15.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004724/0.5831, allocations: 295.7 kB / 0.6624 GB, free: 15.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.5832, allocations: 74.44 kB / 0.6625 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5832, allocations: 8.188 kB / 0.6625 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5832, allocations: 4 kB / 0.6625 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.5834, allocations: 23.42 kB / 0.6625 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5834, allocations: 7.938 kB / 0.6625 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.5837, allocations: 39.88 kB / 0.6626 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/0.5838, allocations: 43.55 kB / 0.6626 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.0001222/0.5839, allocations: 122.7 kB / 0.6627 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.5839, allocations: 31.66 kB / 0.6627 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.584, allocations: 28.95 kB / 0.6628 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.584, allocations: 0 / 0.6628 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.584, allocations: 3.938 kB / 0.6628 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.584, allocations: 4 kB / 0.6628 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.5848, allocations: 0.5567 MB / 0.6633 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.5848, allocations: 0 / 0.6633 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.5848, allocations: 8 kB / 0.6633 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5848, allocations: 0 / 0.6633 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.5849, allocations: 15.97 kB / 0.6633 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5849, allocations: 7.984 kB / 0.6634 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5849, allocations: 3.938 kB / 0.6634 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.5853, allocations: 343.2 kB / 0.6637 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.5854, allocations: 165.1 kB / 0.6638 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.5855, allocations: 11.36 kB / 0.6639 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.5859, allocations: 35.97 kB / 0.6639 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.5859, allocations: 7.312 kB / 0.6639 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.586, allocations: 39.97 kB / 0.6639 GB, free: 14.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.5861, allocations: 200.3 kB / 0.6641 GB, free: 13.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5861, allocations: 0 / 0.6641 GB, free: 13.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.5865, allocations: 44 kB / 0.6642 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.0001446/0.5866, allocations: 121.5 kB / 0.6643 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.587, allocations: 313.7 kB / 0.6646 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.587, allocations: 0 / 0.6646 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.5871, allocations: 66.16 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.0002249/0.5873, allocations: 19.02 kB / 0.6647 GB, free: 13.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.5878, allocations: 272.7 kB / 0.6649 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.5881, allocations: 0.7482 MB / 0.6657 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.239e-05/0.5882, allocations: 20.75 kB / 0.6657 GB, free: 12.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.5882, allocations: 14.69 kB / 0.6657 GB, free: 12.36 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5882, allocations: 3.938 kB / 0.6657 GB, free: 12.35 MB / 474.7 MB Notification: Performance of Templates: time 0.006066/0.5943, allocations: 3.748 MB / 0.6694 GB, free: 8.621 MB / 474.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)