Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5288/0.5288, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.507/1.507, allocations: 223.3 MB / 348.4 MB, free: 4.961 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.0008423/0.0008423, allocations: 103.3 kB / 420.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004457, allocations: 16 kB / 0.4901 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4135, allocations: 71 MB / 0.5594 GB, free: 43.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.548, allocations: 102.1 MB / 0.6591 GB, free: 7.422 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5482, allocations: 69.97 kB / 0.6592 GB, free: 7.355 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.5613, allocations: 4.492 MB / 0.6636 GB, free: 2.863 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5614, allocations: 0 / 0.6636 GB, free: 2.863 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.5614, allocations: 4 kB / 0.6636 GB, free: 2.859 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.000927/0.5623, allocations: 0.6183 MB / 0.6642 GB, free: 2.164 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.5624, allocations: 11.97 kB / 0.6642 GB, free: 2.152 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.5625, allocations: 32.66 kB / 0.6642 GB, free: 2.121 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.5628, allocations: 259.6 kB / 0.6645 GB, free: 1.832 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.5628, allocations: 12.38 kB / 0.6645 GB, free: 1.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.5629, allocations: 20.36 kB / 0.6645 GB, free: 1.801 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.5632, allocations: 146.1 kB / 0.6646 GB, free: 1.652 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5632, allocations: 4.188 kB / 0.6646 GB, free: 1.648 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.5632, allocations: 3.938 kB / 0.6646 GB, free: 1.645 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5633, allocations: 0 / 0.6646 GB, free: 1.645 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.5634, allocations: 51.91 kB / 0.6647 GB, free: 1.594 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.5638, allocations: 333.2 kB / 0.665 GB, free: 1.219 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.5641, allocations: 122.7 kB / 0.6651 GB, free: 1.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.5642, allocations: 60.84 kB / 0.6652 GB, free: 1.027 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.5642, allocations: 3.984 kB / 0.6652 GB, free: 1.023 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.5646, allocations: 213.3 kB / 0.6654 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.5646, allocations: 4 kB / 0.6654 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.000554/0.5652, allocations: 273 kB / 0.6657 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.5653, allocations: 67.33 kB / 0.6657 GB, free: 460 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.5656, allocations: 287 kB / 0.666 GB, free: 156 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.5656, allocations: 33.7 kB / 0.666 GB, free: 116 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.5657, allocations: 89.14 kB / 0.6661 GB, free: 24 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.5658, allocations: 47.66 kB / 0.6662 GB, free: 15.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.5658, allocations: 8 kB / 0.6662 GB, free: 15.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.5659, allocations: 326.8 kB / 0.6665 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.5662, allocations: 104.2 kB / 0.6666 GB, free: 15.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.5665, allocations: 149 kB / 0.6667 GB, free: 15.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.5668, allocations: 251.8 kB / 0.667 GB, free: 15.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5668, allocations: 3.938 kB / 0.667 GB, free: 15.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007263/0.5676, allocations: 424.6 kB / 0.6674 GB, free: 14.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.365e-05/0.5677, allocations: 77.45 kB / 0.6674 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5677, allocations: 4 kB / 0.6675 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5677, allocations: 0 / 0.6675 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.5679, allocations: 35.84 kB / 0.6675 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5679, allocations: 0 / 0.6675 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.5682, allocations: 47.88 kB / 0.6675 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/0.5683, allocations: 51.98 kB / 0.6676 GB, free: 14.43 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.0001858/0.5685, allocations: 184.2 kB / 0.6678 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.5685, allocations: 23.72 kB / 0.6678 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.5686, allocations: 34.19 kB / 0.6678 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5686, allocations: 7.938 kB / 0.6678 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5686, allocations: 0 / 0.6678 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5686, allocations: 0 / 0.6678 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.5694, allocations: 0.5568 MB / 0.6684 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5694, allocations: 3.938 kB / 0.6684 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.5695, allocations: 11.98 kB / 0.6684 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5695, allocations: 0 / 0.6684 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.5695, allocations: 7.984 kB / 0.6684 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5695, allocations: 4 kB / 0.6684 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5695, allocations: 4 kB / 0.6684 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.5699, allocations: 317 kB / 0.6687 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.5701, allocations: 164.7 kB / 0.6689 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.5701, allocations: 11.98 kB / 0.6689 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.5703, allocations: 4 kB / 0.6689 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.5704, allocations: 23.97 kB / 0.6689 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.5704, allocations: 23.98 kB / 0.6689 GB, free: 12.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.5706, allocations: 209.9 kB / 0.6691 GB, free: 12.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5706, allocations: 0 / 0.6691 GB, free: 12.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000305/0.5709, allocations: 52.38 kB / 0.6692 GB, free: 12.71 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.0001508/0.5711, allocations: 129.8 kB / 0.6693 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005698/0.5717, allocations: 358.5 kB / 0.6696 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5717, allocations: 0 / 0.6696 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.5718, allocations: 75.89 kB / 0.6697 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.5722, allocations: 29.08 kB / 0.6697 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.5728, allocations: 439.8 kB / 0.6701 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.5732, allocations: 0.7476 MB / 0.6709 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.5733, allocations: 41.06 kB / 0.6709 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5735, allocations: 35.42 kB / 0.671 GB, free: 10.8 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5735, allocations: 0 / 0.671 GB, free: 10.8 MB / 490.7 MB Notification: Performance of Templates: time 0.008381/0.5818, allocations: 4.323 MB / 0.6752 GB, free: 6.48 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)