Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainIII.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-main/package.mo", uses=false) Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/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.SimpleProductionChainIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainIII") translateModel(BusinessSimulation.Examples.SimpleProductionChainIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001174, allocations: 111.4 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.001326/0.001327, 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo): time 0.1601/0.1601, allocations: 31.18 MB / 322.4 MB, free: 180 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.731e-05, allocations: 2.281 kB / 447.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChainIII): time 0.01148/0.01152, allocations: 9.736 MB / 457.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004049/0.0156, allocations: 1.706 MB / 458.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.01696, allocations: 35.81 kB / 458.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009316/0.01791, allocations: 210 kB / 459 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007646/0.01877, allocations: 126.8 kB / 459.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.02027, allocations: 431.1 kB / 459.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.02197, allocations: 1.192 MB / 460.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.02316, allocations: 0.6839 MB / 461.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006898/0.02386, allocations: 438.4 kB / 461.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.02443, allocations: 445.8 kB / 462.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002469/0.02469, allocations: 124 kB / 462.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.02495, allocations: 136 kB / 462.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.00111/0.02607, allocations: 1.528 MB / 464.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006728/0.02675, allocations: 0.9657 MB / 465.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.02706, allocations: 171.4 kB / 465.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002744/0.02734, allocations: 55.44 kB / 465.3 MB, free: 15.77 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: 259 (257) * Number of variables: 259 (256) Notification: Performance of Bindings: time 0.005096/0.03245, allocations: 4.705 MB / 470 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0004708/0.03292, allocations: 289.5 kB / 470.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Early Inline: time 0.003723/0.03666, allocations: 2.931 MB / 473.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simplify1: time 0.0004978/0.03718, allocations: 195.7 kB / 473.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of Alias: time 0.009632/0.04682, allocations: 7.467 MB / 480.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simplify2: time 0.000139/0.04699, allocations: 63.89 kB / 480.9 MB, free: 15.39 MB / 366.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).