Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.LotkaVolterraEquationsRevisited.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo) 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(BusinessSimulation.Examples.LotkaVolterraEquationsRevisited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=998,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LotkaVolterraEquationsRevisited") translateModel(BusinessSimulation.Examples.LotkaVolterraEquationsRevisited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=998,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LotkaVolterraEquationsRevisited") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 110.2 kB / 16.42 MB, free: 6.523 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.001177/0.001177, allocations: 182 kB / 17.36 MB, free: 5.746 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.1574/0.1574, allocations: 31.12 MB / 322.3 MB, free: 84 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.295e-05, allocations: 6 kB / 447.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LotkaVolterraEquationsRevisited): time 0.0106/0.01064, allocations: 10.14 MB / 457.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.01501, allocations: 1.819 MB / 459.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.01664, allocations: 31.88 kB / 459.3 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.01767, allocations: 297.2 kB / 459.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008464/0.0186, allocations: 138.4 kB / 459.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.02025, allocations: 0.6319 MB / 460.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.02254, allocations: 1.791 MB / 462.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.02437, allocations: 1.309 MB / 463.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009315/0.02531, allocations: 0.7202 MB / 464.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000596/0.02592, allocations: 0.7504 MB / 464.9 MB, free: 8 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002765/0.0262, allocations: 256 kB / 465.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.02651, allocations: 267.9 kB / 465.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001503/0.02802, allocations: 2.513 MB / 467.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008696/0.0289, allocations: 1.546 MB / 469.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003933/0.0293, allocations: 299 kB / 469.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0003657/0.02967, allocations: 95.06 kB / 469.9 MB, free: 11 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 459 (459) * Number of variables: 459 (459) Notification: Performance of Bindings: time 0.00721/0.03689, allocations: 8.044 MB / 477.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0004245/0.03732, allocations: 447.8 kB / 478.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Early Inline: time 0.005969/0.0433, allocations: 5.807 MB / 484.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplify1: time 0.0004799/0.04381, allocations: 359.5 kB / 484.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of Alias: time 0.01957/0.06339, allocations: 14.56 MB / 499.1 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simplify2: time 0.0003144/0.06377, allocations: 107.8 kB / 499.2 MB, free: 12.7 MB / 382.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).