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.001021/0.001021, allocations: 109.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7219/0.7219, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 69.25 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1586, allocations: 76.18 MB / 0.632 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002541/0.1611, allocations: 1.51 MB / 0.6335 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1624, allocations: 0.5383 MB / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.1624, allocations: 0 / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.1625, allocations: 11.86 kB / 0.6341 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.953e-05/0.1626, allocations: 27.84 kB / 0.6341 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007126/0.1634, allocations: 305.2 kB / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005365/0.1639, allocations: 0.5072 MB / 0.6349 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.164, allocations: 11.98 kB / 0.6349 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.1643, allocations: 275.6 kB / 0.6351 GB, free: 1.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.1646, allocations: 150 kB / 0.6353 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.829e-05/0.1647, allocations: 24 kB / 0.6353 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.85e-05/0.1648, allocations: 28 kB / 0.6353 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1649, allocations: 123.6 kB / 0.6355 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1651, allocations: 179.1 kB / 0.6356 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.1655, allocations: 422.6 kB / 0.636 GB, free: 372 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1655, allocations: 0 / 0.636 GB, free: 372 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1655, allocations: 0 / 0.636 GB, free: 372 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1655, allocations: 0 / 0.636 GB, free: 372 kB / 478.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.001245/0.1668, allocations: 0.8703 MB / 0.6369 GB, free: 15.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1668, allocations: 8.031 kB / 0.6369 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.1669, allocations: 56.47 kB / 0.6369 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.1673, allocations: 318.2 kB / 0.6372 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.1674, allocations: 12.38 kB / 0.6373 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.1674, allocations: 28.36 kB / 0.6373 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.1685, allocations: 213.5 kB / 0.6375 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1685, allocations: 4.172 kB / 0.6375 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.1686, allocations: 7.938 kB / 0.6375 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1686, allocations: 4 kB / 0.6375 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007631/0.1694, allocations: 99.86 kB / 0.6376 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.1698, allocations: 389.2 kB / 0.638 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1709, allocations: 178.5 kB / 0.6381 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007274/0.1716, allocations: 109.2 kB / 0.6382 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1716, allocations: 0 / 0.6382 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000936/0.1726, allocations: 229.5 kB / 0.6385 GB, free: 13.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.1726, allocations: 4 kB / 0.6385 GB, free: 13.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002494/0.1751, allocations: 488.8 kB / 0.6389 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.1752, allocations: 59.34 kB / 0.639 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.1756, allocations: 413.9 kB / 0.6394 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.1756, allocations: 41.69 kB / 0.6394 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.1757, allocations: 89.45 kB / 0.6395 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.1758, allocations: 51.44 kB / 0.6396 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.1759, allocations: 125.2 kB / 0.6397 GB, free: 12.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1761, allocations: 322.8 kB / 0.64 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.1763, allocations: 115.9 kB / 0.6401 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.1766, allocations: 174.4 kB / 0.6403 GB, free: 11.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.1769, allocations: 275.5 kB / 0.6405 GB, free: 11.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1769, allocations: 0 / 0.6405 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007283/0.1777, allocations: 496.6 kB / 0.641 GB, free: 10.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.65e-05/0.1778, allocations: 91.31 kB / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1778, allocations: 3.984 kB / 0.6411 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1778, allocations: 4 kB / 0.6411 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.178, allocations: 27.86 kB / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.178, allocations: 0 / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.1784, allocations: 60.05 kB / 0.6412 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/0.1785, allocations: 55.98 kB / 0.6412 GB, free: 10.69 MB / 494.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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002058/0.1788, allocations: 203.5 kB / 0.6414 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.1788, allocations: 39.47 kB / 0.6415 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.1789, allocations: 35.75 kB / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1789, allocations: 0 / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1789, allocations: 4 kB / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1789, allocations: 7.984 kB / 0.6415 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.181, allocations: 0.7442 MB / 0.6422 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.181, allocations: 0 / 0.6422 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.1811, allocations: 4 kB / 0.6422 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1811, allocations: 4 kB / 0.6422 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.1811, allocations: 23.97 kB / 0.6423 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1811, allocations: 8 kB / 0.6423 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1811, allocations: 7.922 kB / 0.6423 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.1828, allocations: 477.9 kB / 0.6427 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.1831, allocations: 196.5 kB / 0.6429 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.1831, allocations: 12 kB / 0.6429 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.1836, allocations: 31.95 kB / 0.643 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.1837, allocations: 7.984 kB / 0.643 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/0.1837, allocations: 59.98 kB / 0.643 GB, free: 8.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.184, allocations: 295.1 kB / 0.6433 GB, free: 8.465 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.184, allocations: 4 kB / 0.6433 GB, free: 8.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.1843, allocations: 63.98 kB / 0.6434 GB, free: 8.398 MB / 494.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 (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.0001693/0.1845, allocations: 127 kB / 0.6435 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.1857, allocations: 434.7 kB / 0.6439 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1857, allocations: 0 / 0.6439 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007665/0.1865, allocations: 127.8 kB / 0.644 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1869, allocations: 34.98 kB / 0.6441 GB, free: 7.656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1883, allocations: 0.5361 MB / 0.6446 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1887, allocations: 0.7745 MB / 0.6453 GB, free: 6.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.311e-05/0.1887, allocations: 13.08 kB / 0.6454 GB, free: 6.273 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.1888, allocations: 19.44 kB / 0.6454 GB, free: 6.254 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1888, allocations: 0 / 0.6454 GB, free: 6.254 MB / 494.1 MB Notification: Performance of Templates: time 0.008439/0.1972, allocations: 4.923 MB / 0.6502 GB, free: 1.234 MB / 494.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)