Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.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.TestFlow1D2phChen,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009201/0.0009202, allocations: 100.6 kB / 17.63 MB, free: 5.41 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.0008864/0.0008864, allocations: 193.5 kB / 18.56 MB, free: 4.488 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.383/1.383, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3053/0.3053, allocations: 48.85 MB / 320.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.258e-05, allocations: 3.047 kB / 390.8 MB, free: 48.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen): time 0.02812/0.02817, allocations: 36.41 MB / 427.2 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01686/0.04508, allocations: 16.46 MB / 443.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009561/0.04608, allocations: 11.94 kB / 443.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.04716, allocations: 246.2 kB / 443.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.04916, allocations: 0.5905 MB / 444.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02442/0.0736, allocations: 6.615 MB / 451.1 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004073/0.0777, allocations: 2.541 MB / 453.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.07928, allocations: 0.7859 MB / 454.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.08174, allocations: 1.161 MB / 455.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.08349, allocations: 0.97 MB / 456.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004227/0.08393, allocations: 156 kB / 456.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.09712, allocations: 6.448 MB / 463.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.002852/0.1, allocations: 1.884 MB / 465 MB, free: 10.38 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000878/0.1009, allocations: 0.8826 MB / 465.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.1014, allocations: 127.6 kB / 466 MB, free: 9.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002232/0.1016, allocations: 19.94 kB / 466.1 MB, free: 9.34 MB / 350.1 MB Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 (120) * Number of variables: 455 (133) Notification: Performance of Bindings: time 0.005224/0.1068, allocations: 4.755 MB / 470.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.001929/0.1088, allocations: 1.137 MB / 472 MB, free: 3.266 MB / 350.1 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_22.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_22.Tsat Notification: Performance of Early Inline: time 0.001935/0.1107, allocations: 1.275 MB / 473.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001532/0.1109, allocations: 139.8 kB / 473.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Alias: time 0.003844/0.1147, allocations: 3.28 MB / 476.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001229/0.1149, allocations: 107.9 kB / 476.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Events: time 0.00136/0.1162, allocations: 1.245 MB / 478 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Detect States: time 0.001136/0.1174, allocations: 1.287 MB / 479.3 MB, free: 11.55 MB / 366.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_22.psat, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.