Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 177.6 kB / 8.002 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.494/0.494, allocations: 90.91 MB / 99.35 MB, free: 2.199 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.416/1.416, allocations: 221.5 MB / 343.2 MB, free: 1.586 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.000926/0.0009258, allocations: 87.47 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.305e-05/1.315e-05, allocations: 7.938 kB / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.5022, allocations: 103.5 MB / 0.6546 GB, free: 6.723 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.5024, allocations: 72.89 kB / 0.6546 GB, free: 6.684 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01334/0.5158, allocations: 4.568 MB / 0.6591 GB, free: 2.766 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5158, allocations: 0 / 0.6591 GB, free: 2.766 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.5158, allocations: 4 kB / 0.6591 GB, free: 2.762 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.0006513/0.5165, allocations: 0.622 MB / 0.6597 GB, free: 2.078 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.5165, allocations: 12.78 kB / 0.6597 GB, free: 2.066 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.839e-05/0.5166, allocations: 35.67 kB / 0.6598 GB, free: 2.031 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.5169, allocations: 253 kB / 0.66 GB, free: 1.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.517, allocations: 11.48 kB / 0.66 GB, free: 1.742 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.517, allocations: 12 kB / 0.66 GB, free: 1.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000117/0.5171, allocations: 45.61 kB / 0.6601 GB, free: 1.699 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.5174, allocations: 141.3 kB / 0.6602 GB, free: 1.578 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5174, allocations: 3.984 kB / 0.6602 GB, free: 1.574 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.5174, allocations: 3.938 kB / 0.6602 GB, free: 1.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5174, allocations: 3.953 kB / 0.6602 GB, free: 1.566 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.5177, allocations: 306.1 kB / 0.6605 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.5179, allocations: 96.17 kB / 0.6606 GB, free: 1.203 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/0.518, allocations: 57.97 kB / 0.6607 GB, free: 1.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.518, allocations: 4 kB / 0.6607 GB, free: 1.156 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.5182, allocations: 164.1 kB / 0.6608 GB, free: 1.012 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.5182, allocations: 0 / 0.6608 GB, free: 1.012 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004097/0.5186, allocations: 240.3 kB / 0.661 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.5187, allocations: 67.03 kB / 0.6611 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.5189, allocations: 241.9 kB / 0.6613 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.5189, allocations: 29.7 kB / 0.6614 GB, free: 0.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.519, allocations: 97.11 kB / 0.6615 GB, free: 416 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.519, allocations: 29.98 kB / 0.6615 GB, free: 392 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.5191, allocations: 4 kB / 0.6615 GB, free: 388 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.5192, allocations: 333.6 kB / 0.6618 GB, free: 52 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.5193, allocations: 72.92 kB / 0.6619 GB, free: 4 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.5195, allocations: 129.7 kB / 0.662 GB, free: 15.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.5196, allocations: 70.45 kB / 0.6621 GB, free: 15.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5196, allocations: 4 kB / 0.6621 GB, free: 15.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004739/0.5201, allocations: 298 kB / 0.6624 GB, free: 15.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.5202, allocations: 72.14 kB / 0.6624 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5202, allocations: 0 / 0.6624 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5202, allocations: 4 kB / 0.6624 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.5204, allocations: 31.47 kB / 0.6625 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5204, allocations: 8 kB / 0.6625 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.5207, allocations: 35.83 kB / 0.6625 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.5208, allocations: 43.78 kB / 0.6625 GB, free: 15.4 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0001105/0.5209, allocations: 127.3 kB / 0.6627 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.5209, allocations: 27.67 kB / 0.6627 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.521, allocations: 33.39 kB / 0.6627 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.521, allocations: 0 / 0.6627 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.521, allocations: 4 kB / 0.6627 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.521, allocations: 3.984 kB / 0.6627 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006796/0.5217, allocations: 0.5586 MB / 0.6633 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5217, allocations: 0 / 0.6633 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.5218, allocations: 4 kB / 0.6633 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5218, allocations: 0 / 0.6633 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.5218, allocations: 19.72 kB / 0.6633 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5218, allocations: 4 kB / 0.6633 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5218, allocations: 0 / 0.6633 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.5222, allocations: 343.2 kB / 0.6636 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.5223, allocations: 164.9 kB / 0.6638 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.5224, allocations: 10.44 kB / 0.6638 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.5228, allocations: 35.97 kB / 0.6638 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.5228, allocations: 7.984 kB / 0.6638 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/0.5229, allocations: 51.09 kB / 0.6639 GB, free: 14.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.5231, allocations: 190.4 kB / 0.6641 GB, free: 13.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5231, allocations: 0 / 0.6641 GB, free: 13.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.5234, allocations: 47.98 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001405/0.5235, allocations: 115.6 kB / 0.6642 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004051/0.5239, allocations: 315.6 kB / 0.6645 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5239, allocations: 8 kB / 0.6645 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.524, allocations: 57.23 kB / 0.6646 GB, free: 13.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.5243, allocations: 20.2 kB / 0.6646 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.5247, allocations: 268.8 kB / 0.6649 GB, free: 13.17 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.525, allocations: 0.7466 MB / 0.6656 GB, free: 12.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.5251, allocations: 12.77 kB / 0.6656 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.5251, allocations: 19.42 kB / 0.6656 GB, free: 12.37 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5251, allocations: 0 / 0.6656 GB, free: 12.37 MB / 474.7 MB Notification: Performance of Templates: time 0.006547/0.5317, allocations: 3.783 MB / 0.6693 GB, free: 8.594 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)