Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.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.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample") translateModel(Modelica.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001285, allocations: 106.3 kB / 18.42 MB, free: 4.543 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.001247/0.001247, allocations: 188.3 kB / 19.35 MB, free: 3.621 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.438/1.438, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/2.934e-05, allocations: 3.125 kB / 329.1 MB, free: 3.414 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.002716/0.002755, allocations: 1.47 MB / 330.6 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007427/0.003511, allocations: 251.3 kB / 330.9 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.003675, allocations: 11.94 kB / 330.9 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.003826, allocations: 15.75 kB / 330.9 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.0039, allocations: 23.8 kB / 330.9 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.004432, allocations: 111.8 kB / 331 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.004786, allocations: 247.6 kB / 331.3 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.005158, allocations: 182.3 kB / 331.4 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.005341, allocations: 123.7 kB / 331.6 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.005525, allocations: 115.6 kB / 331.7 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.388e-05/0.005596, allocations: 27.94 kB / 331.7 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.082e-05/0.005692, allocations: 36 kB / 331.7 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.0002239/0.005922, allocations: 304.6 kB / 332 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001013/0.00603, allocations: 181.2 kB / 332.2 MB, free: 332 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.006098, allocations: 31.88 kB / 332.2 MB, free: 300 kB / 270.1 MB Notification: Performance of FrontEnd: time 6.21e-05/0.006165, allocations: 31.81 kB / 332.3 MB, free: 268 kB / 270.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.001063/0.007234, allocations: 0.9292 MB / 333.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001533/0.007394, allocations: 79.77 kB / 333.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0006412/0.008043, allocations: 0.6542 MB / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of simplify1: time 8.005e-05/0.008133, allocations: 43.94 kB / 334 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Alias: time 0.001442/0.009582, allocations: 1.101 MB / 335.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simplify2: time 6.81e-05/0.009661, allocations: 35.95 kB / 335.1 MB, free: 13.17 MB / 286.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - transition1.t_dummy}).