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.001311/0.001311, allocations: 112.6 kB / 17.08 MB, free: 6.016 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.001346/0.001346, allocations: 199 kB / 18.02 MB, free: 5.094 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7185/0.7185, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 64.09 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1356, allocations: 76.18 MB / 0.6327 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002612/0.1383, allocations: 1.508 MB / 0.6342 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1395, allocations: 0.5305 MB / 0.6347 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.1396, allocations: 8 kB / 0.6347 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.384e-05/0.1397, allocations: 11.88 kB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1398, allocations: 31.78 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.1406, allocations: 301.9 kB / 0.635 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.1411, allocations: 0.5072 MB / 0.6355 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.1412, allocations: 8 kB / 0.6355 GB, free: 1.547 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.1415, allocations: 275.6 kB / 0.6358 GB, free: 1.277 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.1418, allocations: 151.4 kB / 0.6359 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.581e-05/0.1419, allocations: 24 kB / 0.636 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.142, allocations: 28 kB / 0.636 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1421, allocations: 115.6 kB / 0.6361 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.1423, allocations: 183.1 kB / 0.6363 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.1427, allocations: 422.7 kB / 0.6367 GB, free: 380 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1427, allocations: 0 / 0.6367 GB, free: 380 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1427, allocations: 0 / 0.6367 GB, free: 380 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1427, allocations: 0 / 0.6367 GB, free: 380 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.001179/0.1439, allocations: 0.8742 MB / 0.6375 GB, free: 15.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1439, allocations: 12.03 kB / 0.6375 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.144, allocations: 48.47 kB / 0.6376 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.1444, allocations: 310.2 kB / 0.6379 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.1445, allocations: 20.36 kB / 0.6379 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.814e-05/0.1445, allocations: 28.36 kB / 0.6379 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009334/0.1455, allocations: 214 kB / 0.6381 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.1455, allocations: 192 / 0.6381 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.1455, allocations: 3.938 kB / 0.6381 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1455, allocations: 4 kB / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.1463, allocations: 107.9 kB / 0.6382 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.1467, allocations: 385.2 kB / 0.6386 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1477, allocations: 178.5 kB / 0.6388 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007235/0.1484, allocations: 112.8 kB / 0.6389 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1485, allocations: 0 / 0.6389 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009158/0.1494, allocations: 227.1 kB / 0.6391 GB, free: 13.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1494, allocations: 0 / 0.6391 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002486/0.1519, allocations: 487.8 kB / 0.6396 GB, free: 13.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.152, allocations: 67.33 kB / 0.6396 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.1524, allocations: 409.9 kB / 0.64 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.1524, allocations: 45.69 kB / 0.6401 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.1525, allocations: 93.44 kB / 0.6402 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.1526, allocations: 39.45 kB / 0.6402 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.1527, allocations: 133.2 kB / 0.6403 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1529, allocations: 318.8 kB / 0.6406 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.1531, allocations: 111.9 kB / 0.6407 GB, free: 11.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.1534, allocations: 179.1 kB / 0.6409 GB, free: 11.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.1538, allocations: 287.1 kB / 0.6412 GB, free: 11.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1538, allocations: 0 / 0.6412 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007933/0.1546, allocations: 489.4 kB / 0.6416 GB, free: 10.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/0.1547, allocations: 91.31 kB / 0.6417 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1547, allocations: 4 kB / 0.6417 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1547, allocations: 0 / 0.6417 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1549, allocations: 27.92 kB / 0.6418 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1549, allocations: 8.188 kB / 0.6418 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.1554, allocations: 55.84 kB / 0.6418 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.1555, allocations: 55.98 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.0002142/0.1557, allocations: 193.7 kB / 0.6421 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.1558, allocations: 39.47 kB / 0.6421 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.591e-05/0.1558, allocations: 47.73 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1559, allocations: 4 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1559, allocations: 0 / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1559, allocations: 0 / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.158, allocations: 0.7485 MB / 0.6429 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.158, allocations: 4 kB / 0.6429 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.1581, allocations: 3.984 kB / 0.6429 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1581, allocations: 4 kB / 0.6429 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.1581, allocations: 27.95 kB / 0.6429 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1581, allocations: 0 / 0.6429 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1582, allocations: 0 / 0.6429 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.1599, allocations: 483.1 kB / 0.6434 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.1601, allocations: 192.5 kB / 0.6436 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.1602, allocations: 15.98 kB / 0.6436 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.1607, allocations: 27.97 kB / 0.6436 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.1607, allocations: 15.98 kB / 0.6436 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/0.1608, allocations: 59.97 kB / 0.6437 GB, free: 8.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002895/0.1611, allocations: 295.1 kB / 0.644 GB, free: 8.461 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1611, allocations: 0 / 0.644 GB, free: 8.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.1615, allocations: 60 kB / 0.644 GB, free: 8.402 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.000164/0.1616, allocations: 124.9 kB / 0.6441 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.1629, allocations: 436.6 kB / 0.6445 GB, free: 7.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.163, allocations: 0 / 0.6445 GB, free: 7.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.1637, allocations: 123.9 kB / 0.6447 GB, free: 7.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1641, allocations: 27.52 kB / 0.6447 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1656, allocations: 0.5886 MB / 0.6453 GB, free: 7.047 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.166, allocations: 0.7784 MB / 0.646 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.166, allocations: 15.44 kB / 0.646 GB, free: 6.227 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.166, allocations: 0 / 0.646 GB, free: 6.227 MB / 494.1 MB Notification: Performance of Templates: time 0.006138/0.1722, allocations: 3.738 MB / 0.6497 GB, free: 2.441 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)