Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001508, allocations: 114.5 kB / 17.75 MB, free: 5.309 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.1 kB / 18.68 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4217/0.4217, allocations: 48.83 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.376e-05/3.378e-05, allocations: 2.281 kB / 451.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim2States120501): time 0.08283/0.08288, allocations: 69.04 MB / 0.508 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.4418/0.5248, allocations: 23.58 MB / 0.531 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003758/0.5286, allocations: 36.81 kB / 0.5311 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.5322, allocations: 0.7293 MB / 0.5318 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008143/0.5404, allocations: 1.512 MB / 0.5333 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0411/0.5816, allocations: 8.109 MB / 0.5412 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01271/0.5944, allocations: 5.444 MB / 0.5465 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004086/0.5985, allocations: 1.665 MB / 0.5481 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007993/0.6065, allocations: 2.341 MB / 0.5504 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0066/0.6131, allocations: 2.014 MB / 0.5524 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008021/0.614, allocations: 362.1 kB / 0.5527 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02616/0.6401, allocations: 7.338 MB / 0.5599 GB, free: 6.023 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.01039/0.6506, allocations: 4.594 MB / 0.5644 GB, free: 3.781 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.003797/0.6544, allocations: 2.566 MB / 0.5669 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.6566, allocations: 388.6 kB / 0.5673 GB, free: 2.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0007748/0.6574, allocations: 56.31 kB / 0.5673 GB, free: 2.172 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 566 (306) * Number of variables: 806 (341) Notification: Performance of Bindings: time 0.02675/0.6841, allocations: 15.61 MB / 0.5825 GB, free: 9.176 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.00317/0.6873, allocations: 1.731 MB / 0.5842 GB, free: 7.473 MB / 430.1 MB Notification: Performance of Early Inline: time 0.02432/0.7117, allocations: 12.98 MB / 0.5969 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simplify1: time 0.001098/0.7129, allocations: 400.9 kB / 0.5973 GB, free: 10.23 MB / 446.1 MB Notification: Performance of Alias: time 0.01539/0.7283, allocations: 8.509 MB / 0.6056 GB, free: 1.34 MB / 446.1 MB Notification: Performance of simplify2: time 0.001106/0.7295, allocations: 360.4 kB / 0.606 GB, free: 1.004 MB / 446.1 MB Notification: Performance of Events: time 0.005702/0.7352, allocations: 3.221 MB / 0.6091 GB, free: 13.81 MB / 462.1 MB Notification: Performance of Detect States: time 0.003835/0.739, allocations: 2.521 MB / 0.6116 GB, free: 11.3 MB / 462.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_8.Tsat, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.