Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 115.2 kB / 17.08 MB, free: 5.973 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.002031/0.002031, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.378/1.378, allocations: 222.9 MB / 241.7 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.7416/0.7416, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 69.19 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1385, allocations: 76.18 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002411/0.1409, allocations: 1.505 MB / 0.6342 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1422, allocations: 0.5423 MB / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.1422, allocations: 4 kB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.1424, allocations: 7.875 kB / 0.6347 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1425, allocations: 27.84 kB / 0.6347 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.1432, allocations: 305.5 kB / 0.635 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.1437, allocations: 0.5072 MB / 0.6355 GB, free: 1.547 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.1438, allocations: 12 kB / 0.6355 GB, free: 1.535 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.1441, allocations: 275.6 kB / 0.6358 GB, free: 1.266 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.1444, allocations: 143.5 kB / 0.6359 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.26e-05/0.1445, allocations: 24 kB / 0.636 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.1446, allocations: 28 kB / 0.636 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1447, allocations: 123.5 kB / 0.6361 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.1449, allocations: 183.1 kB / 0.6363 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.1453, allocations: 422.7 kB / 0.6367 GB, free: 368 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1453, allocations: 0 / 0.6367 GB, free: 368 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1453, allocations: 4 kB / 0.6367 GB, free: 364 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1453, allocations: 0 / 0.6367 GB, free: 364 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.001148/0.1465, allocations: 0.8664 MB / 0.6375 GB, free: 15.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1465, allocations: 12.03 kB / 0.6375 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.1467, allocations: 48.47 kB / 0.6376 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.1471, allocations: 310.3 kB / 0.6379 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.1472, allocations: 20.36 kB / 0.6379 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/0.1472, allocations: 20.38 kB / 0.6379 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.1483, allocations: 221.9 kB / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1483, allocations: 192 / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.1484, allocations: 7.938 kB / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1484, allocations: 4 kB / 0.6381 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.1492, allocations: 99.91 kB / 0.6382 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.1496, allocations: 389.2 kB / 0.6386 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.1507, allocations: 178.4 kB / 0.6388 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.1515, allocations: 112.8 kB / 0.6389 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1515, allocations: 0 / 0.6389 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000961/0.1525, allocations: 231 kB / 0.6391 GB, free: 13.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.1525, allocations: 0 / 0.6391 GB, free: 13.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.00258/0.1551, allocations: 484.9 kB / 0.6396 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1551, allocations: 63.33 kB / 0.6396 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.1555, allocations: 409.9 kB / 0.64 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.1556, allocations: 41.69 kB / 0.6401 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.1557, allocations: 97.44 kB / 0.6402 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.1557, allocations: 39.45 kB / 0.6402 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1559, allocations: 133.2 kB / 0.6403 GB, free: 12.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.156, allocations: 322.8 kB / 0.6406 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.1563, allocations: 115.9 kB / 0.6407 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.1566, allocations: 179.1 kB / 0.6409 GB, free: 11.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.1569, allocations: 271.2 kB / 0.6412 GB, free: 11.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1569, allocations: 3.938 kB / 0.6412 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007323/0.1577, allocations: 492.6 kB / 0.6416 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/0.1578, allocations: 91.31 kB / 0.6417 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1578, allocations: 8.188 kB / 0.6417 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1578, allocations: 0 / 0.6417 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.158, allocations: 23.92 kB / 0.6418 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.158, allocations: 4 kB / 0.6418 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.1585, allocations: 51.86 kB / 0.6418 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.1586, allocations: 59.97 kB / 0.6419 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 (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.000213/0.1588, allocations: 205.7 kB / 0.6421 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.1589, allocations: 39.47 kB / 0.6421 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.189e-05/0.1589, allocations: 39.73 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.159, allocations: 4 kB / 0.6421 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.159, allocations: 0 / 0.6421 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.159, allocations: 0 / 0.6421 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.1611, allocations: 0.751 MB / 0.6429 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1612, allocations: 0 / 0.6429 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.1612, allocations: 7.984 kB / 0.6429 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1612, allocations: 4 kB / 0.6429 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.1613, allocations: 19.98 kB / 0.6429 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1613, allocations: 3.938 kB / 0.6429 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1613, allocations: 3.984 kB / 0.6429 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.163, allocations: 475.2 kB / 0.6434 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.1633, allocations: 192.5 kB / 0.6436 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.244e-05/0.1633, allocations: 19.98 kB / 0.6436 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.1638, allocations: 27.97 kB / 0.6436 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.1639, allocations: 15.92 kB / 0.6436 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.1639, allocations: 59.97 kB / 0.6437 GB, free: 8.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002676/0.1642, allocations: 295.1 kB / 0.644 GB, free: 8.457 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1642, allocations: 0 / 0.644 GB, free: 8.457 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.1646, allocations: 60 kB / 0.644 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 (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.0001578/0.1648, allocations: 128.9 kB / 0.6441 GB, free: 8.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.1661, allocations: 438.5 kB / 0.6445 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1661, allocations: 0 / 0.6445 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008119/0.1669, allocations: 118.4 kB / 0.6447 GB, free: 7.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1673, allocations: 35.64 kB / 0.6447 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.1688, allocations: 0.5843 MB / 0.6453 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1691, allocations: 0.7745 MB / 0.646 GB, free: 6.238 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.1692, allocations: 15.44 kB / 0.646 GB, free: 6.223 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1692, allocations: 0 / 0.646 GB, free: 6.223 MB / 494.1 MB Notification: Performance of Templates: time 0.00537/0.1746, allocations: 3.729 MB / 0.6497 GB, free: 2.449 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)