Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 103.7 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 193.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.093/1.093, allocations: 147.6 MB / 445.5 MB, free: 8.297 MB / 350.1 MB " [Timeout remaining time 179] 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 65.38 kB / 0.6114 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1514, allocations: 83.17 MB / 0.6926 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003046/0.1545, allocations: 1.719 MB / 0.6943 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1559, allocations: 0.6216 MB / 0.6949 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.156, allocations: 0 / 0.6949 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.795e-05/0.1561, allocations: 11.81 kB / 0.6949 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.1562, allocations: 37.28 kB / 0.6949 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.157, allocations: 368.4 kB / 0.6953 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.1577, allocations: 0.63 MB / 0.6959 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1578, allocations: 34.83 kB / 0.6959 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.1582, allocations: 309.1 kB / 0.6962 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.1585, allocations: 164.8 kB / 0.6964 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.785e-05/0.1586, allocations: 41.25 kB / 0.6964 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.1587, allocations: 41.25 kB / 0.6965 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.1589, allocations: 128.1 kB / 0.6966 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.1591, allocations: 216.9 kB / 0.6968 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.1597, allocations: 0.5938 MB / 0.6974 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1597, allocations: 0 / 0.6974 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1597, allocations: 1.375 kB / 0.6974 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1597, allocations: 0 / 0.6974 GB, free: 9.523 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001357/0.1611, allocations: 0.9268 MB / 0.6983 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1611, allocations: 8.031 kB / 0.6983 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1612, allocations: 56.66 kB / 0.6983 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.1617, allocations: 334.6 kB / 0.6987 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.1617, allocations: 20.36 kB / 0.6987 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.1618, allocations: 32.36 kB / 0.6987 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.1629, allocations: 235.2 kB / 0.6989 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1629, allocations: 4.125 kB / 0.6989 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.1629, allocations: 7.938 kB / 0.6989 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1629, allocations: 0 / 0.6989 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.1637, allocations: 115.9 kB / 0.6991 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.165, allocations: 0.6759 MB / 0.6997 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1661, allocations: 178.4 kB / 0.6999 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007718/0.1669, allocations: 116.8 kB / 0.7 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.167, allocations: 7.984 kB / 0.7 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000987/0.1679, allocations: 225.9 kB / 0.7002 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.168, allocations: 4 kB / 0.7002 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002704/0.1707, allocations: 0.4894 MB / 0.7007 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.1708, allocations: 63.41 kB / 0.7008 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.1713, allocations: 441.8 kB / 0.7012 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.431e-05/0.1714, allocations: 45.69 kB / 0.7012 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.1715, allocations: 101.4 kB / 0.7013 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.1715, allocations: 43.67 kB / 0.7014 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.1718, allocations: 133.5 kB / 0.7015 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1719, allocations: 330.8 kB / 0.7018 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.1723, allocations: 139.9 kB / 0.7019 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.1726, allocations: 187.5 kB / 0.7021 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.1731, allocations: 302.8 kB / 0.7024 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1731, allocations: 0 / 0.7024 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009395/0.174, allocations: 0.5139 MB / 0.7029 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.727e-05/0.1741, allocations: 95.38 kB / 0.703 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1741, allocations: 7.938 kB / 0.703 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1742, allocations: 4.188 kB / 0.703 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1743, allocations: 35.84 kB / 0.7031 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1744, allocations: 7.984 kB / 0.7031 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.1748, allocations: 55.84 kB / 0.7031 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.175, allocations: 59.98 kB / 0.7032 GB, free: 3.289 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002803/0.1752, allocations: 232.2 kB / 0.7034 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.1753, allocations: 35.77 kB / 0.7034 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.455e-05/0.1754, allocations: 35.8 kB / 0.7035 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1754, allocations: 4 kB / 0.7035 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1754, allocations: 0 / 0.7035 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1754, allocations: 3.984 kB / 0.7035 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.1777, allocations: 0.7873 MB / 0.7042 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1777, allocations: 0 / 0.7042 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.1778, allocations: 7.984 kB / 0.7042 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1778, allocations: 0 / 0.7042 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.1778, allocations: 19.98 kB / 0.7043 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.1778, allocations: 7.922 kB / 0.7043 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1778, allocations: 0 / 0.7043 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.1796, allocations: 489.2 kB / 0.7047 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.1799, allocations: 244.6 kB / 0.705 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/0.18, allocations: 16 kB / 0.705 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.1805, allocations: 43.83 kB / 0.705 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1805, allocations: 8 kB / 0.705 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.201e-05/0.1806, allocations: 59.97 kB / 0.7051 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000353/0.181, allocations: 315.1 kB / 0.7054 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.181, allocations: 0 / 0.7054 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003822/0.1814, allocations: 67.98 kB / 0.7055 GB, free: 0.8438 MB / 0.5137 GB 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/0.1816, allocations: 131.2 kB / 0.7056 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.1829, allocations: 478.4 kB / 0.706 GB, free: 216 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1829, allocations: 0 / 0.706 GB, free: 216 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007774/0.1837, allocations: 126.1 kB / 0.7062 GB, free: 92 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.1841, allocations: 38.78 kB / 0.7062 GB, free: 48 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.1857, allocations: 0.5979 MB / 0.7068 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.1862, allocations: 0.7825 MB / 0.7075 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.306e-05/0.1863, allocations: 17.42 kB / 0.7076 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.1863, allocations: 23.36 kB / 0.7076 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.1863, allocations: 0 / 0.7076 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.0102/0.1965, allocations: 5.408 MB / 0.7129 GB, free: 9.086 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.894773433916271] Failed to read output from testmodel.py, exit status != 0: 0.4945432348176837 0.217161289 0.054801035000000005 Calling exit ...