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.00116/0.00116, 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.001145/0.001145, 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.216/1.216, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2464/0.2464, allocations: 48.85 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.125e-05, allocations: 2.281 kB / 451.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator): time 0.3968/0.3968, allocations: 243.7 MB / 0.6786 GB, free: 104 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.4087, allocations: 9.121 MB / 0.6875 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.4097, allocations: 23.88 kB / 0.6875 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.4118, allocations: 0.9475 MB / 0.6884 GB, free: 5.98 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.0027/0.4145, allocations: 1.64 MB / 0.69 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008871/0.4233, allocations: 4.196 MB / 0.6941 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005232/0.4286, allocations: 5.118 MB / 0.6991 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.4305, allocations: 1.582 MB / 0.7007 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.433, allocations: 1.865 MB / 0.7025 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.4343, allocations: 1.421 MB / 0.7039 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003552/0.4347, allocations: 280 kB / 0.7042 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/0.4403, allocations: 3.04 MB / 0.7071 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.002661/0.443, allocations: 3.657 MB / 0.7107 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.001248/0.4442, allocations: 2.184 MB / 0.7128 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.4447, allocations: 414.9 kB / 0.7132 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0002885/0.445, allocations: 51.75 kB / 0.7133 GB, free: 12.41 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.006923/0.4519, allocations: 8.043 MB / 0.7211 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.0007655/0.4526, allocations: 0.9395 MB / 0.7221 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.004218/0.4569, allocations: 4.365 MB / 0.7263 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simplify1: time 0.000782/0.4576, allocations: 0.6085 MB / 0.7269 GB, free: 14.04 MB / 0.545 GB Warning: NBAlias.setStartFixed: No variables are fixed and they have different start values. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.007657/0.4653, allocations: 6.037 MB / 0.7328 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simplify2: time 0.0005739/0.4659, allocations: 471.2 kB / 0.7333 GB, free: 6.93 MB / 0.545 GB Notification: Performance of Detect States: time 0.001103/0.467, allocations: 0.9872 MB / 0.7342 GB, free: 5.895 MB / 0.545 GB Notification: Performance of Events: time 0.001098/0.4681, allocations: 0.8824 MB / 0.7351 GB, free: 4.953 MB / 0.545 GB Notification: Performance of Partitioning: time 0.002124/0.4702, allocations: 2.154 MB / 0.7372 GB, free: 2.422 MB / 0.545 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|7) Unmatched Variables *************************** [DER-] (5) Real[5] $DER.plant.CombustionChamber1.fluegas.Xi [DER-] (1) Real $DER.plant.PressDrop1.pin [DER-] (1) Real $DER.plant.CombustionChamber1.fluegas.T_degC (3|7) Unmatched Equations *************************** [ARRY] (5) plant.CombustionChamber1.MX = plant.CombustionChamber1.fluegas.Xi .* plant.CombustionChamber1.M ($RES_SIM_227) [SCAL] (1) plant.CombustionChamber1.fluegas.R = {259.8369938872708, 208.1323720837088, 461.5233290850878, 188.9244822140674, 296.8033869505308} * plant.CombustionChamber1.fluegas.X ($RES_SIM_247) [SCAL] (1) plant.CombustionChamber1.ho = ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.plant.CombustionChamber1.Exhaust.h_TX(-((-273.15) - plant.CombustionChamber1.fluegas.T_degC), plant.CombustionChamber1.fluegas.X, true, Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt25C, 0.0) ($RES_SIM_248)