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.698/1.698, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.0009543/0.0009543, allocations: 172.8 kB / 321.3 MB, free: 14.64 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.541/1.541, allocations: 205.1 MB / 0.572 GB, free: 10.68 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.0009692/0.0009692, allocations: 90.52 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.471e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2442, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.798/1.042, allocations: 133.5 MB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/1.043, allocations: 71.33 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01491/1.058, allocations: 4.458 MB / 1.027 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.108e-06/1.058, allocations: 0 / 1.027 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.732e-05/1.058, allocations: 7.938 kB / 1.027 GB, free: 13.36 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.0009306/1.059, allocations: 0.5754 MB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.059, allocations: 8.031 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/1.059, allocations: 46.48 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/1.059, allocations: 31.62 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/1.059, allocations: 253 kB / 1.028 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/1.059, allocations: 11.44 kB / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/1.059, allocations: 23.42 kB / 1.028 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/1.06, allocations: 139.2 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.06, allocations: 0 / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/1.06, allocations: 7.734 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.06, allocations: 4 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/1.06, allocations: 38.73 kB / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/1.06, allocations: 340.1 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/1.061, allocations: 122.5 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/1.061, allocations: 54.03 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/1.061, allocations: 2.938 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/1.061, allocations: 208.1 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/1.061, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.000484/1.062, allocations: 224.7 kB / 1.029 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/1.062, allocations: 61.78 kB / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/1.062, allocations: 264 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/1.062, allocations: 37.58 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/1.062, allocations: 88.77 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/1.062, allocations: 46.12 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/1.062, allocations: 7.984 kB / 1.029 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.062, allocations: 325.9 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/1.063, allocations: 92.41 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/1.063, allocations: 150.4 kB / 1.03 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/1.063, allocations: 155.8 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.063, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007105/1.064, allocations: 413.3 kB / 1.03 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/1.064, allocations: 72.62 kB / 1.03 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.064, allocations: 7.938 kB / 1.03 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.064, allocations: 4 kB / 1.03 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/1.064, allocations: 27.17 kB / 1.03 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.064, allocations: 7.984 kB / 1.03 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/1.065, allocations: 43.92 kB / 1.03 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/1.065, allocations: 59.47 kB / 1.03 GB, free: 9.645 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.0001453/1.065, allocations: 139.6 kB / 1.031 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/1.065, allocations: 27.62 kB / 1.031 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/1.065, allocations: 27.78 kB / 1.031 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.065, allocations: 4 kB / 1.031 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.065, allocations: 3.984 kB / 1.031 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.065, allocations: 4 kB / 1.031 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008062/1.066, allocations: 0.5553 MB / 1.031 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.066, allocations: 4 kB / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/1.066, allocations: 4 kB / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.066, allocations: 0 / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/1.066, allocations: 19.78 kB / 1.031 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.066, allocations: 0 / 1.031 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.066, allocations: 0 / 1.031 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/1.066, allocations: 324.2 kB / 1.031 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/1.066, allocations: 158.5 kB / 1.032 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/1.067, allocations: 10.56 kB / 1.032 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/1.067, allocations: 7.984 kB / 1.032 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/1.067, allocations: 23.91 kB / 1.032 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/1.067, allocations: 23.98 kB / 1.032 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000184/1.067, allocations: 204.1 kB / 1.032 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.067, allocations: 4 kB / 1.032 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003115/1.067, allocations: 60.11 kB / 1.032 GB, free: 8.145 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.0007993/1.068, allocations: 0.8684 MB / 1.033 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005264/1.069, allocations: 350.6 kB / 1.033 GB, free: 7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.069, allocations: 4.062 kB / 1.033 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/1.069, allocations: 69.11 kB / 1.033 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/1.069, allocations: 19.44 kB / 1.033 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007829/1.07, allocations: 333.4 kB / 1.034 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/1.07, allocations: 0.7511 MB / 1.034 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001374/1.07, allocations: 33.22 kB / 1.034 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/1.071, allocations: 53.66 kB / 1.034 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of SimCode: time 5.71e-07/1.071, allocations: 0 / 1.034 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/1.089, allocations: 5.442 MB / 1.04 GB, free: 400 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/1.089, allocations: 155.9 kB / 1.04 GB, free: 172 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.654, allocations: 2.391 kB / 1.04 GB, free: 172 kB / 0.6511 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)