Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.838/1.838, allocations: 285.4 MB / 298 MB, free: 5.988 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.0009914/0.0009915, allocations: 176.8 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008256/0.0008257, allocations: 90.7 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.207e-05/5.221e-05, allocations: 7.984 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8635, allocations: 115.3 MB / 0.971 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/1.089, allocations: 139.7 MB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.089, allocations: 78.28 kB / 1.108 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01405/1.103, allocations: 4.448 MB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.893e-06/1.103, allocations: 0 / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.521e-05/1.103, allocations: 4 kB / 1.112 GB, free: 7.566 MB / 0.7136 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.0009185/1.104, allocations: 0.5788 MB / 1.112 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/1.104, allocations: 8.031 kB / 1.112 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/1.104, allocations: 46.48 kB / 1.112 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/1.104, allocations: 31.72 kB / 1.113 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/1.105, allocations: 242.6 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/1.105, allocations: 11.94 kB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/1.105, allocations: 23.98 kB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/1.105, allocations: 151 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.105, allocations: 2.438 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/1.105, allocations: 3.844 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/1.105, allocations: 4 kB / 1.113 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/1.105, allocations: 43.98 kB / 1.113 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/1.106, allocations: 337.1 kB / 1.113 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/1.106, allocations: 130.7 kB / 1.113 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/1.106, allocations: 56.84 kB / 1.113 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/1.106, allocations: 0 / 1.113 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/1.107, allocations: 221.2 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/1.107, allocations: 0 / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005111/1.107, allocations: 217.9 kB / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/1.107, allocations: 59.39 kB / 1.114 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/1.108, allocations: 251.4 kB / 1.114 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/1.108, allocations: 37.7 kB / 1.114 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/1.108, allocations: 93.12 kB / 1.114 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/1.108, allocations: 43.5 kB / 1.114 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/1.108, allocations: 8 kB / 1.114 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.108, allocations: 322.8 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/1.108, allocations: 96.22 kB / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/1.108, allocations: 154.4 kB / 1.115 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/1.109, allocations: 157.7 kB / 1.115 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/1.109, allocations: 3.953 kB / 1.115 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007605/1.11, allocations: 413.1 kB / 1.115 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.515e-05/1.11, allocations: 71.39 kB / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.11, allocations: 0 / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.11, allocations: 8.188 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/1.11, allocations: 31.91 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.11, allocations: 4 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/1.11, allocations: 43.88 kB / 1.116 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/1.11, allocations: 51.98 kB / 1.116 GB, free: 3.371 MB / 0.7136 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.0001334/1.11, allocations: 144 kB / 1.116 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/1.111, allocations: 27.67 kB / 1.116 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.419e-05/1.111, allocations: 31.53 kB / 1.116 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.111, allocations: 4 kB / 1.116 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/1.111, allocations: 0 / 1.116 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.111, allocations: 0 / 1.116 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008256/1.111, allocations: 0.5576 MB / 1.116 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.111, allocations: 0 / 1.116 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/1.112, allocations: 11.98 kB / 1.116 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/1.112, allocations: 8 kB / 1.116 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/1.112, allocations: 7.984 kB / 1.116 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/1.112, allocations: 3.844 kB / 1.116 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.112, allocations: 3.938 kB / 1.116 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/1.112, allocations: 317.7 kB / 1.117 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/1.112, allocations: 152.7 kB / 1.117 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/1.112, allocations: 11.98 kB / 1.117 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/1.112, allocations: 16 kB / 1.117 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/1.113, allocations: 15.97 kB / 1.117 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/1.113, allocations: 31.98 kB / 1.117 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002083/1.113, allocations: 203.1 kB / 1.117 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/1.113, allocations: 0 / 1.117 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003174/1.113, allocations: 51.98 kB / 1.117 GB, free: 1.703 MB / 0.7136 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.0007918/1.114, allocations: 0.8741 MB / 1.118 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005396/1.115, allocations: 344.8 kB / 1.118 GB, free: 452 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.115, allocations: 0 / 1.118 GB, free: 452 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/1.115, allocations: 75.91 kB / 1.118 GB, free: 376 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/1.115, allocations: 22.39 kB / 1.118 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/1.116, allocations: 350.6 kB / 1.119 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/1.116, allocations: 0.7438 MB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001395/1.116, allocations: 42.61 kB / 1.12 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/1.116, allocations: 43.42 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/1.116, allocations: 0 / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/1.134, allocations: 5.444 MB / 1.125 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.135, allocations: 155.8 kB / 1.125 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.794, allocations: 4 kB / 1.125 GB, free: 9.684 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)