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.001256/0.001257, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.001286/0.001286, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.261/1.261, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7028/0.7028, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3285, allocations: 76.14 MB / 0.5575 GB, free: 36.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002212/0.3307, allocations: 1.474 MB / 0.559 GB, free: 35.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.3315, allocations: 428.5 kB / 0.5594 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.3316, allocations: 2.5 kB / 0.5594 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.285e-05/0.3316, allocations: 9.812 kB / 0.5594 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.601e-05/0.3317, allocations: 28.05 kB / 0.5594 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.3323, allocations: 242.1 kB / 0.5597 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.3327, allocations: 330.9 kB / 0.56 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3327, allocations: 11.55 kB / 0.56 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.333, allocations: 193.1 kB / 0.5602 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.3332, allocations: 121.6 kB / 0.5603 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.3332, allocations: 20 kB / 0.5603 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.046e-05/0.3333, allocations: 19.97 kB / 0.5603 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.3334, allocations: 79.75 kB / 0.5604 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.3335, allocations: 124 kB / 0.5605 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.3338, allocations: 292.6 kB / 0.5608 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3339, allocations: 0.5625 kB / 0.5608 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3339, allocations: 1.812 kB / 0.5608 GB, free: 34.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.3339, allocations: 0 / 0.5608 GB, free: 34.95 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.0009371/0.3348, allocations: 0.7372 MB / 0.5615 GB, free: 34.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3349, allocations: 9.812 kB / 0.5615 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.828e-05/0.335, allocations: 36.78 kB / 0.5616 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.3353, allocations: 265.3 kB / 0.5618 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.3353, allocations: 11.72 kB / 0.5618 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.3354, allocations: 24.52 kB / 0.5619 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.3362, allocations: 202.3 kB / 0.5621 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3363, allocations: 9 kB / 0.5621 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.3363, allocations: 6.188 kB / 0.5621 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3363, allocations: 2.031 kB / 0.5621 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.3369, allocations: 93.86 kB / 0.5622 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.3372, allocations: 312.8 kB / 0.5625 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.3381, allocations: 177.4 kB / 0.5626 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.3387, allocations: 110.2 kB / 0.5627 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3387, allocations: 2.594 kB / 0.5627 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008224/0.3396, allocations: 212 kB / 0.5629 GB, free: 33.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.3396, allocations: 3.938 kB / 0.5629 GB, free: 33.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002094/0.3417, allocations: 451.9 kB / 0.5634 GB, free: 33.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.3417, allocations: 61.25 kB / 0.5634 GB, free: 33.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.342, allocations: 290.1 kB / 0.5637 GB, free: 33.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.342, allocations: 36.44 kB / 0.5637 GB, free: 33.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.3421, allocations: 95.44 kB / 0.5638 GB, free: 33.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.3421, allocations: 44.08 kB / 0.5639 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3422, allocations: 93.95 kB / 0.564 GB, free: 33.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.3423, allocations: 322.5 kB / 0.5643 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.3425, allocations: 85.91 kB / 0.5644 GB, free: 32.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.3427, allocations: 130.5 kB / 0.5645 GB, free: 32.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.3429, allocations: 241.5 kB / 0.5647 GB, free: 32.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3429, allocations: 5.062 kB / 0.5647 GB, free: 32.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005717/0.3435, allocations: 387.6 kB / 0.5651 GB, free: 32.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.3436, allocations: 73.7 kB / 0.5652 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3436, allocations: 2.156 kB / 0.5652 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3436, allocations: 3 kB / 0.5652 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3438, allocations: 28.98 kB / 0.5652 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3438, allocations: 2.844 kB / 0.5652 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.3442, allocations: 54.34 kB / 0.5652 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.3443, allocations: 42.02 kB / 0.5653 GB, free: 32.14 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.000142/0.3444, allocations: 174.1 kB / 0.5654 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.3445, allocations: 24.03 kB / 0.5655 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.3445, allocations: 29.67 kB / 0.5655 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3445, allocations: 1.156 kB / 0.5655 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3446, allocations: 2.734 kB / 0.5655 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3446, allocations: 0.6094 kB / 0.5655 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.3463, allocations: 0.6904 MB / 0.5662 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3464, allocations: 1.406 kB / 0.5662 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.3464, allocations: 17.55 kB / 0.5662 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3464, allocations: 1.344 kB / 0.5662 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.3464, allocations: 15.92 kB / 0.5662 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3465, allocations: 1.125 kB / 0.5662 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3465, allocations: 6.297 kB / 0.5662 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.3479, allocations: 454 kB / 0.5666 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.3481, allocations: 158.2 kB / 0.5668 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.3481, allocations: 11.19 kB / 0.5668 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.3486, allocations: 29.16 kB / 0.5668 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.3486, allocations: 11.94 kB / 0.5669 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.3487, allocations: 45.59 kB / 0.5669 GB, free: 31.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.3488, allocations: 210.5 kB / 0.5671 GB, free: 31.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3488, allocations: 0 / 0.5671 GB, free: 31.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.3492, allocations: 55.23 kB / 0.5671 GB, free: 31.11 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.0001065/0.3493, allocations: 112.7 kB / 0.5673 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009822/0.3503, allocations: 383.2 kB / 0.5676 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3503, allocations: 2.375 kB / 0.5676 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006398/0.3509, allocations: 119 kB / 0.5677 GB, free: 30.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.3512, allocations: 30.73 kB / 0.5678 GB, free: 30.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.3523, allocations: 432.1 kB / 0.5682 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.3525, allocations: 0.7391 MB / 0.5689 GB, free: 29.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.3526, allocations: 14.27 kB / 0.5689 GB, free: 29.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.3526, allocations: 17.12 kB / 0.5689 GB, free: 29.84 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3526, allocations: 1.094 kB / 0.5689 GB, free: 29.84 MB / 446.1 MB Notification: Performance of Templates: time 0.006561/0.3592, allocations: 3.656 MB / 0.5725 GB, free: 29.51 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)