Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.3/2.3, allocations: 248.7 MB / 256.2 MB, free: 7.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 179.9 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.3 MB / 0.5662 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 98.03 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.917e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1967, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8165/1.013, allocations: 133.5 MB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/1.014, allocations: 66.59 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02444/1.038, allocations: 4.431 MB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.038, allocations: 0 / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.821e-05/1.038, allocations: 4 kB / 1.019 GB, free: 1.395 MB / 0.6355 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.001258/1.04, allocations: 0.59 MB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.04, allocations: 12.02 kB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/1.04, allocations: 27.72 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/1.04, allocations: 253.3 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/1.04, allocations: 11.88 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.983e-05/1.04, allocations: 12 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001663/1.041, allocations: 42.8 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/1.041, allocations: 136.2 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.041, allocations: 0 / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/1.041, allocations: 0 / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-06/1.041, allocations: 8 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/1.042, allocations: 301.3 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/1.042, allocations: 120 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/1.042, allocations: 52.66 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/1.042, allocations: 7.922 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007163/1.043, allocations: 207.1 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.805e-06/1.043, allocations: 0 / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006773/1.044, allocations: 214 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/1.044, allocations: 66.08 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/1.044, allocations: 242.9 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/1.044, allocations: 32.89 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/1.044, allocations: 92.69 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/1.044, allocations: 38.08 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/1.044, allocations: 7.375 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.045, allocations: 323 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/1.045, allocations: 82.84 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/1.045, allocations: 140.8 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/1.046, allocations: 75.39 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.046, allocations: 3.953 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009492/1.047, allocations: 313 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-05/1.047, allocations: 73.89 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.047, allocations: 0 / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/1.047, allocations: 15.88 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/1.047, allocations: 27.91 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.047, allocations: 4 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/1.048, allocations: 51.94 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.048, allocations: 51.98 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0002079/1.048, allocations: 119.8 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005231/1.049, allocations: 217.6 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/1.049, allocations: 27.62 kB / 1.023 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/1.049, allocations: 25.66 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.049, allocations: 4 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.049, allocations: 4 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.049, allocations: 0 / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/1.051, allocations: 0.5188 MB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.051, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/1.051, allocations: 8 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.051, allocations: 3.938 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/1.051, allocations: 15.97 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.051, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.051, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/1.052, allocations: 315.5 kB / 1.024 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/1.052, allocations: 152.2 kB / 1.024 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/1.052, allocations: 7.938 kB / 1.024 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/1.052, allocations: 4 kB / 1.024 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/1.052, allocations: 19.91 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/1.052, allocations: 27.98 kB / 1.024 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002601/1.053, allocations: 204.6 kB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.053, allocations: 4 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005469/1.053, allocations: 44 kB / 1.024 GB, free: 12.39 MB / 0.6511 GB 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) * 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 (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.0009749/1.054, allocations: 0.858 MB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008101/1.055, allocations: 335.1 kB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.055, allocations: 384 / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/1.055, allocations: 75.39 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/1.056, allocations: 20.42 kB / 1.025 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/1.057, allocations: 328.9 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/1.057, allocations: 0.7512 MB / 1.026 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002302/1.058, allocations: 33.2 kB / 1.026 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/1.058, allocations: 50.84 kB / 1.026 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.323e-06/1.058, allocations: 0 / 1.026 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04997/1.108, allocations: 4.967 MB / 1.031 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000323/1.108, allocations: 129.6 kB / 1.031 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/3.436, allocations: 4 kB / 1.031 GB, free: 4.859 MB / 0.6511 GB