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.164/2.164, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 186.2 kB / 325.5 MB, free: 2.875 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.64/2.64, allocations: 205.4 MB / 0.5764 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 106.1 kB / 0.6809 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006715/0.0006715, allocations: 12.44 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2173, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2536/0.471, allocations: 133.3 MB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.4713, allocations: 67.95 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02268/0.494, allocations: 4.456 MB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4941, allocations: 0 / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.4941, allocations: 4 kB / 1.033 GB, free: 7.383 MB / 0.6823 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.001308/0.4954, allocations: 0.6259 MB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.4955, allocations: 12.03 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.899e-05/0.4956, allocations: 34.55 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.4957, allocations: 43.56 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.4962, allocations: 254.5 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.4962, allocations: 15.98 kB / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.876e-05/0.4964, allocations: 20 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.4968, allocations: 142.8 kB / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4968, allocations: 0 / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.4969, allocations: 4 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4969, allocations: 0 / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.4971, allocations: 43.97 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.4976, allocations: 341.2 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.4981, allocations: 134.6 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.4981, allocations: 4 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006743/0.4988, allocations: 216.1 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.355e-06/0.4988, allocations: 0 / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0009593/0.4998, allocations: 270.7 kB / 1.036 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.4999, allocations: 59.39 kB / 1.036 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.5003, allocations: 250.2 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/0.5004, allocations: 41.69 kB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.5005, allocations: 89.14 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.5006, allocations: 47.44 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.5007, allocations: 8 kB / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5008, allocations: 330.8 kB / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.5013, allocations: 108.1 kB / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.5018, allocations: 150.4 kB / 1.037 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.5023, allocations: 158 kB / 1.037 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5023, allocations: 0 / 1.037 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001326/0.5036, allocations: 423 kB / 1.037 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-05/0.5037, allocations: 77.42 kB / 1.037 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5037, allocations: 0 / 1.037 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.5038, allocations: 4 kB / 1.037 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.504, allocations: 28.16 kB / 1.037 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.5041, allocations: 7.938 kB / 1.037 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.5047, allocations: 51.81 kB / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.5049, allocations: 51.98 kB / 1.037 GB, free: 3.105 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000326/0.5052, allocations: 173.7 kB / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.5053, allocations: 31.66 kB / 1.038 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.33e-05/0.5054, allocations: 30.25 kB / 1.038 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5054, allocations: 0 / 1.038 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5054, allocations: 4 kB / 1.038 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5054, allocations: 0 / 1.038 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.5067, allocations: 0.5529 MB / 1.038 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5067, allocations: 3.938 kB / 1.038 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.5068, allocations: 15.92 kB / 1.038 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.5068, allocations: 4 kB / 1.038 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.5068, allocations: 15.98 kB / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5068, allocations: 0 / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5069, allocations: 4 kB / 1.038 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.5075, allocations: 316.8 kB / 1.038 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.5078, allocations: 152.7 kB / 1.039 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.5079, allocations: 12 kB / 1.039 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.5082, allocations: 7.984 kB / 1.039 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.5083, allocations: 19.97 kB / 1.039 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.5084, allocations: 31.98 kB / 1.039 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003064/0.5087, allocations: 209.9 kB / 1.039 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5087, allocations: 3.938 kB / 1.039 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005331/0.5093, allocations: 48 kB / 1.039 GB, free: 1.391 MB / 0.6823 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) * 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 (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.001091/0.5104, allocations: 0.8742 MB / 1.04 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.5115, allocations: 351.5 kB / 1.04 GB, free: 128 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5115, allocations: 4 kB / 1.04 GB, free: 124 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.5117, allocations: 73.62 kB / 1.04 GB, free: 52 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.5121, allocations: 20.86 kB / 1.04 GB, free: 28 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.514, allocations: 1.608 MB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.5145, allocations: 0.7477 MB / 1.042 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002805/0.5148, allocations: 33.08 kB / 1.043 GB, free: 13.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.515, allocations: 47.36 kB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/0.515, allocations: 4 kB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.5507, allocations: 5.39 MB / 1.048 GB, free: 8.203 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003686/0.5511, allocations: 185.3 kB / 1.048 GB, free: 7.953 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.027, allocations: 5.188 kB / 1.048 GB, free: 7.949 MB / 0.698 GB