Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001232/0.001232, allocations: 117.3 kB / 17.76 MB, free: 5.336 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.001265/0.001265, allocations: 184.6 kB / 20.69 MB, free: 2.41 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.466/1.466, allocations: 222.9 MB / 246.4 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.106/1.106, allocations: 147.6 MB / 446.2 MB, free: 8.473 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 65.52 kB / 0.6121 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1473, allocations: 83.17 MB / 0.6933 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003037/0.1504, allocations: 1.726 MB / 0.695 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1518, allocations: 0.628 MB / 0.6956 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.468e-05/0.1519, allocations: 0 / 0.6956 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.152, allocations: 13.23 kB / 0.6956 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1522, allocations: 30.78 kB / 0.6956 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.1531, allocations: 361.5 kB / 0.696 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006665/0.1538, allocations: 0.6371 MB / 0.6966 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1539, allocations: 32.02 kB / 0.6966 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004168/0.1543, allocations: 307.9 kB / 0.6969 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.1546, allocations: 157.4 kB / 0.6971 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.1547, allocations: 45.14 kB / 0.6971 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1548, allocations: 41.19 kB / 0.6972 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.155, allocations: 127 kB / 0.6973 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.1552, allocations: 218.3 kB / 0.6975 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.1559, allocations: 0.5979 MB / 0.6981 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1559, allocations: 4 kB / 0.6981 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1559, allocations: 0 / 0.6981 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.1559, allocations: 0 / 0.6981 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.001476/0.1574, allocations: 0.9147 MB / 0.699 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1574, allocations: 12.03 kB / 0.699 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1576, allocations: 60.64 kB / 0.699 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.158, allocations: 330.6 kB / 0.6994 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.1581, allocations: 28.3 kB / 0.6994 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.1582, allocations: 28.38 kB / 0.6994 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1592, allocations: 231.7 kB / 0.6996 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1592, allocations: 4.188 kB / 0.6996 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.1593, allocations: 11.92 kB / 0.6996 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1593, allocations: 0 / 0.6996 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007901/0.1601, allocations: 115.9 kB / 0.6998 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1615, allocations: 0.6758 MB / 0.7004 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.1626, allocations: 186.5 kB / 0.7006 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/0.1633, allocations: 112.8 kB / 0.7007 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1634, allocations: 4 kB / 0.7007 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.1644, allocations: 227.2 kB / 0.7009 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 6.031e-06/0.1644, allocations: 0 / 0.7009 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002712/0.1671, allocations: 0.4959 MB / 0.7014 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.1672, allocations: 67.39 kB / 0.7015 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.1678, allocations: 437.9 kB / 0.7019 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.155e-05/0.1679, allocations: 41.69 kB / 0.7019 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.168, allocations: 101.4 kB / 0.702 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.1681, allocations: 47.69 kB / 0.7021 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.1684, allocations: 141.5 kB / 0.7022 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1685, allocations: 322.8 kB / 0.7025 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.1688, allocations: 131.9 kB / 0.7026 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.1692, allocations: 193.9 kB / 0.7028 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.1696, allocations: 302.5 kB / 0.7031 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1696, allocations: 0 / 0.7031 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009458/0.1706, allocations: 0.5202 MB / 0.7036 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.1707, allocations: 97.41 kB / 0.7037 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1707, allocations: 3.938 kB / 0.7037 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1707, allocations: 4 kB / 0.7037 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.1709, allocations: 19.98 kB / 0.7037 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.1709, allocations: 7.938 kB / 0.7037 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.1714, allocations: 68.02 kB / 0.7038 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.1715, allocations: 63.92 kB / 0.7039 GB, free: 3.266 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.0003005/0.1719, allocations: 213.9 kB / 0.7041 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.1719, allocations: 35.77 kB / 0.7041 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.344e-05/0.172, allocations: 47.78 kB / 0.7042 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.172, allocations: 0 / 0.7042 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.172, allocations: 7.922 kB / 0.7042 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.172, allocations: 0 / 0.7042 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.1743, allocations: 0.7873 MB / 0.7049 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1744, allocations: 0 / 0.7049 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.1744, allocations: 7.938 kB / 0.7049 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1744, allocations: 8 kB / 0.7049 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.1745, allocations: 15.97 kB / 0.705 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.1745, allocations: 7.938 kB / 0.705 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1745, allocations: 0 / 0.705 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.1763, allocations: 487.4 kB / 0.7054 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.1767, allocations: 248.6 kB / 0.7057 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.94e-05/0.1768, allocations: 16 kB / 0.7057 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.1773, allocations: 31.91 kB / 0.7057 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.1773, allocations: 11.98 kB / 0.7057 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.1774, allocations: 59.97 kB / 0.7058 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003728/0.1778, allocations: 319.1 kB / 0.7061 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1778, allocations: 4 kB / 0.7061 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004302/0.1782, allocations: 67.98 kB / 0.7062 GB, free: 0.8203 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.0001923/0.1784, allocations: 123.2 kB / 0.7063 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.1799, allocations: 476.8 kB / 0.7067 GB, free: 204 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1799, allocations: 0 / 0.7067 GB, free: 204 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.1807, allocations: 127.8 kB / 0.7069 GB, free: 76 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1811, allocations: 32.78 kB / 0.7069 GB, free: 40 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1829, allocations: 0.6518 MB / 0.7075 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.1833, allocations: 0.7825 MB / 0.7083 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.1834, allocations: 23.42 kB / 0.7083 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of SimCode: time 3.5e-07/0.1834, allocations: 0 / 0.7083 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.00699/0.1904, allocations: 4.086 MB / 0.7123 GB, free: 10.39 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.192109517054632] Failed to read output from testmodel.py, exit status != 0: 0.48007646994665265 0.212006001 0.053346136 Calling exit ...