Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_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.001321/0.001321, allocations: 115.4 kB / 18.42 MB, free: 4.395 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.001213/0.001214, allocations: 193.4 kB / 19.35 MB, free: 3.477 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.506/1.506, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.47e-05, allocations: 2.281 kB / 329.1 MB, free: 3.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006056/0.006089, allocations: 4.476 MB / 333.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.008403, allocations: 1.806 MB / 335.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.008481, allocations: 4 kB / 335.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.008803, allocations: 47.67 kB / 335.5 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.009202, allocations: 115.2 kB / 335.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006893/0.00994, allocations: 255.3 kB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.01036, allocations: 298.8 kB / 336.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.01043, allocations: 21.42 kB / 336.2 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.01074, allocations: 139.6 kB / 336.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.01089, allocations: 75.62 kB / 336.4 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.01093, allocations: 12 kB / 336.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.01117, allocations: 95.83 kB / 336.5 MB, free: 12.01 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002316/0.01141, allocations: 241.6 kB / 336.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001046/0.01152, allocations: 142 kB / 336.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.01157, allocations: 23.94 kB / 336.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.991e-05/0.01159, allocations: 15.92 kB / 336.9 MB, free: 11.59 MB / 286.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.0009399/0.01254, allocations: 0.7701 MB / 337.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of FunctionAlias: time 4.162e-05/0.01259, allocations: 35.86 kB / 337.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004952/0.01309, allocations: 439.4 kB / 338.1 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simplify1: time 3.731e-05/0.01314, allocations: 31.97 kB / 338.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of Alias: time 0.0009621/0.01411, allocations: 0.7113 MB / 338.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of simplify2: time 3.048e-05/0.01415, allocations: 32.53 kB / 338.9 MB, free: 9.316 MB / 286.1 MB Notification: Performance of Events: time 0.0002334/0.01439, allocations: 120.9 kB / 339 MB, free: 9.199 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002235/0.01462, allocations: 145 kB / 339.2 MB, free: 9.043 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001918/0.01482, allocations: 160.7 kB / 339.3 MB, free: 8.84 MB / 286.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: {}