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.0008123/0.0008122, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.0008995/0.0008996, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.29/1.29, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7006/0.7006, allocations: 115.5 MB / 408.2 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 4 kB / 496.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3603, allocations: 77.51 MB / 0.5606 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001382/0.3617, allocations: 1.231 MB / 0.5618 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3628, allocations: 0.586 MB / 0.5623 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.3628, allocations: 0 / 0.5623 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.753e-05/0.3629, allocations: 7.188 kB / 0.5623 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.933e-05/0.363, allocations: 26.86 kB / 0.5624 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.3636, allocations: 292.7 kB / 0.5627 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.364, allocations: 445.9 kB / 0.5631 GB, free: 33.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.3641, allocations: 5.781 kB / 0.5631 GB, free: 33.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.3645, allocations: 303.7 kB / 0.5634 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.3647, allocations: 163.5 kB / 0.5635 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.655e-05/0.3648, allocations: 12.62 kB / 0.5635 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.3649, allocations: 14.5 kB / 0.5636 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.365, allocations: 116 kB / 0.5637 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.3653, allocations: 212.6 kB / 0.5639 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.3656, allocations: 308.4 kB / 0.5642 GB, free: 33.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3656, allocations: 1.062 kB / 0.5642 GB, free: 33.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3656, allocations: 0 / 0.5642 GB, free: 33.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3656, allocations: 0 / 0.5642 GB, free: 33.48 MB / 446.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.0008945/0.3665, allocations: 0.7432 MB / 0.5649 GB, free: 32.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3666, allocations: 15.5 kB / 0.5649 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3667, allocations: 51.27 kB / 0.565 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.367, allocations: 317.6 kB / 0.5653 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.367, allocations: 16.95 kB / 0.5653 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.518e-05/0.3671, allocations: 26.03 kB / 0.5653 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.3682, allocations: 221.8 kB / 0.5655 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3682, allocations: 192 / 0.5655 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.3683, allocations: 10 kB / 0.5655 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3683, allocations: 2.469 kB / 0.5655 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007877/0.3691, allocations: 117.4 kB / 0.5656 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.3695, allocations: 387.7 kB / 0.566 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.3706, allocations: 190.8 kB / 0.5662 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.3714, allocations: 124.6 kB / 0.5663 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3714, allocations: 2.812 kB / 0.5663 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.3724, allocations: 244.7 kB / 0.5665 GB, free: 31.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.3725, allocations: 0 / 0.5665 GB, free: 31.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002746/0.3752, allocations: 0.5071 MB / 0.567 GB, free: 31.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.3753, allocations: 59.09 kB / 0.5671 GB, free: 31.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.3757, allocations: 415.6 kB / 0.5675 GB, free: 31.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.24e-05/0.3758, allocations: 40.23 kB / 0.5675 GB, free: 31.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.3759, allocations: 100.3 kB / 0.5676 GB, free: 31.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.3759, allocations: 36.61 kB / 0.5677 GB, free: 31.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.376, allocations: 37.86 kB / 0.5677 GB, free: 31.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.3761, allocations: 320.8 kB / 0.568 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.3763, allocations: 119.3 kB / 0.5681 GB, free: 31.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.3766, allocations: 176.2 kB / 0.5683 GB, free: 30.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.377, allocations: 282.3 kB / 0.5685 GB, free: 30.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.377, allocations: 4.906 kB / 0.5686 GB, free: 30.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007853/0.3778, allocations: 492.8 kB / 0.569 GB, free: 30.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8e-05/0.3779, allocations: 88.02 kB / 0.5691 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3779, allocations: 3.562 kB / 0.5691 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3779, allocations: 2.219 kB / 0.5691 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3781, allocations: 27.88 kB / 0.5691 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3781, allocations: 3.859 kB / 0.5691 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/0.3786, allocations: 73.91 kB / 0.5692 GB, free: 30.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.3787, allocations: 58.31 kB / 0.5693 GB, free: 30.47 MB / 446.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.0002436/0.379, allocations: 201.3 kB / 0.5695 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.3791, allocations: 42.55 kB / 0.5695 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.3791, allocations: 38.17 kB / 0.5695 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3791, allocations: 1.547 kB / 0.5695 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3792, allocations: 1.094 kB / 0.5695 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3792, allocations: 2.469 kB / 0.5695 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.3814, allocations: 0.7686 MB / 0.5703 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3814, allocations: 0.5625 kB / 0.5703 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.3815, allocations: 5.016 kB / 0.5703 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3815, allocations: 1.625 kB / 0.5703 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.3815, allocations: 22.48 kB / 0.5703 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3815, allocations: 2.031 kB / 0.5703 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3816, allocations: 5.391 kB / 0.5703 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.3834, allocations: 495.8 kB / 0.5708 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.3836, allocations: 196.4 kB / 0.571 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.3837, allocations: 14.19 kB / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005138/0.3842, allocations: 37.06 kB / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.3843, allocations: 7.453 kB / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.3844, allocations: 63 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.3847, allocations: 293.8 kB / 0.5714 GB, free: 29.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3847, allocations: 3.938 kB / 0.5714 GB, free: 29.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004476/0.3852, allocations: 64.75 kB / 0.5715 GB, free: 29.39 MB / 446.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.0001324/0.3853, allocations: 120.5 kB / 0.5716 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.3866, allocations: 451.9 kB / 0.572 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3867, allocations: 0 / 0.572 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008168/0.3875, allocations: 135.3 kB / 0.5721 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3879, allocations: 26.88 kB / 0.5722 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.3894, allocations: 0.7262 MB / 0.5729 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.3897, allocations: 0.7764 MB / 0.5736 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.3897, allocations: 17.27 kB / 0.5736 GB, free: 27.89 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3897, allocations: 0 / 0.5736 GB, free: 27.89 MB / 446.1 MB Notification: Performance of Templates: time 0.006706/0.3965, allocations: 3.704 MB / 0.5773 GB, free: 27.39 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)