Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.ManagingEmployment.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.ManagingEmployment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.ManagingEmployment") translateModel(BusinessSimulation.Examples.ManagingEmployment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.ManagingEmployment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 109.5 kB / 16.42 MB, free: 6.52 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.001822/0.001823, allocations: 185.9 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.528/1.528, 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.2002/0.2002, allocations: 31.13 MB / 322.3 MB, free: 40 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.505e-05, allocations: 2.281 kB / 447.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.ManagingEmployment): time 0.01145/0.01149, allocations: 9.52 MB / 456.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.01598, allocations: 1.691 MB / 458.5 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000876/0.01689, allocations: 43.75 kB / 458.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007368/0.01767, allocations: 237.9 kB / 458.8 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.01808, allocations: 138.6 kB / 458.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009625/0.01905, allocations: 427.4 kB / 459.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.02034, allocations: 1.268 MB / 460.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.02138, allocations: 0.8029 MB / 461.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005104/0.0219, allocations: 482.2 kB / 461.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.02248, allocations: 0.4898 MB / 462.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.02268, allocations: 144 kB / 462.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.02304, allocations: 171.9 kB / 462.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001645/0.02469, allocations: 1.687 MB / 464.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000785/0.02549, allocations: 1.077 MB / 465.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.02573, allocations: 191.3 kB / 465.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002803/0.02602, allocations: 59.44 kB / 465.7 MB, free: 15.17 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: 282 (281) * Number of variables: 282 (280) Notification: Performance of Bindings: time 0.005242/0.03127, allocations: 5.552 MB / 471.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0003763/0.03165, allocations: 363 kB / 471.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of Early Inline: time 0.003266/0.03493, allocations: 3.443 MB / 475 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simplify1: time 0.000215/0.03515, allocations: 211.7 kB / 475.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of Alias: time 0.009511/0.04467, allocations: 8.105 MB / 483.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001155/0.04481, allocations: 83.75 kB / 483.4 MB, free: 12.74 MB / 366.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, true}).