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.0009469/0.0009468, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.0012, allocations: 174.2 kB / 16.56 MB, free: 6.391 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.408/1.408, allocations: 223.2 MB / 240.5 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6673/0.6673, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003018, allocations: 8 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 77.15 MB / 0.5568 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001333/0.1369, allocations: 1.173 MB / 0.558 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007389/0.1377, allocations: 393 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.1377, allocations: 4 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1378, allocations: 7.922 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.737e-05/0.1379, allocations: 19.97 kB / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.1384, allocations: 214.9 kB / 0.5586 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1386, allocations: 159.7 kB / 0.5587 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.1387, allocations: 4 kB / 0.5587 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.1389, allocations: 171.7 kB / 0.5589 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1391, allocations: 127.7 kB / 0.559 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.1391, allocations: 12 kB / 0.559 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.1392, allocations: 8 kB / 0.559 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.1393, allocations: 87.7 kB / 0.5591 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.1394, allocations: 73.52 kB / 0.5592 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.1396, allocations: 203.9 kB / 0.5594 GB, free: 9.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1396, allocations: 0 / 0.5594 GB, free: 9.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1396, allocations: 0 / 0.5594 GB, free: 9.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1396, allocations: 0 / 0.5594 GB, free: 9.023 MB / 430.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.0008288/0.1404, allocations: 0.6565 MB / 0.56 GB, free: 8.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1405, allocations: 16.02 kB / 0.56 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.048e-05/0.1406, allocations: 35.64 kB / 0.5601 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.1409, allocations: 250.5 kB / 0.5603 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.1409, allocations: 19.98 kB / 0.5603 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.141, allocations: 16 kB / 0.5603 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009321/0.1419, allocations: 217.4 kB / 0.5606 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1419, allocations: 0 / 0.5606 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.142, allocations: 8 kB / 0.5606 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.142, allocations: 0 / 0.5606 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.1427, allocations: 111.9 kB / 0.5607 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.143, allocations: 317.3 kB / 0.561 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009899/0.144, allocations: 186.5 kB / 0.5611 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1441, allocations: 0 / 0.5611 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/0.145, allocations: 223.1 kB / 0.5614 GB, free: 6.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.145, allocations: 0 / 0.5614 GB, free: 6.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002417/0.1474, allocations: 483.1 kB / 0.5618 GB, free: 6.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.1474, allocations: 67.39 kB / 0.5619 GB, free: 6.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.1477, allocations: 283 kB / 0.5622 GB, free: 5.961 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.1478, allocations: 41.7 kB / 0.5622 GB, free: 5.914 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.1478, allocations: 97.12 kB / 0.5623 GB, free: 5.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.1479, allocations: 43.5 kB / 0.5623 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.1479, allocations: 8 kB / 0.5623 GB, free: 5.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.148, allocations: 318.8 kB / 0.5626 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.1482, allocations: 83.89 kB / 0.5627 GB, free: 5.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.1485, allocations: 133.9 kB / 0.5628 GB, free: 5.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.1487, allocations: 155.3 kB / 0.563 GB, free: 5.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1487, allocations: 0 / 0.563 GB, free: 5.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006328/0.1493, allocations: 398.7 kB / 0.5634 GB, free: 4.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/0.1494, allocations: 71.39 kB / 0.5634 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.1494, allocations: 0 / 0.5634 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1494, allocations: 7.984 kB / 0.5635 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.1496, allocations: 23.91 kB / 0.5635 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1496, allocations: 4 kB / 0.5635 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.1501, allocations: 69.7 kB / 0.5635 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/0.1502, allocations: 43.98 kB / 0.5636 GB, free: 4.414 MB / 430.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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.1503, allocations: 173.6 kB / 0.5638 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.1504, allocations: 23.72 kB / 0.5638 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.1505, allocations: 30.3 kB / 0.5638 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1505, allocations: 0 / 0.5638 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1505, allocations: 0 / 0.5638 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1505, allocations: 3.984 kB / 0.5638 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.1525, allocations: 0.7129 MB / 0.5645 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1526, allocations: 0 / 0.5645 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.1526, allocations: 4 kB / 0.5645 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1526, allocations: 0 / 0.5645 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.1526, allocations: 23.97 kB / 0.5645 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1527, allocations: 3.953 kB / 0.5645 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1527, allocations: 7.938 kB / 0.5645 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.1543, allocations: 472.3 kB / 0.565 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.1545, allocations: 160.7 kB / 0.5651 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.1546, allocations: 11.98 kB / 0.5652 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.155, allocations: 39.97 kB / 0.5652 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.1551, allocations: 15.94 kB / 0.5652 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.1551, allocations: 35.98 kB / 0.5652 GB, free: 2.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.1553, allocations: 209.9 kB / 0.5654 GB, free: 2.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1553, allocations: 0 / 0.5654 GB, free: 2.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.1557, allocations: 47.98 kB / 0.5655 GB, free: 2.367 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.1558, allocations: 113.7 kB / 0.5656 GB, free: 2.246 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.1569, allocations: 390.5 kB / 0.566 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1569, allocations: 0 / 0.566 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.1577, allocations: 133.5 kB / 0.5661 GB, free: 1.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1579, allocations: 12.64 kB / 0.5661 GB, free: 1.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1592, allocations: 0.5026 MB / 0.5666 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1595, allocations: 0.7426 MB / 0.5673 GB, free: 416 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.1595, allocations: 21.06 kB / 0.5673 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.1596, allocations: 19.42 kB / 0.5674 GB, free: 376 kB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1596, allocations: 0 / 0.5674 GB, free: 376 kB / 430.1 MB Notification: Performance of Templates: time 0.006126/0.1657, allocations: 3.497 MB / 0.5708 GB, free: 12.89 MB / 446.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)