Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_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-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.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain") translateModel(BusinessSimulation.Examples.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 108.9 kB / 16.42 MB, free: 6.488 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.001538/0.001538, allocations: 187.2 kB / 17.36 MB, free: 5.703 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo): time 0.2233/0.2233, allocations: 31.18 MB / 322.4 MB, free: 168 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.564e-05, allocations: 2.281 kB / 447.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChain): time 0.008012/0.008046, allocations: 5.384 MB / 452.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.009751, allocations: 0.6112 MB / 453.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004919/0.01027, allocations: 11.94 kB / 453.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.01067, allocations: 83.27 kB / 453.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.0111, allocations: 67.36 kB / 453.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000763/0.01187, allocations: 187.5 kB / 453.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006992/0.01258, allocations: 495.1 kB / 454.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.01302, allocations: 222.4 kB / 454.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.01337, allocations: 195.2 kB / 454.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.01367, allocations: 191.1 kB / 454.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.0138, allocations: 44 kB / 454.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.01394, allocations: 55.94 kB / 454.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0005/0.01444, allocations: 0.6177 MB / 455.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002747/0.01473, allocations: 401.9 kB / 455.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.01492, allocations: 67.75 kB / 455.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001204/0.01505, allocations: 15.88 kB / 455.9 MB, free: 9.172 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.002137/0.01719, allocations: 1.843 MB / 457.8 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.000197/0.01739, allocations: 95.86 kB / 457.9 MB, free: 7.125 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001138/0.01854, allocations: 1.112 MB / 459 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001282/0.01868, allocations: 83.88 kB / 459.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of Alias: time 0.003371/0.02206, allocations: 2.727 MB / 461.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simplify2: time 6.672e-05/0.02214, allocations: 31.95 kB / 461.8 MB, free: 2.949 MB / 334.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).