Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.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.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator") translateModel(ThermoPower.Examples.BraytonCycle.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 117 kB / 17.75 MB, free: 5.324 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.001564/0.001564, allocations: 184.6 kB / 18.68 MB, free: 4.402 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.781/1.781, 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.3557/0.3557, allocations: 48.85 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.238e-05, allocations: 2.281 kB / 451.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.BraytonCycle.OpenLoopSimulator): time 0.695/0.6951, allocations: 243 MB / 0.6778 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01591/0.711, allocations: 9.033 MB / 0.6866 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.7137, allocations: 31.88 kB / 0.6867 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.7168, allocations: 0.9087 MB / 0.6876 GB, free: 6.762 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.005821/0.7226, allocations: 1.598 MB / 0.6891 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01238/0.735, allocations: 4.133 MB / 0.6932 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008459/0.7435, allocations: 5.013 MB / 0.698 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003868/0.7474, allocations: 1.874 MB / 0.6999 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005039/0.7525, allocations: 1.834 MB / 0.7017 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.7559, allocations: 1.382 MB / 0.703 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.757, allocations: 279.9 kB / 0.7033 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.7687, allocations: 3.025 MB / 0.7062 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.005458/0.7742, allocations: 3.51 MB / 0.7097 GB, free: 24 kB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001832/0.7761, allocations: 2.09 MB / 0.7117 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.7771, allocations: 399.1 kB / 0.7121 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0006144/0.7777, allocations: 47.81 kB / 0.7121 GB, free: 13.46 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: 561 (364) * Number of variables: 561 (360) Notification: Performance of Bindings: time 0.01283/0.7906, allocations: 10.54 MB / 0.7224 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.001003/0.7916, allocations: 0.7649 MB / 0.7232 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.006048/0.7977, allocations: 5.907 MB / 0.7289 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simplify1: time 0.0006139/0.7983, allocations: 387.5 kB / 0.7293 GB, free: 11.54 MB / 0.545 GB Notification: Performance of Alias: time 0.01257/0.8109, allocations: 8.674 MB / 0.7378 GB, free: 2.348 MB / 0.545 GB Notification: Performance of simplify2: time 0.001015/0.812, allocations: 323.5 kB / 0.7381 GB, free: 2.031 MB / 0.545 GB Notification: Performance of Events: time 0.001598/0.8136, allocations: 1.029 MB / 0.7391 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of Detect States: time 0.4503/1.264, allocations: 1.695 MB / 0.7408 GB, free: 33.88 MB / 0.545 GB Notification: Performance of Partitioning: time 0.003587/1.268, allocations: 2.183 MB / 0.7429 GB, free: 33 MB / 0.545 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(5) {plant.turbine.gas_iso.X[1], plant.turbine.gas_iso.X[2], plant.turbine.gas_iso.X[3], plant.turbine.gas_iso.X[4], plant.turbine.gas_iso.X[5]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: plant.turbine.gas_iso.X. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) plant.turbine.gas_iso.R = {259.8369938872708, 208.1323720837088, 461.5233290850878, 188.9244822140674, 296.8033869505308} * plant.turbine.gas_iso.X ($RES_SIM_282)