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.001284/0.001284, allocations: 113.4 kB / 17.75 MB, free: 5.336 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.001325/0.001326, allocations: 184.2 kB / 18.68 MB, free: 4.414 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.665/1.665, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3682/0.3682, allocations: 48.85 MB / 320.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.706e-05/3.708e-05, allocations: 2.281 kB / 451.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator): time 0.7424/0.7424, allocations: 243.1 MB / 0.678 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01936/0.7619, allocations: 9.102 MB / 0.6869 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00342/0.7654, allocations: 23.88 kB / 0.6869 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004373/0.7698, allocations: 0.9398 MB / 0.6878 GB, free: 6.516 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.006577/0.7765, allocations: 1.637 MB / 0.6894 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01481/0.7913, allocations: 4.196 MB / 0.6935 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009937/0.8013, allocations: 5.118 MB / 0.6985 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004439/0.8057, allocations: 1.901 MB / 0.7004 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/0.8116, allocations: 1.865 MB / 0.7022 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003485/0.8151, allocations: 1.428 MB / 0.7036 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001366/0.8165, allocations: 280 kB / 0.7039 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0101/0.8266, allocations: 3.037 MB / 0.7068 GB, free: 3 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.00748/0.8341, allocations: 3.645 MB / 0.7104 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.002999/0.8372, allocations: 2.179 MB / 0.7125 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.8389, allocations: 407 kB / 0.7129 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0007678/0.8397, allocations: 51.75 kB / 0.713 GB, free: 12.66 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.02057/0.8603, allocations: 10.89 MB / 0.7236 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.002091/0.8624, allocations: 1.023 MB / 0.7246 GB, free: 480 kB / 0.5294 GB Notification: Performance of Early Inline: time 0.009829/0.8723, allocations: 6.095 MB / 0.7305 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simplify1: time 0.000663/0.873, allocations: 411.4 kB / 0.7309 GB, free: 9.91 MB / 0.545 GB Notification: Performance of Alias: time 0.01233/0.8853, allocations: 9.004 MB / 0.7397 GB, free: 368 kB / 0.545 GB Notification: Performance of simplify2: time 0.001216/0.8866, allocations: 343.5 kB / 0.74 GB, free: 24 kB / 0.545 GB Notification: Performance of Detect States: time 0.4978/1.384, allocations: 1.537 MB / 0.7415 GB, free: 33.4 MB / 0.545 GB Notification: Performance of Events: time 0.002939/1.387, allocations: 1.142 MB / 0.7427 GB, free: 33.19 MB / 0.545 GB Notification: Performance of Partitioning: time 0.003353/1.391, allocations: 2.241 MB / 0.7449 GB, free: 32.31 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)