Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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 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(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator") translateModel(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 116.6 kB / 17.75 MB, free: 5.168 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.0009932/0.0009932, allocations: 192.6 kB / 18.68 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3657/0.3657, allocations: 48.85 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.55e-05/3.551e-05, allocations: 2.281 kB / 451.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator): time 0.6783/0.6784, allocations: 243.1 MB / 0.678 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.694, allocations: 9.099 MB / 0.6869 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.6968, allocations: 27.88 kB / 0.6869 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003114/0.6999, allocations: 0.9281 MB / 0.6878 GB, free: 6.512 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.005181/0.7052, allocations: 1.601 MB / 0.6894 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01215/0.7173, allocations: 4.166 MB / 0.6934 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01015/0.7275, allocations: 5.118 MB / 0.6984 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00496/0.7325, allocations: 1.9 MB / 0.7003 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006268/0.7388, allocations: 1.865 MB / 0.7021 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004013/0.7429, allocations: 1.428 MB / 0.7035 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.7444, allocations: 284 kB / 0.7038 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009862/0.7543, allocations: 3.03 MB / 0.7067 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.006557/0.7609, allocations: 3.645 MB / 0.7103 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.002835/0.7638, allocations: 2.175 MB / 0.7124 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.7652, allocations: 407 kB / 0.7128 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0006283/0.7658, allocations: 55.75 kB / 0.7129 GB, free: 12.72 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 (377) * Number of variables: 574 (373) Notification: Performance of Bindings: time 0.01396/0.7798, allocations: 10.89 MB / 0.7235 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.001348/0.7812, allocations: 1.019 MB / 0.7245 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.007806/0.789, allocations: 6.102 MB / 0.7305 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simplify1: time 0.0007043/0.7897, allocations: 407.4 kB / 0.7308 GB, free: 9.965 MB / 0.545 GB Notification: Performance of Alias: time 0.0123/0.802, allocations: 9.004 MB / 0.7396 GB, free: 424 kB / 0.545 GB Notification: Performance of simplify2: time 0.0008048/0.8029, allocations: 339.5 kB / 0.74 GB, free: 84 kB / 0.545 GB Notification: Performance of Events: time 0.4115/1.214, allocations: 1.34 MB / 0.7413 GB, free: 33.24 MB / 0.545 GB Notification: Performance of Detect States: time 0.002069/1.216, allocations: 1.529 MB / 0.7428 GB, free: 33.12 MB / 0.545 GB Notification: Performance of Partitioning: time 0.002987/1.219, allocations: 2.234 MB / 0.7449 GB, free: 32.24 MB / 0.545 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(4) {plant.compressor.gas_in.X[1], plant.compressor.gas_in.X[2], plant.compressor.gas_in.X[3], plant.compressor.gas_in.X[4]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: plant.compressor.gas_in.X. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) plant.compressor.gas_in.R = {259.8369938872708, 461.5233290850878, 208.1323720837088, 296.8033869505308} * plant.compressor.gas_in.X ($RES_SIM_371)