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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008332/0.0008334, allocations: 93.41 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009666/0.0009666, allocations: 169.5 kB / 16.58 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6894/0.6894, allocations: 115.5 MB / 407.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 8.219 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 77.52 MB / 0.5593 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00152/0.1398, allocations: 1.213 MB / 0.5605 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1409, allocations: 0.5191 MB / 0.561 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.141, allocations: 0 / 0.561 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.425e-05/0.1411, allocations: 3.938 kB / 0.561 GB, free: 7.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.1412, allocations: 27.91 kB / 0.561 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.1419, allocations: 274 kB / 0.5613 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.1423, allocations: 379.4 kB / 0.5617 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.1424, allocations: 8 kB / 0.5617 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.1428, allocations: 319.4 kB / 0.562 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.1431, allocations: 183.7 kB / 0.5621 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.1432, allocations: 12 kB / 0.5622 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.044e-05/0.1432, allocations: 12 kB / 0.5622 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1434, allocations: 123.7 kB / 0.5623 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.1435, allocations: 97.5 kB / 0.5624 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1438, allocations: 307.6 kB / 0.5627 GB, free: 5.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1438, allocations: 4 kB / 0.5627 GB, free: 5.941 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1438, allocations: 4 kB / 0.5627 GB, free: 5.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1438, allocations: 0 / 0.5627 GB, free: 5.938 MB / 430.1 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.0009428/0.1448, allocations: 0.7573 MB / 0.5634 GB, free: 5.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1448, allocations: 8.031 kB / 0.5634 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.1449, allocations: 51.53 kB / 0.5635 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1453, allocations: 293.3 kB / 0.5638 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.1453, allocations: 15.98 kB / 0.5638 GB, free: 4.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.959e-05/0.1454, allocations: 31.98 kB / 0.5638 GB, free: 4.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009129/0.1463, allocations: 217.4 kB / 0.564 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1464, allocations: 3.953 kB / 0.564 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.1464, allocations: 7.984 kB / 0.564 GB, free: 4.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1464, allocations: 8 kB / 0.564 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.1471, allocations: 103.9 kB / 0.5641 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.1475, allocations: 389.2 kB / 0.5645 GB, free: 3.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009609/0.1485, allocations: 194.5 kB / 0.5647 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006841/0.1492, allocations: 116.8 kB / 0.5648 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1492, allocations: 3.938 kB / 0.5648 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008645/0.1501, allocations: 239.1 kB / 0.565 GB, free: 3.332 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.1501, allocations: 0 / 0.565 GB, free: 3.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002333/0.1525, allocations: 0.5032 MB / 0.5655 GB, free: 2.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1525, allocations: 59.41 kB / 0.5656 GB, free: 2.754 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.1529, allocations: 413.8 kB / 0.566 GB, free: 2.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.153, allocations: 41.69 kB / 0.566 GB, free: 2.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.1531, allocations: 93.45 kB / 0.5661 GB, free: 2.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1531, allocations: 43.47 kB / 0.5661 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.1532, allocations: 15.98 kB / 0.5662 GB, free: 2.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1533, allocations: 322.8 kB / 0.5665 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.1535, allocations: 115.9 kB / 0.5666 GB, free: 1.703 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.1538, allocations: 169.9 kB / 0.5667 GB, free: 1.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.1541, allocations: 189.8 kB / 0.5669 GB, free: 1.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1541, allocations: 0 / 0.5669 GB, free: 1.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000813/0.1549, allocations: 0.4888 MB / 0.5674 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/0.155, allocations: 87.38 kB / 0.5675 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.155, allocations: 4 kB / 0.5675 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1551, allocations: 4 kB / 0.5675 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1552, allocations: 27.95 kB / 0.5675 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.1552, allocations: 7.938 kB / 0.5675 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.1557, allocations: 71.92 kB / 0.5676 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.46e-05/0.1558, allocations: 67.94 kB / 0.5677 GB, free: 0.5352 MB / 430.1 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.0002069/0.156, allocations: 193.5 kB / 0.5678 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.1561, allocations: 35.53 kB / 0.5679 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.1562, allocations: 39.75 kB / 0.5679 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1562, allocations: 8 kB / 0.5679 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1562, allocations: 3.938 kB / 0.5679 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1562, allocations: 0 / 0.5679 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.1583, allocations: 0.7598 MB / 0.5687 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1583, allocations: 0 / 0.5687 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.1583, allocations: 7.938 kB / 0.5687 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1583, allocations: 4 kB / 0.5687 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.1584, allocations: 23.97 kB / 0.5687 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1584, allocations: 0 / 0.5687 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1584, allocations: 3.953 kB / 0.5687 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.16, allocations: 492.8 kB / 0.5692 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.1603, allocations: 200.5 kB / 0.5694 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.1603, allocations: 8 kB / 0.5694 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.1608, allocations: 39.95 kB / 0.5694 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.1608, allocations: 8 kB / 0.5694 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.1609, allocations: 67.86 kB / 0.5695 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002894/0.1612, allocations: 291.1 kB / 0.5698 GB, free: 14.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1612, allocations: 0 / 0.5698 GB, free: 14.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003642/0.1616, allocations: 67.98 kB / 0.5698 GB, free: 14.21 MB / 446.1 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.0001324/0.1617, allocations: 122 kB / 0.5699 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.1629, allocations: 450.5 kB / 0.5704 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1629, allocations: 4 kB / 0.5704 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007107/0.1637, allocations: 124.8 kB / 0.5705 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.164, allocations: 33.84 kB / 0.5705 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1655, allocations: 0.6524 MB / 0.5712 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1658, allocations: 0.7709 MB / 0.5719 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.038e-05/0.1659, allocations: 9.094 kB / 0.5719 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.1659, allocations: 23.42 kB / 0.5719 GB, free: 11.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1659, allocations: 3.938 kB / 0.5719 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Templates: time 0.008194/0.1741, allocations: 4.817 MB / 0.5767 GB, free: 7.055 MB / 446.1 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)