Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.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.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain") translateModel(BusinessSimulation.Examples.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 115.2 kB / 16.43 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.001296/0.001296, allocations: 183.2 kB / 17.35 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.438/1.438, 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.2275/0.2275, allocations: 31.13 MB / 322.3 MB, free: 48 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.416e-05, allocations: 2.281 kB / 447.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChain): time 0.006575/0.006608, allocations: 5.385 MB / 452.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.008045, allocations: 0.6112 MB / 453.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.00842, allocations: 11.94 kB / 453.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.008758, allocations: 79.27 kB / 453.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.009028, allocations: 71.36 kB / 453.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.009683, allocations: 187.5 kB / 453.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005772/0.01032, allocations: 0.4913 MB / 454.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.0107, allocations: 218.4 kB / 454.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.01097, allocations: 191.3 kB / 454.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.01122, allocations: 187.2 kB / 454.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.543e-05/0.0113, allocations: 51.88 kB / 454.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.01141, allocations: 51.98 kB / 454.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0004052/0.01182, allocations: 0.6138 MB / 455.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002309/0.01206, allocations: 401.9 kB / 455.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.853e-05/0.01217, allocations: 75.69 kB / 455.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.914e-05/0.01226, allocations: 15.88 kB / 455.9 MB, free: 9.035 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 (96) * Number of variables: 98 (95) Notification: Performance of Bindings: time 0.001819/0.01409, allocations: 1.835 MB / 457.7 MB, free: 7.09 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001788/0.01427, allocations: 111.8 kB / 457.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001065/0.01535, allocations: 1.104 MB / 458.9 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simplify1: time 9.989e-05/0.01546, allocations: 75.89 kB / 459 MB, free: 5.773 MB / 334.1 MB Notification: Performance of Alias: time 0.003113/0.01858, allocations: 2.731 MB / 461.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simplify2: time 5.238e-05/0.01864, allocations: 31.94 kB / 461.8 MB, free: 2.82 MB / 334.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).