Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 111 kB / 16.42 MB, free: 6.48 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.00105/0.00105, allocations: 187.2 kB / 17.36 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.122/1.122, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.145/2.145, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.709e-06/9.718e-06, allocations: 2.281 kB / 1.055 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001548/0.001565, allocations: 1.224 MB / 1.056 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001684/0.001744, allocations: 47.83 kB / 1.056 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.001775, allocations: 0 / 1.056 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.001808, allocations: 4 kB / 1.056 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.001891, allocations: 11.91 kB / 1.056 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.002011, allocations: 8 kB / 1.056 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.002084, allocations: 15.92 kB / 1.056 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.002125, allocations: 4 kB / 1.056 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.64e-05/0.002156, allocations: 15.98 kB / 1.056 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.002195, allocations: 11.92 kB / 1.056 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.00221, allocations: 0 / 1.056 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.362e-05/0.002258, allocations: 8 kB / 1.056 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of combineBinaries: time 3.86e-05/0.002301, allocations: 23.83 kB / 1.056 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.007e-05/0.002316, allocations: 11.84 kB / 1.056 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.157e-06/0.002329, allocations: 0 / 1.056 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.993e-06/0.002339, allocations: 0 / 1.056 GB, free: 6.387 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 (0) * Number of variables: 0 (0) Notification: Performance of Bindings: time 0.0002433/0.002587, allocations: 193 kB / 1.056 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.477e-05/0.002607, allocations: 3.953 kB / 1.056 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of Early Inline: time 6.825e-05/0.002679, allocations: 56.33 kB / 1.056 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simplify1: time 4.999e-06/0.002693, allocations: 8 kB / 1.056 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of Alias: time 3.932e-05/0.002736, allocations: 52.56 kB / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simplify2: time 2.725e-06/0.002743, allocations: 0 / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of Events: time 1.245e-05/0.002759, allocations: 11.97 kB / 1.056 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of Detect States: time 4.507e-05/0.002808, allocations: 24.2 kB / 1.056 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of Partitioning: time 7.794e-06/0.00282, allocations: 4 kB / 1.056 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of Causalize: time 3.326e-06/0.002829, allocations: 4 kB / 1.056 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 3.103e-05/0.002864, allocations: 48.36 kB / 1.056 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001024/0.002971, allocations: 76.41 kB / 1.056 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.709e-05/0.002996, allocations: 12.12 kB / 1.056 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.895e-06/0.003003, allocations: 0 / 1.056 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of Causalize: time 0.001489/0.004496, allocations: 1.519 MB / 1.058 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of Tearing: time 7.404e-06/0.004513, allocations: 4 kB / 1.058 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of Initialization: time 3.91e-07/0.004519, allocations: 4 kB / 1.058 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of Tearing: time 6.91e-07/0.004523, allocations: 0 / 1.058 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of Categorize: time 2.705e-06/0.00453, allocations: 4 kB / 1.058 GB, free: 4.086 MB / 0.8262 GB Error: Internal error NBDifferentiate.differentiateCall failed for: {ceil(tSimSta[$i1] / tSample) * tSample for $i1 in 1:21} Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Sliced Component (status = Solve.UNPROCESSED) ------------------------------------------------------ ### Variable: tSimSta ### Equation: [ARRY] (21) samSta = {ceil(tSimSta[$i1] / tSample) * tSample for $i1 in 1:21} ($RES_SIM_0) slice: {20, 19, 18, 17, 16, 15, 14, 13, 12, 11, ...}