Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.0009908/0.0009909, allocations: 113.3 kB / 16.43 MB, free: 6.523 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.001038/0.001038, allocations: 185.5 kB / 17.35 MB, free: 5.746 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.142/1.142, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.076/2.076, allocations: 437 MB / 0.7111 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/1.908e-05, allocations: 4.672 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001725/0.001752, allocations: 1.223 MB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.001959, allocations: 55.81 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.001993, allocations: 0 / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.002028, allocations: 3.938 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.331e-05/0.002116, allocations: 3.984 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.002257, allocations: 11.94 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.348e-05/0.002348, allocations: 19.91 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.002393, allocations: 4 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.002425, allocations: 8 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.542e-05/0.002465, allocations: 11.92 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.002482, allocations: 4 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.926e-05/0.002535, allocations: 4 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of combineBinaries: time 4.146e-05/0.002582, allocations: 19.89 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.222e-05/0.002599, allocations: 11.84 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-06/0.002613, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of FrontEnd: time 8.797e-06/0.002625, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 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.0002559/0.002885, allocations: 197 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of FunctionAlias: time 1.982e-05/0.00291, allocations: 15.92 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of Early Inline: time 7.41e-05/0.002989, allocations: 48.36 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of simplify1: time 5.059e-06/0.003, allocations: 0 / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of Alias: time 4.954e-05/0.003056, allocations: 52.62 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of simplify2: time 4.478e-06/0.003065, allocations: 3.984 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of Detect States: time 4.157e-05/0.00311, allocations: 20.25 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of Events: time 1.359e-05/0.00313, allocations: 7.953 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of Partitioning: time 7.965e-06/0.003142, allocations: 4 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of Causalize: time 3.557e-06/0.003149, allocations: 0 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 3.582e-05/0.003188, allocations: 52.34 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of Inline: time 0.0001285/0.003322, allocations: 77.34 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of Partitioning: time 1.018e-05/0.00334, allocations: 8.125 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of Cleanup: time 3.216e-06/0.003347, allocations: 0 / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of Causalize: time 0.001578/0.004932, allocations: 1.532 MB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of Tearing: time 9.267e-06/0.004951, allocations: 3.984 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of Initialization: time 4.71e-07/0.004956, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of Tearing: time 9.62e-07/0.004962, allocations: 4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of Categorize: time 1.753e-06/0.004968, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 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, ...}