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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7633/0.7633, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001258, allocations: 183.8 kB / 174.2 MB, free: 5.93 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205 MB / 408.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 105.5 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001099, allocations: 55.16 kB / 0.558 GB, free: 97.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1398, allocations: 75.48 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002551/0.1424, allocations: 1.511 MB / 0.6331 GB, free: 31.49 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.1432, allocations: 429.5 kB / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.1432, allocations: 4 kB / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.015e-05/0.1433, allocations: 3.938 kB / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1434, allocations: 15.91 kB / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.1441, allocations: 226.2 kB / 0.6338 GB, free: 30.83 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1443, allocations: 279.5 kB / 0.6341 GB, free: 30.56 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.1444, allocations: 20.22 kB / 0.6341 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.1446, allocations: 195.5 kB / 0.6343 GB, free: 30.35 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1448, allocations: 111.6 kB / 0.6344 GB, free: 30.24 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.1449, allocations: 12 kB / 0.6344 GB, free: 30.23 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.145, allocations: 8 kB / 0.6344 GB, free: 30.22 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.1451, allocations: 63.8 kB / 0.6345 GB, free: 30.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1452, allocations: 99.48 kB / 0.6346 GB, free: 30.06 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1454, allocations: 243.5 kB / 0.6348 GB, free: 29.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1454, allocations: 0 / 0.6348 GB, free: 29.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1455, allocations: 8 kB / 0.6348 GB, free: 29.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1455, allocations: 0 / 0.6348 GB, free: 29.81 MB / 442.7 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.001097/0.1466, allocations: 0.634 MB / 0.6354 GB, free: 29.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1466, allocations: 8.031 kB / 0.6354 GB, free: 29.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1467, allocations: 28.69 kB / 0.6354 GB, free: 29.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.147, allocations: 241 kB / 0.6357 GB, free: 28.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.1471, allocations: 16.38 kB / 0.6357 GB, free: 28.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.1471, allocations: 20.36 kB / 0.6357 GB, free: 28.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.1474, allocations: 143 kB / 0.6358 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1474, allocations: 192 / 0.6358 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.1475, allocations: 15.92 kB / 0.6359 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1475, allocations: 0 / 0.6359 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.1476, allocations: 39.98 kB / 0.6359 GB, free: 28.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.1479, allocations: 293.3 kB / 0.6362 GB, free: 28.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.1482, allocations: 134.6 kB / 0.6363 GB, free: 28.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1483, allocations: 48.84 kB / 0.6364 GB, free: 28.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1483, allocations: 0 / 0.6364 GB, free: 28.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004104/0.1487, allocations: 207.5 kB / 0.6366 GB, free: 27.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.1487, allocations: 0 / 0.6366 GB, free: 27.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.000483/0.1492, allocations: 267 kB / 0.6368 GB, free: 27.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.1493, allocations: 55.41 kB / 0.6369 GB, free: 27.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1494, allocations: 232 kB / 0.6371 GB, free: 27.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.1495, allocations: 37.7 kB / 0.6371 GB, free: 27.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.1495, allocations: 93.12 kB / 0.6372 GB, free: 27.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.1496, allocations: 43.53 kB / 0.6372 GB, free: 27.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.1497, allocations: 97.7 kB / 0.6373 GB, free: 26.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.1498, allocations: 318.8 kB / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.1499, allocations: 96.17 kB / 0.6377 GB, free: 26.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.1501, allocations: 147.1 kB / 0.6379 GB, free: 26.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.1504, allocations: 240.6 kB / 0.6381 GB, free: 26.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1504, allocations: 0 / 0.6381 GB, free: 26.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005466/0.151, allocations: 396.6 kB / 0.6385 GB, free: 25.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/0.151, allocations: 75.38 kB / 0.6386 GB, free: 25.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.151, allocations: 4 kB / 0.6386 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1511, allocations: 0 / 0.6386 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1512, allocations: 31.86 kB / 0.6386 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1512, allocations: 8.188 kB / 0.6386 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.1517, allocations: 67.72 kB / 0.6387 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.1518, allocations: 39.98 kB / 0.6387 GB, free: 25.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001271/0.1519, allocations: 165.7 kB / 0.6389 GB, free: 25.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.1519, allocations: 15.81 kB / 0.6389 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.152, allocations: 25.88 kB / 0.6389 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.152, allocations: 3.938 kB / 0.6389 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.152, allocations: 7.984 kB / 0.6389 GB, free: 25.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.152, allocations: 4 kB / 0.6389 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.1526, allocations: 0.5393 MB / 0.6394 GB, free: 24.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1526, allocations: 3.938 kB / 0.6394 GB, free: 24.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.1527, allocations: 8 kB / 0.6395 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1527, allocations: 3.984 kB / 0.6395 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.1527, allocations: 7.984 kB / 0.6395 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1527, allocations: 11.94 kB / 0.6395 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1527, allocations: 3.984 kB / 0.6395 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.1532, allocations: 0.9187 MB / 0.6404 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1534, allocations: 132.8 kB / 0.6405 GB, free: 23.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.1534, allocations: 11.98 kB / 0.6405 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1536, allocations: 8 kB / 0.6405 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.1537, allocations: 19.97 kB / 0.6405 GB, free: 23.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.1537, allocations: 27.98 kB / 0.6406 GB, free: 23.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.373e-05/0.1538, allocations: 165.6 kB / 0.6407 GB, free: 23.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1538, allocations: 0 / 0.6407 GB, free: 23.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003924/0.1542, allocations: 47.94 kB / 0.6408 GB, free: 23.22 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.00014/0.1544, allocations: 121.2 kB / 0.6409 GB, free: 23.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004264/0.1548, allocations: 339.8 kB / 0.6412 GB, free: 22.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1548, allocations: 0 / 0.6412 GB, free: 22.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1549, allocations: 76.52 kB / 0.6413 GB, free: 22.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1553, allocations: 20.66 kB / 0.6413 GB, free: 22.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.1559, allocations: 0.5137 MB / 0.6418 GB, free: 22.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.1561, allocations: 0.7321 MB / 0.6425 GB, free: 21.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.1562, allocations: 33.08 kB / 0.6426 GB, free: 21.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.159e-05/0.1563, allocations: 27.42 kB / 0.6426 GB, free: 21.27 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1563, allocations: 4 kB / 0.6426 GB, free: 21.27 MB / 442.7 MB Notification: Performance of Templates: time 0.006209/0.1625, allocations: 3.799 MB / 0.6463 GB, free: 17.5 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile (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)