Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII.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.SimpleProductionChainII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII") translateModel(BusinessSimulation.Examples.SimpleProductionChainII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 110 kB / 16.42 MB, free: 6.035 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.001539/0.001539, allocations: 178.3 kB / 17.35 MB, free: 5.617 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.585/1.585, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.1627/0.1627, allocations: 31.13 MB / 322.3 MB, free: 68 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.344e-05, allocations: 2.281 kB / 447.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChainII): time 0.008955/0.008988, allocations: 6.788 MB / 454.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.01188, allocations: 0.9972 MB / 455.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.0128, allocations: 23.88 kB / 455.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.0133, allocations: 103 kB / 455.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.01381, allocations: 75.25 kB / 455.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.01485, allocations: 239.5 kB / 455.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009494/0.01582, allocations: 0.6165 MB / 456.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006252/0.01646, allocations: 314 kB / 456.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005445/0.01701, allocations: 231.1 kB / 456.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.01737, allocations: 230.9 kB / 456.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.01751, allocations: 60 kB / 456.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.01766, allocations: 64 kB / 457 MB, free: 7.965 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0006523/0.01832, allocations: 0.7912 MB / 457.8 MB, free: 7.164 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003511/0.01868, allocations: 0.5039 MB / 458.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.01885, allocations: 91.69 kB / 458.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001666/0.01902, allocations: 27.75 kB / 458.4 MB, free: 6.535 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: 125 (123) * Number of variables: 125 (122) Notification: Performance of Bindings: time 0.002452/0.02148, allocations: 2.344 MB / 460.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0002363/0.02173, allocations: 119.8 kB / 460.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001533/0.02327, allocations: 1.401 MB / 462.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001747/0.02345, allocations: 95.86 kB / 462.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of Alias: time 0.004375/0.02784, allocations: 3.483 MB / 465.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simplify2: time 7.541e-05/0.02793, allocations: 35.95 kB / 465.9 MB, free: 14.68 MB / 350.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).