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: "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001556/0.001556, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8291/0.8291, allocations: 125.4 MB / 416.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 62.88 kB / 0.5716 GB, free: 27.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1524, allocations: 78.57 MB / 0.6483 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003348/0.1557, allocations: 1.51 MB / 0.6498 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1576, allocations: 0.5437 MB / 0.6503 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.701e-05/0.1577, allocations: 0 / 0.6503 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.1579, allocations: 11.88 kB / 0.6504 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.1581, allocations: 23.64 kB / 0.6504 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1593, allocations: 322.2 kB / 0.6507 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000849/0.1602, allocations: 0.5033 MB / 0.6512 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.831e-05/0.1603, allocations: 15.98 kB / 0.6512 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.1608, allocations: 267.6 kB / 0.6514 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.1612, allocations: 143.6 kB / 0.6516 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.1613, allocations: 28 kB / 0.6516 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1615, allocations: 28 kB / 0.6516 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.1617, allocations: 111.7 kB / 0.6517 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.1619, allocations: 187 kB / 0.6519 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006272/0.1626, allocations: 426.7 kB / 0.6523 GB, free: 1.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1626, allocations: 3.938 kB / 0.6523 GB, free: 1.562 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1626, allocations: 0 / 0.6523 GB, free: 1.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.1626, allocations: 0 / 0.6523 GB, free: 1.562 MB / 494.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.001707/0.1643, allocations: 0.8742 MB / 0.6532 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.1644, allocations: 16.03 kB / 0.6532 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.295e-05/0.1645, allocations: 42.67 kB / 0.6532 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1646, allocations: 52.7 kB / 0.6533 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.1651, allocations: 314.6 kB / 0.6536 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.768e-05/0.1652, allocations: 16.36 kB / 0.6536 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/0.1653, allocations: 28.38 kB / 0.6536 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1666, allocations: 213.9 kB / 0.6538 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1666, allocations: 7.938 kB / 0.6538 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.1667, allocations: 0 / 0.6538 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1667, allocations: 0 / 0.6538 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/0.1677, allocations: 95.92 kB / 0.6539 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.1683, allocations: 393.2 kB / 0.6543 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1695, allocations: 182.6 kB / 0.6545 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007451/0.1703, allocations: 112.2 kB / 0.6546 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.1703, allocations: 8 kB / 0.6546 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.1713, allocations: 227 kB / 0.6548 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.585e-06/0.1713, allocations: 0 / 0.6548 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.003385/0.1747, allocations: 484.2 kB / 0.6553 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.1748, allocations: 67.39 kB / 0.6553 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006955/0.1755, allocations: 405.9 kB / 0.6557 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.607e-05/0.1756, allocations: 45.69 kB / 0.6558 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1758, allocations: 93.45 kB / 0.6559 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.1758, allocations: 47.67 kB / 0.6559 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.1761, allocations: 125.5 kB / 0.656 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1763, allocations: 322.8 kB / 0.6563 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.1767, allocations: 115.9 kB / 0.6564 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.1772, allocations: 173.9 kB / 0.6566 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/0.1778, allocations: 270.9 kB / 0.6569 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1778, allocations: 0 / 0.6569 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001248/0.179, allocations: 496.6 kB / 0.6573 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.1792, allocations: 93.03 kB / 0.6574 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1792, allocations: 0 / 0.6574 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.1792, allocations: 4 kB / 0.6574 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.1795, allocations: 19.92 kB / 0.6575 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1795, allocations: 8 kB / 0.6575 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.1802, allocations: 67.97 kB / 0.6575 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.1803, allocations: 63.97 kB / 0.6576 GB, free: 11.82 MB / 0.4981 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.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.000338/0.1806, allocations: 192 kB / 0.6578 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.1808, allocations: 47.66 kB / 0.6578 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1809, allocations: 43.73 kB / 0.6579 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1809, allocations: 4 kB / 0.6579 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1809, allocations: 0 / 0.6579 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1809, allocations: 0 / 0.6579 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.184, allocations: 0.7482 MB / 0.6586 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.184, allocations: 3.938 kB / 0.6586 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.184, allocations: 7.984 kB / 0.6586 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1841, allocations: 0 / 0.6586 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.1841, allocations: 15.98 kB / 0.6586 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1841, allocations: 0 / 0.6586 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1841, allocations: 4 kB / 0.6586 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.1866, allocations: 475.4 kB / 0.6591 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.187, allocations: 200.7 kB / 0.6593 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.1871, allocations: 11.98 kB / 0.6593 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/0.1878, allocations: 31.97 kB / 0.6593 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.1879, allocations: 11.98 kB / 0.6593 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.188, allocations: 55.98 kB / 0.6594 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004789/0.1885, allocations: 291.1 kB / 0.6597 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1885, allocations: 3.938 kB / 0.6597 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005889/0.1891, allocations: 71.98 kB / 0.6597 GB, free: 9.535 MB / 0.4981 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.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.002911/0.192, allocations: 1.032 MB / 0.6607 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.1939, allocations: 438.5 kB / 0.6611 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1939, allocations: 0 / 0.6611 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.195, allocations: 123.8 kB / 0.6613 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.1955, allocations: 23.61 kB / 0.6613 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006054/0.2016, allocations: 2.79 MB / 0.664 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.2022, allocations: 0.7744 MB / 0.6648 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.2024, allocations: 17.08 kB / 0.6648 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.916e-05/0.2025, allocations: 23.42 kB / 0.6648 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of SimCode: time 1.302e-06/0.2025, allocations: 0 / 0.6648 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.2311, allocations: 6.107 MB / 0.6708 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.083, allocations: 8.016 kB / 0.6708 GB, free: 14 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)