Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 289.7 MB / 302.2 MB, free: 2.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 181.5 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 88.09 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.461e-05/4.483e-05, allocations: 11.97 kB / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2933, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.326, allocations: 141.5 MB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.326, allocations: 73.02 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01458/1.341, allocations: 4.541 MB / 1.123 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/1.341, allocations: 0 / 1.123 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.974e-05/1.341, allocations: 4 kB / 1.123 GB, free: 40.09 MB / 0.7448 GB 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.0008172/1.342, allocations: 0.6264 MB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/1.342, allocations: 8.031 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/1.342, allocations: 37.34 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/1.342, allocations: 251.3 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/1.342, allocations: 16.45 kB / 1.123 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/1.342, allocations: 19.14 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/1.343, allocations: 147.6 kB / 1.124 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.343, allocations: 3.938 kB / 1.124 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/1.343, allocations: 0 / 1.124 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/1.343, allocations: 8 kB / 1.124 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/1.343, allocations: 53.8 kB / 1.124 GB, free: 39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/1.343, allocations: 336.1 kB / 1.124 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/1.344, allocations: 105 kB / 1.124 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/1.344, allocations: 57.33 kB / 1.124 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/1.344, allocations: 2.906 kB / 1.124 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/1.344, allocations: 169.4 kB / 1.124 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/1.344, allocations: 4 kB / 1.124 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005164/1.344, allocations: 248.2 kB / 1.125 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/1.345, allocations: 56.16 kB / 1.125 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/1.345, allocations: 259.4 kB / 1.125 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/1.345, allocations: 36.61 kB / 1.125 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/1.345, allocations: 92.62 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/1.345, allocations: 37.67 kB / 1.125 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/1.345, allocations: 7.375 kB / 1.125 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.345, allocations: 321.7 kB / 1.125 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/1.345, allocations: 87.69 kB / 1.125 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/1.346, allocations: 141.8 kB / 1.126 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/1.346, allocations: 148.6 kB / 1.126 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.346, allocations: 4 kB / 1.126 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006389/1.347, allocations: 393.2 kB / 1.126 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.203e-05/1.347, allocations: 77.3 kB / 1.126 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.347, allocations: 7.953 kB / 1.126 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/1.347, allocations: 4 kB / 1.126 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/1.347, allocations: 31.03 kB / 1.126 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.347, allocations: 0 / 1.126 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/1.347, allocations: 42.48 kB / 1.126 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/1.347, allocations: 35.42 kB / 1.126 GB, free: 36.84 MB / 0.7448 GB 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 () * 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.0001382/1.347, allocations: 136 kB / 1.126 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/1.347, allocations: 27.19 kB / 1.126 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/1.348, allocations: 27.83 kB / 1.126 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.348, allocations: 4.516 kB / 1.126 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.348, allocations: 0 / 1.126 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.348, allocations: 4 kB / 1.126 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/1.348, allocations: 0.5941 MB / 1.127 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.348, allocations: 0 / 1.127 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/1.348, allocations: 12.64 kB / 1.127 GB, free: 36.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.348, allocations: 4.656 kB / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.349, allocations: 18.28 kB / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.349, allocations: 0 / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.349, allocations: 1.266 kB / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/1.349, allocations: 346.6 kB / 1.127 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/1.349, allocations: 158.4 kB / 1.128 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/1.349, allocations: 22.22 kB / 1.128 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/1.35, allocations: 31.73 kB / 1.128 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/1.35, allocations: 7.969 kB / 1.128 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/1.35, allocations: 46.59 kB / 1.128 GB, free: 35.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001672/1.35, allocations: 203 kB / 1.128 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.35, allocations: 0 / 1.128 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002975/1.35, allocations: 50.25 kB / 1.128 GB, free: 35.48 MB / 0.7448 GB 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) * 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.0002081/1.35, allocations: 127.4 kB / 1.128 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005151/1.351, allocations: 340.5 kB / 1.128 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.351, allocations: 0 / 1.128 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/1.351, allocations: 73.44 kB / 1.128 GB, free: 35.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/1.351, allocations: 15.52 kB / 1.128 GB, free: 35.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/1.352, allocations: 282.3 kB / 1.129 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/1.352, allocations: 0.7425 MB / 1.129 GB, free: 34.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.327e-05/1.352, allocations: 14.92 kB / 1.129 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/1.352, allocations: 26.48 kB / 1.129 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/1.352, allocations: 0 / 1.129 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.007334/1.36, allocations: 3.949 MB / 1.133 GB, free: 31.73 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)