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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.00115/0.00115, allocations: 181 kB / 377.1 MB, free: 1.516 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.89/1.89, allocations: 205.4 MB / 0.6366 GB, free: 8.559 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.0009016/0.0009021, allocations: 90.59 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 11.98 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3114, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8712/1.183, allocations: 141.6 MB / 1.127 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.183, allocations: 76 kB / 1.127 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01362/1.197, allocations: 4.557 MB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.715e-06/1.197, allocations: 0 / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.809e-05/1.197, allocations: 12.48 kB / 1.131 GB, free: 30.34 MB / 0.7292 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.0007797/1.198, allocations: 0.663 MB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.212e-05/1.198, allocations: 16.02 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.736e-05/1.198, allocations: 35.38 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.366e-05/1.198, allocations: 37.11 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/1.198, allocations: 248.6 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/1.198, allocations: 24.22 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/1.198, allocations: 19.44 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/1.199, allocations: 210.2 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.199, allocations: 1.734 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/1.199, allocations: 4 kB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/1.199, allocations: 4.172 kB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006748/1.2, allocations: 104.5 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/1.2, allocations: 326.9 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/1.201, allocations: 186.3 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/1.201, allocations: 0.7031 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000918/1.202, allocations: 225.8 kB / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.474e-06/1.202, allocations: 0 / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002377/1.205, allocations: 485.3 kB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.205, allocations: 61 kB / 1.134 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/1.205, allocations: 252.8 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/1.205, allocations: 43.44 kB / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/1.205, allocations: 90.39 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/1.205, allocations: 43.31 kB / 1.134 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/1.205, allocations: 8 kB / 1.134 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/1.205, allocations: 323.1 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/1.206, allocations: 94.58 kB / 1.135 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/1.206, allocations: 147.7 kB / 1.135 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/1.206, allocations: 154.8 kB / 1.135 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/1.206, allocations: 4 kB / 1.135 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007438/1.207, allocations: 391 kB / 1.135 GB, free: 26.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.338e-05/1.207, allocations: 72.56 kB / 1.135 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.207, allocations: 4.75 kB / 1.135 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.207, allocations: 7.938 kB / 1.135 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/1.207, allocations: 25.3 kB / 1.135 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/1.207, allocations: 8.938 kB / 1.135 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/1.208, allocations: 44.39 kB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/1.208, allocations: 44.44 kB / 1.135 GB, free: 26.25 MB / 0.7292 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.0001931/1.208, allocations: 163.8 kB / 1.136 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/1.208, allocations: 25.31 kB / 1.136 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/1.208, allocations: 27 kB / 1.136 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.208, allocations: 14.81 kB / 1.136 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.208, allocations: 0 / 1.136 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.208, allocations: 1.172 kB / 1.136 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/1.21, allocations: 0.7103 MB / 1.136 GB, free: 25.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.21, allocations: 0.9375 kB / 1.136 GB, free: 25.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/1.21, allocations: 9.312 kB / 1.136 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/1.21, allocations: 0 / 1.136 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/1.21, allocations: 18.7 kB / 1.136 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.21, allocations: 5.484 kB / 1.136 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.21, allocations: 0 / 1.136 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/1.212, allocations: 463.3 kB / 1.137 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/1.212, allocations: 170.7 kB / 1.137 GB, free: 24.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/1.212, allocations: 13.45 kB / 1.137 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/1.213, allocations: 40.11 kB / 1.137 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/1.213, allocations: 6.953 kB / 1.137 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/1.213, allocations: 39.12 kB / 1.137 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001921/1.213, allocations: 208.8 kB / 1.137 GB, free: 24.53 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.213, allocations: 0.75 kB / 1.137 GB, free: 24.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003991/1.213, allocations: 57.64 kB / 1.137 GB, free: 24.47 MB / 0.7292 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.001987/1.215, allocations: 1.011 MB / 1.138 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001372/1.217, allocations: 409.5 kB / 1.139 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.217, allocations: 0 / 1.139 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007205/1.218, allocations: 129.5 kB / 1.139 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/1.218, allocations: 20.97 kB / 1.139 GB, free: 23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/1.22, allocations: 1.657 MB / 1.141 GB, free: 21.33 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/1.22, allocations: 0.7454 MB / 1.141 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.831e-05/1.22, allocations: 12.97 kB / 1.141 GB, free: 20.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/1.22, allocations: 26.58 kB / 1.141 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/1.22, allocations: 0 / 1.141 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/1.24, allocations: 4.944 MB / 1.146 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.241, allocations: 180.6 kB / 1.146 GB, free: 17.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/3.026, allocations: 0 / 1.146 GB, free: 17.5 MB / 0.7292 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)