Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample") translateModel(Modelica.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001633/0.001633, allocations: 107.3 kB / 19.05 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 211.8 kB / 20.03 MB, free: 2.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.19/1.19, allocations: 230.4 MB / 251.3 MB, free: 8.695 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.698e-06/9.698e-06, allocations: 2.281 kB / 368.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.002058/0.002067, allocations: 1.498 MB / 370.3 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005379/0.002605, allocations: 283.2 kB / 370.6 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.002671, allocations: 7.938 kB / 370.6 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.002772, allocations: 19.73 kB / 370.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.002811, allocations: 19.8 kB / 370.6 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.003122, allocations: 115.8 kB / 370.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.003387, allocations: 255.5 kB / 371 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.003627, allocations: 162.3 kB / 371.1 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.003756, allocations: 127.7 kB / 371.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.003902, allocations: 111.6 kB / 371.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.003936, allocations: 28 kB / 371.4 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.004005, allocations: 39.91 kB / 371.4 MB, free: 3.949 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002073/0.004212, allocations: 308.5 kB / 371.7 MB, free: 3.645 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001041/0.004316, allocations: 189.1 kB / 371.9 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.004353, allocations: 27.94 kB / 372 MB, free: 3.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.033e-05/0.004404, allocations: 39.72 kB / 372 MB, free: 3.391 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: 59 (59) * Number of variables: 55 (55) Notification: Performance of Bindings: time 0.0008552/0.005259, allocations: 0.7788 MB / 372.8 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000132/0.005391, allocations: 122.6 kB / 372.9 MB, free: 2.375 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004642/0.005855, allocations: 466.4 kB / 373.3 MB, free: 1.891 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0001509/0.006006, allocations: 122.3 kB / 373.5 MB, free: 1.746 MB / 302.1 MB Notification: Performance of Alias: time 0.001114/0.00712, allocations: 0.8468 MB / 374.3 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0001102/0.00723, allocations: 90.61 kB / 374.4 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of Remove Stream: time 9.079e-05/0.007321, allocations: 98.5 kB / 374.5 MB, free: 0.5273 MB / 302.1 MB Error: Internal error NBDetectStates.preFromArgs failed because of unexpected expression pre(time - transition1.t_dummy).