Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 212.1 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8569/0.8569, allocations: 145 MB / 458.2 MB, free: 15.53 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 62.28 kB / 0.6344 GB, free: 6.844 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1578, allocations: 87.89 MB / 0.7202 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002707/0.1605, allocations: 1.502 MB / 0.7217 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.1615, allocations: 439.7 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.1615, allocations: 3.938 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.562e-05/0.1616, allocations: 3.938 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.797e-05/0.1617, allocations: 24.22 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.1624, allocations: 258.7 kB / 0.7224 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.1628, allocations: 315.5 kB / 0.7227 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.1629, allocations: 4 kB / 0.7227 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.1632, allocations: 203.7 kB / 0.7229 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.1635, allocations: 120 kB / 0.723 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.914e-05/0.1635, allocations: 19.98 kB / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.313e-05/0.1636, allocations: 24 kB / 0.723 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1637, allocations: 83.78 kB / 0.7231 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1638, allocations: 127.4 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.1642, allocations: 294.9 kB / 0.7235 GB, free: 11.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1642, allocations: 0 / 0.7235 GB, free: 11.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1642, allocations: 0 / 0.7235 GB, free: 11.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.1642, allocations: 4 kB / 0.7235 GB, free: 11.55 MB / 0.545 GB 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.001091/0.1653, allocations: 0.6747 MB / 0.7242 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1653, allocations: 8.031 kB / 0.7242 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/0.1654, allocations: 40.75 kB / 0.7242 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1657, allocations: 206.6 kB / 0.7244 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.1658, allocations: 12.38 kB / 0.7244 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.1658, allocations: 23.92 kB / 0.7244 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008518/0.1667, allocations: 197.5 kB / 0.7246 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1667, allocations: 0 / 0.7246 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1667, allocations: 0 / 0.7246 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1667, allocations: 8 kB / 0.7246 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.1674, allocations: 99.92 kB / 0.7247 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.1677, allocations: 292.4 kB / 0.725 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009016/0.1686, allocations: 166.3 kB / 0.7252 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006406/0.1693, allocations: 100.8 kB / 0.7253 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.1693, allocations: 4 kB / 0.7253 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008125/0.1701, allocations: 210 kB / 0.7255 GB, free: 9.371 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.1701, allocations: 0 / 0.7255 GB, free: 9.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002112/0.1722, allocations: 461 kB / 0.7259 GB, free: 8.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.1723, allocations: 55.41 kB / 0.726 GB, free: 8.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1726, allocations: 296.2 kB / 0.7262 GB, free: 8.547 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.1726, allocations: 37.69 kB / 0.7263 GB, free: 8.504 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.1727, allocations: 93.14 kB / 0.7264 GB, free: 8.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.1727, allocations: 43.72 kB / 0.7264 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.1729, allocations: 97.53 kB / 0.7265 GB, free: 8.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.173, allocations: 322.8 kB / 0.7268 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.1732, allocations: 79.95 kB / 0.7269 GB, free: 7.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.1734, allocations: 130.5 kB / 0.727 GB, free: 7.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.1737, allocations: 233.2 kB / 0.7272 GB, free: 7.453 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1737, allocations: 7.938 kB / 0.7272 GB, free: 7.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006205/0.1744, allocations: 394.8 kB / 0.7276 GB, free: 7.043 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/0.1744, allocations: 75.39 kB / 0.7277 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1744, allocations: 0 / 0.7277 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1745, allocations: 4 kB / 0.7277 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1746, allocations: 19.92 kB / 0.7277 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1746, allocations: 11.92 kB / 0.7277 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.175, allocations: 56.05 kB / 0.7278 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.1751, allocations: 39.98 kB / 0.7278 GB, free: 6.828 MB / 0.545 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001882/0.1753, allocations: 181.7 kB / 0.728 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.1753, allocations: 31.81 kB / 0.728 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.831e-05/0.1754, allocations: 30.23 kB / 0.728 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1754, allocations: 0 / 0.728 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1754, allocations: 0 / 0.728 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1754, allocations: 0 / 0.728 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.1773, allocations: 0.6653 MB / 0.7287 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1773, allocations: 4 kB / 0.7287 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.1773, allocations: 4 kB / 0.7287 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1773, allocations: 8 kB / 0.7287 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.1773, allocations: 15.97 kB / 0.7287 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1773, allocations: 0 / 0.7287 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1773, allocations: 0 / 0.7287 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.1788, allocations: 462.4 kB / 0.7292 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.179, allocations: 77.72 kB / 0.7292 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.1791, allocations: 15.98 kB / 0.7293 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.1795, allocations: 30.72 kB / 0.7293 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1795, allocations: 11.92 kB / 0.7293 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.1796, allocations: 47.91 kB / 0.7293 GB, free: 5.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001924/0.1797, allocations: 215 kB / 0.7295 GB, free: 4.977 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1797, allocations: 4 kB / 0.7295 GB, free: 4.973 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003014/0.18, allocations: 44 kB / 0.7296 GB, free: 4.93 MB / 0.545 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001369/0.1802, allocations: 116.9 kB / 0.7297 GB, free: 4.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.1812, allocations: 350.7 kB / 0.73 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1812, allocations: 4.125 kB / 0.73 GB, free: 4.434 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.1818, allocations: 107.9 kB / 0.7301 GB, free: 4.328 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1822, allocations: 24.58 kB / 0.7302 GB, free: 4.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1833, allocations: 473.3 kB / 0.7306 GB, free: 3.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.1837, allocations: 0.7435 MB / 0.7313 GB, free: 3.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.1838, allocations: 15.44 kB / 0.7314 GB, free: 3.031 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1838, allocations: 4 kB / 0.7314 GB, free: 3.027 MB / 0.545 GB Notification: Performance of Templates: time 0.004648/0.1884, allocations: 2.87 MB / 0.7342 GB, free: 172 kB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.263765553943813] Failed to read output from testmodel.py, exit status != 0: 0.196726183174178 0.21030354499999995 0.04320848399999994 Calling exit ...