Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001311/0.001311, allocations: 190 kB / 17.36 MB, free: 5.699 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.239/2.239, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.067e-05, allocations: 2.281 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002392/0.002421, allocations: 1.536 MB / 1.056 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003349/0.002767, allocations: 107.7 kB / 1.056 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.002833, allocations: 0 / 1.056 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.002951, allocations: 7.875 kB / 1.056 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.063e-05/0.003006, allocations: 15.91 kB / 1.056 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.003232, allocations: 27.91 kB / 1.056 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.003363, allocations: 67.77 kB / 1.056 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.003493, allocations: 16 kB / 1.056 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.518e-05/0.003554, allocations: 27.89 kB / 1.056 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.003622, allocations: 27.86 kB / 1.056 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.003644, allocations: 4 kB / 1.056 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.003704, allocations: 11.98 kB / 1.056 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.384e-05/0.003795, allocations: 87.08 kB / 1.057 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.681e-05/0.003827, allocations: 51.16 kB / 1.057 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.003855, allocations: 11.94 kB / 1.057 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-05/0.003876, allocations: 0 / 1.057 GB, free: 5.773 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: 9 (7) * Number of variables: 9 (7) Notification: Performance of Bindings: time 0.000394/0.004274, allocations: 347.8 kB / 1.057 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 2.863e-05/0.004308, allocations: 15.94 kB / 1.057 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001814/0.004494, allocations: 180.3 kB / 1.057 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simplify1: time 1.913e-05/0.00452, allocations: 11.98 kB / 1.057 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of Alias: time 8.641e-05/0.004611, allocations: 80.59 kB / 1.057 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simplify2: time 1.589e-05/0.004632, allocations: 19.95 kB / 1.057 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of Events: time 0.0001102/0.004747, allocations: 55.72 kB / 1.057 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of Detect States: time 9.015e-05/0.004844, allocations: 78.16 kB / 1.057 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of Partitioning: time 8.568e-05/0.004935, allocations: 56.11 kB / 1.057 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0004268/0.005367, allocations: 267.9 kB / 1.058 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001584/0.005534, allocations: 188.3 kB / 1.058 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002431/0.005783, allocations: 288.2 kB / 1.058 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.872e-05/0.005818, allocations: 20.12 kB / 1.058 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.336e-05/0.005836, allocations: 7.984 kB / 1.058 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003407/0.00618, allocations: 295.1 kB / 1.058 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of Tearing: time 7.505e-06/0.006196, allocations: 0 / 1.058 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of Initialization: time 6.71e-07/0.006202, allocations: 4 kB / 1.058 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of Tearing: time 2.464e-06/0.006209, allocations: 0 / 1.058 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of Categorize: time 7.845e-06/0.00622, allocations: 3.938 kB / 1.058 GB, free: 3.625 MB / 0.8262 GB Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Sliced Component (status = Solve.UNPROCESSED) ------------------------------------------------------ ### Variable: multiplex2_1.y[2] ### Equation: [ARRY] (2) {{multiplex2_1.y[1]}, {multiplex2_1.y[2]}} = {{multiplex2_1.u1[1]}, {multiplex2_1.u2[1]}} ($RES_SIM_0) slice: {1}