Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.SoftwareReleaseProject.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.SoftwareReleaseProject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SoftwareReleaseProject") translateModel(BusinessSimulation.Examples.SoftwareReleaseProject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SoftwareReleaseProject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 114 kB / 16.43 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.001545/0.001545, 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.366/1.366, 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.1611/0.1611, allocations: 31.14 MB / 322.3 MB, free: 48 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.597e-05, allocations: 2.281 kB / 447.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SoftwareReleaseProject): time 0.4297/0.4298, allocations: 120.9 MB / 0.555 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.08996/0.5198, allocations: 31.56 MB / 0.5858 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04616/0.566, allocations: 0.6923 MB / 0.5865 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02729/0.5933, allocations: 5.656 MB / 0.592 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0329/0.6263, allocations: 2.746 MB / 0.5947 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04907/0.6754, allocations: 13.51 MB / 0.6079 GB, free: 9.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.07777/0.7532, allocations: 37.25 MB / 0.6442 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08398/0.8373, allocations: 25.7 MB / 0.6693 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03573/0.8731, allocations: 14.27 MB / 0.6833 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7271/1.6, allocations: 13.98 MB / 0.6969 GB, free: 61.07 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0253/1.626, allocations: 5.492 MB / 0.7023 GB, free: 61.07 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01905/1.645, allocations: 5.785 MB / 0.7079 GB, free: 61.07 MB / 0.5138 GB Notification: Performance of combineBinaries: time 0.06023/1.705, allocations: 46.01 MB / 0.7529 GB, free: 40.15 MB / 0.5138 GB Notification: Performance of replaceArrayConstructors: time 0.0197/1.725, allocations: 28.04 MB / 0.7802 GB, free: 13.78 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02375/1.749, allocations: 5.469 MB / 0.7856 GB, free: 10.83 MB / 0.5138 GB Notification: Performance of FrontEnd: time 0.01656/1.765, allocations: 1.478 MB / 0.787 GB, free: 9.762 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8173 (8161) * Number of variables: 8173 (8159) Notification: Performance of Bindings: time 1.162/2.928, allocations: 163.3 MB / 0.9465 GB, free: 96.73 MB / 0.6233 GB Notification: Performance of FunctionAlias: time 0.05225/2.98, allocations: 28.35 MB / 0.9742 GB, free: 92.63 MB / 0.6233 GB Notification: Performance of Early Inline: time 0.2542/3.234, allocations: 114.6 MB / 1.086 GB, free: 8.457 MB / 0.6233 GB Notification: Performance of simplify1: time 0.01837/3.253, allocations: 6.126 MB / 1.092 GB, free: 2.883 MB / 0.6233 GB Notification: Performance of Alias: time 0.9115/4.164, allocations: 272.7 MB / 1.358 GB, free: 10.61 MB / 0.6858 GB Notification: Performance of simplify2: time 0.006027/4.17, allocations: 2.042 MB / 1.36 GB, free: 9.395 MB / 0.6858 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).