Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 220.3 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 66.12 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3577, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003556/0.3612, allocations: 1.527 MB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3626, allocations: 0.5207 MB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.3627, allocations: 4 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.3628, allocations: 7.875 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.363, allocations: 31.84 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.364, allocations: 313.3 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006275/0.3646, allocations: 479.5 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.3646, allocations: 4 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.365, allocations: 287.6 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.3653, allocations: 147.7 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.547e-05/0.3654, allocations: 24 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.91e-05/0.3655, allocations: 28 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.3657, allocations: 119.6 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.3659, allocations: 155.3 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.3663, allocations: 435.8 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3663, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.337e-06/0.3663, allocations: 3.984 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3663, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 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.001253/0.3676, allocations: 0.7872 MB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3676, allocations: 12.03 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.732e-05/0.3676, allocations: 4.125 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.201e-05/0.3677, allocations: 42.73 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.3678, allocations: 52.66 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.3682, allocations: 260.7 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.3683, allocations: 16.38 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.3684, allocations: 24.36 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3694, allocations: 227.1 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3694, allocations: 0 / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3694, allocations: 4 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3695, allocations: 7.922 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008191/0.3703, allocations: 95.92 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.3707, allocations: 312.5 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3718, allocations: 166.5 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/0.3726, allocations: 96.78 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.3726, allocations: 8 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.3737, allocations: 231 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/0.3737, allocations: 0 / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.00273/0.3764, allocations: 482.6 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3764, allocations: 59.41 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.3769, allocations: 413.9 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.377, allocations: 41.69 kB / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.3771, allocations: 89.45 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.3771, allocations: 39.73 kB / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.3773, allocations: 141.3 kB / 1.291 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3775, allocations: 322.8 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.3778, allocations: 191.3 kB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.3782, allocations: 250.4 kB / 1.292 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.3786, allocations: 271.7 kB / 1.292 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3786, allocations: 4 kB / 1.292 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009081/0.3795, allocations: 0.5507 MB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.22e-05/0.3796, allocations: 79.38 kB / 1.293 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3796, allocations: 0 / 1.293 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3796, allocations: 4 kB / 1.293 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.3798, allocations: 19.98 kB / 1.293 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3798, allocations: 3.938 kB / 1.293 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.3803, allocations: 68.02 kB / 1.293 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.885e-05/0.3804, allocations: 63.92 kB / 1.293 GB, free: 0.9766 MB / 0.9825 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.3807, allocations: 197.7 kB / 1.293 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.3807, allocations: 39.7 kB / 1.293 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.336e-05/0.3808, allocations: 43.67 kB / 1.293 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.3808, allocations: 4 kB / 1.294 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3808, allocations: 0 / 1.294 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3808, allocations: 0 / 1.294 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.3832, allocations: 0.7079 MB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3832, allocations: 0 / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.3832, allocations: 11.94 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3832, allocations: 3.938 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.3832, allocations: 19.97 kB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3833, allocations: 4 kB / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3833, allocations: 0 / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.3851, allocations: 487.4 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.3854, allocations: 121.6 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.859e-05/0.3855, allocations: 23.98 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.386, allocations: 27.97 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.386, allocations: 11.97 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.3861, allocations: 59.97 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003147/0.3864, allocations: 295.1 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3864, allocations: 0 / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000404/0.3868, allocations: 63.98 kB / 1.295 GB, free: 14.82 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002265/0.3891, allocations: 1.038 MB / 1.296 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.3906, allocations: 481.1 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3906, allocations: 0 / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008038/0.3914, allocations: 111.8 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.3918, allocations: 31.77 kB / 1.297 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/0.3969, allocations: 3.078 MB / 1.3 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.3971, allocations: 170.9 kB / 1.3 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.502e-05/0.3972, allocations: 13.08 kB / 1.3 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.3973, allocations: 19.44 kB / 1.3 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of SimCode: time 1.503e-06/0.3973, allocations: 0 / 1.3 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.4281, allocations: 7.682 MB / 1.308 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.81, allocations: 12.8 kB / 1.308 GB, free: 2.016 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=643.381 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.842743378016166] Failed to read output from testmodel.py, exit status != 0: 12.521961347083561 11.993665399 11.623823371 Calling exit ...