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.285/2.285, allocations: 248.5 MB / 261.1 MB, free: 6.051 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.001574/0.001574, allocations: 178.6 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.1 MB / 0.571 GB, free: 11.76 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.001218/0.001217, allocations: 90.48 kB / 0.6754 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.745e-05, allocations: 3.984 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2212, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8882/1.109, allocations: 133.3 MB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.11, allocations: 74.08 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.028/1.138, allocations: 4.451 MB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.304e-06/1.138, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.625e-05/1.138, allocations: 12 kB / 1.025 GB, free: 14.08 MB / 0.6511 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.0017/1.14, allocations: 0.5816 MB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/1.14, allocations: 12.03 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.994e-05/1.14, allocations: 33.69 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/1.14, allocations: 31.72 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/1.141, allocations: 263.3 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/1.141, allocations: 15.98 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/1.141, allocations: 15.06 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/1.142, allocations: 140.5 kB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.142, allocations: 4 kB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/1.142, allocations: 3.438 kB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/1.142, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/1.142, allocations: 42.42 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/1.143, allocations: 340.6 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/1.143, allocations: 121.9 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/1.144, allocations: 54.72 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/1.144, allocations: 4 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008796/1.145, allocations: 224.2 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 4.128e-06/1.145, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.001106/1.146, allocations: 219.1 kB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/1.146, allocations: 63.39 kB / 1.027 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/1.147, allocations: 257 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/1.147, allocations: 37.56 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/1.147, allocations: 92.39 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/1.147, allocations: 42.77 kB / 1.028 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/1.147, allocations: 7.875 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002163/1.147, allocations: 329.4 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005784/1.148, allocations: 96.45 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/1.149, allocations: 146 kB / 1.028 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/1.149, allocations: 153.5 kB / 1.028 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/1.149, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001768/1.151, allocations: 409.3 kB / 1.029 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/1.151, allocations: 83.22 kB / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.151, allocations: 7.984 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/1.151, allocations: 0 / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/1.152, allocations: 31.86 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/1.152, allocations: 0 / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/1.153, allocations: 47.56 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/1.153, allocations: 59.61 kB / 1.029 GB, free: 10.34 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.0003152/1.153, allocations: 140 kB / 1.029 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.153, allocations: 27.62 kB / 1.029 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/1.154, allocations: 31.59 kB / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.154, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/1.154, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.154, allocations: 4 kB / 1.029 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/1.156, allocations: 0.548 MB / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.156, allocations: 7.938 kB / 1.03 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/1.156, allocations: 11.98 kB / 1.03 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/1.156, allocations: 0 / 1.03 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/1.156, allocations: 15.17 kB / 1.03 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.156, allocations: 3.938 kB / 1.03 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.156, allocations: 0 / 1.03 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/1.157, allocations: 321.4 kB / 1.03 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/1.157, allocations: 150.9 kB / 1.03 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.157, allocations: 11.75 kB / 1.03 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/1.158, allocations: 11.88 kB / 1.03 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.158, allocations: 15.97 kB / 1.03 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.158, allocations: 31.86 kB / 1.03 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004522/1.159, allocations: 210.6 kB / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.52e-07/1.159, allocations: 0 / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008575/1.16, allocations: 52.06 kB / 1.031 GB, free: 8.855 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.00156/1.161, allocations: 0.8728 MB / 1.031 GB, free: 8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.162, allocations: 346 kB / 1.032 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.163, allocations: 0 / 1.032 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/1.163, allocations: 70.92 kB / 1.032 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/1.163, allocations: 20.44 kB / 1.032 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/1.165, allocations: 343.1 kB / 1.032 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/1.166, allocations: 0.7498 MB / 1.033 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003859/1.166, allocations: 41.19 kB / 1.033 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/1.167, allocations: 46.59 kB / 1.033 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/1.167, allocations: 0 / 1.033 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/1.2, allocations: 5.428 MB / 1.038 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003259/1.201, allocations: 159.1 kB / 1.038 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/3.544, allocations: 3.938 kB / 1.038 GB, free: 0.8867 MB / 0.6511 GB