Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 113 kB / 17.75 MB, free: 5.348 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.001305/0.001305, allocations: 184.7 kB / 18.68 MB, free: 4.426 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.217/1.217, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.828e-05, allocations: 2.281 kB / 351.9 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004778/0.004805, allocations: 4.457 MB / 356.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.006623, allocations: 1.825 MB / 358.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.006683, allocations: 0 / 358.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.006895, allocations: 39.75 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.0072, allocations: 123.2 kB / 358.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.007754, allocations: 249.9 kB / 358.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.008071, allocations: 302.9 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.008128, allocations: 17.44 kB / 358.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.008385, allocations: 143.5 kB / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.008506, allocations: 71.75 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.008547, allocations: 8 kB / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.008776, allocations: 99.81 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002221/0.009008, allocations: 241.5 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.779e-05/0.009112, allocations: 142.1 kB / 359.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.00915, allocations: 23.94 kB / 359.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.484e-05/0.009171, allocations: 11.98 kB / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 (33) * Number of variables: 34 (34) Notification: Performance of Bindings: time 0.0008666/0.01004, allocations: 0.7701 MB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.666e-05/0.01009, allocations: 23.97 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004756/0.01057, allocations: 447.3 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplify1: time 3.69e-05/0.01062, allocations: 39.89 kB / 360.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of Alias: time 0.0009264/0.01155, allocations: 0.7116 MB / 361.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simplify2: time 2.984e-05/0.01159, allocations: 35.95 kB / 361.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of Events: time 0.0002171/0.01181, allocations: 125.1 kB / 361.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of Detect States: time 0.000206/0.01203, allocations: 145.1 kB / 361.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001774/0.01221, allocations: 163.9 kB / 362.1 MB, free: 8.801 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [DER-] (1) Real $DER.m slice: {} [ALGB] (1) Real der_T slice: {} [ALGB] (1) Real der_p slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) m = 995.586 * V ($RES_SIM_9) slice: {} [SCAL] (1) medium2.state.T = 330.0 ($RES_SIM_16) slice: {} [SCAL] (1) state.p = smooth(1, if $SEV_6 then medium.state.p else if $SEV_7 then medium2.state.p else 0.25 * (medium2.state.p - medium.state.p) * ((-3.0) + (((-30.0) + time) / 10.0) ^ 2.0) * (0.1 * ((-30.0) + time)) + 0.5 * (medium.state.p + medium2.state.p)) ($RES_SIM_41) slice: {}