Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.558/2.558, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001461/0.001461, allocations: 180.9 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001608/0.001607, allocations: 94.8 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.176e-05, allocations: 4 kB / 0.8508 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.8241, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.259/1.083, allocations: 138.9 MB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/1.084, allocations: 72.45 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03432/1.118, allocations: 4.425 MB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/1.118, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.304e-05/1.118, allocations: 4 kB / 1.103 GB, free: 13.12 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.001795/1.12, allocations: 0.5788 MB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/1.12, allocations: 12.03 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/1.12, allocations: 32.92 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/1.121, allocations: 254.5 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/1.121, allocations: 4 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/1.121, allocations: 12 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002733/1.122, allocations: 39.98 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/1.122, allocations: 142.8 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.122, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/1.122, allocations: 4 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.122, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008211/1.123, allocations: 321.6 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/1.124, allocations: 110.7 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/1.124, allocations: 53.5 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/1.124, allocations: 4 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008804/1.125, allocations: 215.9 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 4.308e-06/1.125, allocations: 0 / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.001012/1.126, allocations: 207.3 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/1.126, allocations: 63.39 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/1.127, allocations: 242.3 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.127, allocations: 35.02 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/1.127, allocations: 93.44 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/1.127, allocations: 43.5 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/1.127, allocations: 4 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002697/1.127, allocations: 318.8 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/1.128, allocations: 92.2 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/1.128, allocations: 142.2 kB / 1.106 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/1.129, allocations: 65.45 kB / 1.106 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.129, allocations: 0 / 1.106 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009997/1.13, allocations: 329.4 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.677e-05/1.13, allocations: 71.39 kB / 1.107 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.13, allocations: 4 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.13, allocations: 0 / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/1.13, allocations: 35.91 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.13, allocations: 1.688 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/1.131, allocations: 48.06 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/1.131, allocations: 47.98 kB / 1.107 GB, free: 9.301 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.0002107/1.131, allocations: 141.6 kB / 1.107 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005606/1.132, allocations: 205.2 kB / 1.107 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/1.132, allocations: 23.72 kB / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/1.132, allocations: 30.03 kB / 1.107 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/1.132, allocations: 0 / 1.107 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.132, allocations: 0 / 1.107 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.132, allocations: 11.98 kB / 1.107 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/1.133, allocations: 0.5203 MB / 1.108 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.133, allocations: 0 / 1.108 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/1.133, allocations: 4 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/1.133, allocations: 4 kB / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/1.133, allocations: 15.97 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.133, allocations: 0 / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.133, allocations: 0 / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/1.134, allocations: 315 kB / 1.108 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/1.134, allocations: 150.1 kB / 1.108 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/1.134, allocations: 10.94 kB / 1.108 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/1.134, allocations: 15.98 kB / 1.108 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/1.135, allocations: 15.89 kB / 1.108 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/1.135, allocations: 31.97 kB / 1.108 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002571/1.135, allocations: 190 kB / 1.109 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.135, allocations: 0 / 1.109 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000571/1.135, allocations: 52 kB / 1.109 GB, free: 7.504 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.0009635/1.136, allocations: 0.8535 MB / 1.109 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008033/1.137, allocations: 326.9 kB / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.137, allocations: 4 kB / 1.11 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/1.137, allocations: 66.33 kB / 1.11 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/1.138, allocations: 20.88 kB / 1.11 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/1.139, allocations: 324.3 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/1.139, allocations: 0.7518 MB / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002553/1.14, allocations: 37.2 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/1.14, allocations: 47.42 kB / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/1.14, allocations: 0 / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/1.183, allocations: 4.966 MB / 1.116 GB, free: 104 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/1.184, allocations: 135.5 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.581, allocations: 0 / 1.116 GB, free: 15.91 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)