Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001174/0.001174, allocations: 176.8 kB / 326.5 MB, free: 2.273 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.227/2.227, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009424/0.0009422, allocations: 88.25 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004021, allocations: 9.672 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2803, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.4648, allocations: 133.5 MB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.4651, allocations: 71.95 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01369/0.4788, allocations: 4.464 MB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4789, allocations: 3.938 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.4789, allocations: 0 / 1.035 GB, free: 5.648 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.000983/0.4799, allocations: 0.6298 MB / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.4799, allocations: 8.031 kB / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.957e-05/0.48, allocations: 42.55 kB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.4801, allocations: 31.62 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.4805, allocations: 254.5 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.4805, allocations: 8 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.4806, allocations: 31.97 kB / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.4809, allocations: 145.5 kB / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.4809, allocations: 0 / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.481, allocations: 4 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.481, allocations: 0 / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.4811, allocations: 47.97 kB / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.4815, allocations: 325.3 kB / 1.036 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.4818, allocations: 138.6 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.4819, allocations: 3.984 kB / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.4823, allocations: 214.9 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.4823, allocations: 0 / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0005843/0.4829, allocations: 269 kB / 1.037 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.483, allocations: 59.39 kB / 1.037 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.4832, allocations: 254.2 kB / 1.037 GB, free: 3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/0.4833, allocations: 45.69 kB / 1.037 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.4834, allocations: 85.14 kB / 1.037 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.4834, allocations: 43.44 kB / 1.038 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.4835, allocations: 8 kB / 1.038 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.4836, allocations: 330.8 kB / 1.038 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.4839, allocations: 100.2 kB / 1.038 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.4842, allocations: 150.4 kB / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.4845, allocations: 167.6 kB / 1.038 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4845, allocations: 4 kB / 1.038 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00076/0.4853, allocations: 419.1 kB / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/0.4854, allocations: 75.39 kB / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4854, allocations: 7.938 kB / 1.039 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4854, allocations: 4 kB / 1.039 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4856, allocations: 32.09 kB / 1.039 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4856, allocations: 4 kB / 1.039 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.486, allocations: 51.75 kB / 1.039 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/0.4861, allocations: 55.98 kB / 1.039 GB, free: 1.367 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.0002254/0.4863, allocations: 169.7 kB / 1.039 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.4863, allocations: 31.7 kB / 1.039 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/0.4864, allocations: 34.25 kB / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4864, allocations: 0 / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4864, allocations: 0 / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4864, allocations: 0 / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008287/0.4873, allocations: 0.5587 MB / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4873, allocations: 0 / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.4873, allocations: 11.98 kB / 1.04 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4874, allocations: 0 / 1.04 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.4874, allocations: 15.98 kB / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4874, allocations: 0 / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4874, allocations: 3.984 kB / 1.04 GB, free: 492 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.4879, allocations: 323 kB / 1.04 GB, free: 152 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.4881, allocations: 152.7 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.4882, allocations: 8 kB / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.4883, allocations: 11.98 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.4884, allocations: 27.91 kB / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.4885, allocations: 27.98 kB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001959/0.4887, allocations: 205.9 kB / 1.04 GB, free: 15.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4887, allocations: 0 / 1.04 GB, free: 15.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003321/0.489, allocations: 56 kB / 1.04 GB, free: 15.65 MB / 0.698 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.0008119/0.4898, allocations: 0.8759 MB / 1.041 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005971/0.4905, allocations: 346.8 kB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4905, allocations: 0 / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.4906, allocations: 72.89 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.4909, allocations: 22.25 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.4924, allocations: 1.612 MB / 1.043 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.4927, allocations: 0.7516 MB / 1.044 GB, free: 11.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.4929, allocations: 29.09 kB / 1.044 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.493, allocations: 47.41 kB / 1.044 GB, free: 11.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.493, allocations: 0 / 1.044 GB, free: 11.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.5122, allocations: 5.402 MB / 1.049 GB, free: 6.473 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.5125, allocations: 180.1 kB / 1.05 GB, free: 6.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.26, allocations: 1.75 kB / 1.05 GB, free: 6.23 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)