Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.HealTheWorld.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.HealTheWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.HealTheWorld") translateModel(BusinessSimulation.Examples.HealTheWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.HealTheWorld") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 110.8 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.001097/0.001097, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.369/1.369, allocations: 222.9 MB / 241 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.1619/0.1619, allocations: 31.13 MB / 322.3 MB, free: 52 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/2.903e-05, allocations: 5.094 kB / 447.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.HealTheWorld): time 0.01576/0.0158, allocations: 12.75 MB / 460.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007476/0.02331, allocations: 2.351 MB / 462.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003161/0.0265, allocations: 47.81 kB / 462.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.0288, allocations: 0.4915 MB / 462.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.03091, allocations: 245.4 kB / 463.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.03363, allocations: 0.878 MB / 464.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004624/0.03827, allocations: 2.886 MB / 466.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004539/0.04283, allocations: 2.364 MB / 469.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.04497, allocations: 1.191 MB / 470.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.04713, allocations: 1.322 MB / 471.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001274/0.04842, allocations: 460 kB / 472.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.04958, allocations: 484 kB / 472.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.002993/0.05258, allocations: 4.258 MB / 477 MB, free: 3.758 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002495/0.05509, allocations: 2.665 MB / 479.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008623/0.05596, allocations: 458.6 kB / 480.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0009506/0.05692, allocations: 142.5 kB / 480.3 MB, free: 472 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 (829) * Number of variables: 844 (796) Notification: Performance of Bindings: time 0.01876/0.07569, allocations: 15.64 MB / 495.9 MB, free: 488 kB / 366.1 MB Notification: Performance of FunctionAlias: time 0.001996/0.07771, allocations: 0.8975 MB / 496.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of Early Inline: time 0.01374/0.09146, allocations: 10.5 MB / 0.4954 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simplify1: time 0.001052/0.09259, allocations: 0.5969 MB / 0.496 GB, free: 4.387 MB / 382.1 MB Notification: Performance of Alias: time 0.328/0.4206, allocations: 21.35 MB / 0.5168 GB, free: 33.75 MB / 382.1 MB Notification: Performance of simplify2: time 0.001156/0.4218, allocations: 294.2 kB / 0.5171 GB, free: 33.75 MB / 382.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).