Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009895, allocations: 98.69 kB / 17.63 MB, free: 5.527 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.001038/0.001038, allocations: 193.9 kB / 18.56 MB, free: 4.602 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.399/1.399, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2957/0.2957, allocations: 48.85 MB / 320.6 MB, free: 11.08 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.222e-05, allocations: 3.266 kB / 390.8 MB, free: 48.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01624/0.01627, allocations: 16.1 MB / 406.9 MB, free: 36.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.02811, allocations: 13.54 MB / 420.4 MB, free: 23.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.02841, allocations: 0 / 420.4 MB, free: 23.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.02889, allocations: 139.2 kB / 420.5 MB, free: 22.94 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.02932, allocations: 190.9 kB / 420.7 MB, free: 22.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01418/0.04351, allocations: 5.343 MB / 426.1 MB, free: 17.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008348/0.04436, allocations: 0.9199 MB / 427 MB, free: 16.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.0445, allocations: 29.66 kB / 427 MB, free: 16.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.04474, allocations: 367.2 kB / 427.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.04502, allocations: 339.1 kB / 427.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.04508, allocations: 45.88 kB / 427.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008037/0.05312, allocations: 6.045 MB / 433.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005171/0.05366, allocations: 0.7018 MB / 434.5 MB, free: 8.988 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001957/0.05387, allocations: 411.8 kB / 434.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.05394, allocations: 43.88 kB / 434.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.975e-05/0.05399, allocations: 8 kB / 435 MB, free: 8.535 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 (45) * Number of variables: 203 (60) Notification: Performance of Bindings: time 0.00134/0.05534, allocations: 2.201 MB / 437.2 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001916/0.05554, allocations: 188 kB / 437.3 MB, free: 6.055 MB / 318.1 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.Tsat Notification: Performance of Early Inline: time 0.0005068/0.05605, allocations: 0.5464 MB / 437.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of simplify1: time 4.494e-05/0.0561, allocations: 63.91 kB / 437.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of Alias: time 0.001082/0.05719, allocations: 1.096 MB / 439 MB, free: 4.223 MB / 318.1 MB Notification: Performance of simplify2: time 6.156e-05/0.05727, allocations: 63.91 kB / 439.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of Events: time 0.0005323/0.05781, allocations: 442.4 kB / 439.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of Detect States: time 0.0004565/0.05828, allocations: 447.2 kB / 440 MB, free: 3.289 MB / 318.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.psat, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.