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.634/1.634, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.0009644/0.0009645, allocations: 180.9 kB / 361.4 MB, free: 6.867 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.433/1.433, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009289/0.0009289, allocations: 84.73 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.443e-05/1.446e-05, allocations: 0 / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8262, allocations: 115.3 MB / 0.9644 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/1.046, allocations: 139.1 MB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.046, allocations: 67.95 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0135/1.06, allocations: 4.429 MB / 1.105 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.294e-06/1.06, allocations: 0 / 1.105 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.06, allocations: 4 kB / 1.105 GB, free: 12.27 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.0009595/1.061, allocations: 0.5865 MB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.929e-05/1.061, allocations: 8.031 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/1.061, allocations: 36.75 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/1.062, allocations: 246.6 kB / 1.106 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/1.062, allocations: 7.984 kB / 1.106 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/1.062, allocations: 20 kB / 1.106 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001288/1.062, allocations: 39.98 kB / 1.106 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/1.062, allocations: 138.4 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.062, allocations: 0 / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/1.062, allocations: 3.984 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.062, allocations: 4 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/1.063, allocations: 309.8 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/1.063, allocations: 119.6 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/1.063, allocations: 48.84 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/1.063, allocations: 0 / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/1.063, allocations: 216.1 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/1.063, allocations: 4 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004259/1.064, allocations: 202.3 kB / 1.107 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/1.064, allocations: 63.39 kB / 1.107 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/1.064, allocations: 242.3 kB / 1.107 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/1.064, allocations: 37.7 kB / 1.107 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/1.064, allocations: 90.86 kB / 1.107 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/1.064, allocations: 35.52 kB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/1.064, allocations: 11.98 kB / 1.107 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.064, allocations: 322.8 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/1.065, allocations: 80.22 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/1.065, allocations: 142.2 kB / 1.108 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/1.065, allocations: 73.81 kB / 1.108 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.065, allocations: 0 / 1.108 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005424/1.065, allocations: 329.2 kB / 1.108 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.171e-05/1.066, allocations: 80.62 kB / 1.108 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.066, allocations: 0 / 1.108 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.066, allocations: 7.984 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/1.066, allocations: 23.92 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/1.066, allocations: 4 kB / 1.108 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/1.066, allocations: 43.97 kB / 1.108 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/1.066, allocations: 62.97 kB / 1.108 GB, free: 8.441 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.0001479/1.066, allocations: 124 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003189/1.067, allocations: 212.5 kB / 1.108 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/1.067, allocations: 23.72 kB / 1.108 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/1.067, allocations: 26.03 kB / 1.109 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.067, allocations: 4 kB / 1.109 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.067, allocations: 0 / 1.109 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.067, allocations: 0 / 1.109 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/1.068, allocations: 0.5273 MB / 1.109 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.068, allocations: 0 / 1.109 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/1.068, allocations: 11.98 kB / 1.109 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.068, allocations: 0 / 1.109 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/1.068, allocations: 11.98 kB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.068, allocations: 1 kB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.068, allocations: 3.938 kB / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/1.068, allocations: 309.1 kB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/1.068, allocations: 156.7 kB / 1.109 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/1.068, allocations: 11.98 kB / 1.11 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/1.068, allocations: 4 kB / 1.11 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/1.069, allocations: 23.88 kB / 1.11 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/1.069, allocations: 29.11 kB / 1.11 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001858/1.069, allocations: 194 kB / 1.11 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.069, allocations: 0 / 1.11 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003305/1.069, allocations: 47.98 kB / 1.11 GB, free: 6.66 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.0006927/1.07, allocations: 0.8632 MB / 1.111 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004732/1.07, allocations: 321.1 kB / 1.111 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.07, allocations: 0 / 1.111 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/1.07, allocations: 71.91 kB / 1.111 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/1.071, allocations: 21.94 kB / 1.111 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/1.071, allocations: 330.2 kB / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/1.072, allocations: 0.7521 MB / 1.112 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001429/1.072, allocations: 45.12 kB / 1.112 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/1.072, allocations: 47.41 kB / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/1.072, allocations: 0 / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/1.1, allocations: 4.964 MB / 1.117 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/1.1, allocations: 139.4 kB / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.724, allocations: 0 / 1.117 GB, free: 15.06 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)