Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.361/3.361, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.306/3.306, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 11.09 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.526, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.0032/0.5293, allocations: 1.183 MB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.531, allocations: 411.2 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.471e-05/0.5311, allocations: 3.938 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.693e-05/0.5312, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.5314, allocations: 23.91 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.5326, allocations: 213.3 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.5329, allocations: 159.7 kB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.533, allocations: 4 kB / 0.7892 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004246/0.5335, allocations: 171.6 kB / 0.7893 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.5338, allocations: 131.7 kB / 0.7894 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/0.5339, allocations: 8 kB / 0.7895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.768e-05/0.534, allocations: 12 kB / 0.7895 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.5342, allocations: 79.78 kB / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.5343, allocations: 69.58 kB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.5348, allocations: 207.8 kB / 0.7898 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5348, allocations: 0 / 0.7898 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.157e-06/0.5348, allocations: 0 / 0.7898 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.5348, allocations: 0 / 0.7898 GB, free: 9.207 MB / 0.6075 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.002/0.5368, allocations: 0.6643 MB / 0.7905 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.424e-05/0.5369, allocations: 8.031 kB / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.5371, allocations: 42.56 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.5372, allocations: 31.7 kB / 0.7905 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/0.5379, allocations: 254.4 kB / 0.7908 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.538, allocations: 12 kB / 0.7908 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.5381, allocations: 20 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.5397, allocations: 217.2 kB / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.5397, allocations: 0 / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.5398, allocations: 3.938 kB / 0.791 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5398, allocations: 0 / 0.791 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.5408, allocations: 107.9 kB / 0.7911 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.5415, allocations: 325.2 kB / 0.7914 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.543, allocations: 190.4 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.543, allocations: 0 / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.5445, allocations: 221.9 kB / 0.7918 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 3.247e-06/0.5445, allocations: 0 / 0.7918 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.003838/0.5484, allocations: 485 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.5485, allocations: 59.39 kB / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.5492, allocations: 286.9 kB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.5494, allocations: 37.7 kB / 0.7926 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.5495, allocations: 93.12 kB / 0.7927 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.5496, allocations: 47.48 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.5497, allocations: 8 kB / 0.7928 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002519/0.5499, allocations: 322.8 kB / 0.7931 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.5503, allocations: 83.95 kB / 0.7932 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.5507, allocations: 133.9 kB / 0.7933 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.5511, allocations: 151.4 kB / 0.7935 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5511, allocations: 3.938 kB / 0.7935 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001156/0.5523, allocations: 391.1 kB / 0.7938 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.5524, allocations: 71.39 kB / 0.7939 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.5525, allocations: 4.188 kB / 0.7939 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/0.5525, allocations: 7.938 kB / 0.7939 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.5528, allocations: 31.91 kB / 0.7939 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.5528, allocations: 0 / 0.7939 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.5536, allocations: 63.84 kB / 0.794 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.5537, allocations: 43.98 kB / 0.794 GB, free: 4.547 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0004496/0.5542, allocations: 169.7 kB / 0.7942 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5543, allocations: 31.58 kB / 0.7942 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.5544, allocations: 34.3 kB / 0.7943 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.5545, allocations: 0 / 0.7943 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.5545, allocations: 0 / 0.7943 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.5545, allocations: 7.984 kB / 0.7943 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/0.558, allocations: 0.7151 MB / 0.795 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.558, allocations: 0 / 0.795 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.5581, allocations: 4 kB / 0.795 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.5581, allocations: 7.984 kB / 0.795 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.5582, allocations: 11.98 kB / 0.795 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.5582, allocations: 0 / 0.795 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5582, allocations: 0 / 0.795 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.5607, allocations: 470.9 kB / 0.7954 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.5611, allocations: 156.7 kB / 0.7956 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.5613, allocations: 19.92 kB / 0.7956 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007016/0.562, allocations: 35.97 kB / 0.7956 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.562, allocations: 15.92 kB / 0.7957 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-05/0.5621, allocations: 39.97 kB / 0.7957 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004107/0.5626, allocations: 205.9 kB / 0.7959 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5626, allocations: 0 / 0.7959 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000695/0.5633, allocations: 51.98 kB / 0.7959 GB, free: 2.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$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.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.00344/0.5667, allocations: 1.022 MB / 0.7969 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.5688, allocations: 382.8 kB / 0.7973 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.5689, allocations: 3.938 kB / 0.7973 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.57, allocations: 127.8 kB / 0.7974 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.5706, allocations: 16.83 kB / 0.7974 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.5757, allocations: 1.65 MB / 0.7991 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.5765, allocations: 0.7519 MB / 0.7998 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.5767, allocations: 13.03 kB / 0.7998 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.5768, allocations: 27.42 kB / 0.7998 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of SimCode: time 2.003e-06/0.5769, allocations: 4 kB / 0.7998 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.6083, allocations: 4.516 MB / 0.8042 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004707/0.6089, allocations: 171.2 kB / 0.8044 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.339/3.948, allocations: 0 / 0.8044 GB, free: 9.738 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) Environment - environmentSimulation: