Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.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.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 103.2 kB / 17.63 MB, free: 5.391 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.0009737/0.0009738, allocations: 185.8 kB / 18.56 MB, free: 4.473 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.394/1.394, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2703/0.2703, allocations: 48.84 MB / 320.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.817e-05, allocations: 4.469 kB / 390.8 MB, free: 48.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.05708/0.05711, allocations: 82.45 MB / 473.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.06985, allocations: 11.2 MB / 484.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007891/0.07068, allocations: 31.81 kB / 484.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.07175, allocations: 397.1 kB / 484.8 MB, free: 6.48 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Test.mo:1878:19-1880:42:writable] Warning: Pure function 'ThermoPower.Test.WaterComponents.WaterPumps.Pump1.flowCharacteristic' contains a call to impure function 'Modelica.Math.Matrices.solve'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Test.mo:1915:19-1917:58:writable] Warning: Pure function 'ThermoPower.Test.WaterComponents.WaterPumps.Pump2.flowCharacteristic' contains a call to impure function 'Modelica.Math.Matrices.solve'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Test.mo:1940:19-1942:58:writable] Warning: Pure function 'ThermoPower.Test.WaterComponents.WaterPumps.Pump3.flowCharacteristic' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeBindings: time 0.001591/0.0734, allocations: 0.6873 MB / 485.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01483/0.08824, allocations: 5.535 MB / 491.1 MB, free: 268 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.09085, allocations: 2.069 MB / 493.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007805/0.09164, allocations: 0.5818 MB / 493.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.09357, allocations: 1.196 MB / 494.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005336/0.09412, allocations: 0.5212 MB / 495.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.447e-05/0.09421, allocations: 64 kB / 495.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008597/0.1028, allocations: 5.861 MB / 0.4896 GB, free: 5.941 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001241/0.1041, allocations: 1.499 MB / 0.4911 GB, free: 4.426 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004823/0.1046, allocations: 0.9316 MB / 0.492 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.1048, allocations: 171.5 kB / 0.4921 GB, free: 3.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001863/0.105, allocations: 23.88 kB / 0.4922 GB, free: 3.289 MB / 382.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: 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: 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: 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: 170 (155) * Number of variables: 170 (170) Notification: Performance of Bindings: time 0.002835/0.1078, allocations: 3.587 MB / 0.4957 GB, free: 15.54 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0004829/0.1083, allocations: 394 kB / 0.496 GB, free: 15.17 MB / 398.1 MB Notification: Performance of Early Inline: time 0.0009632/0.1093, allocations: 0.6842 MB / 0.4967 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001723/0.1095, allocations: 183.8 kB / 0.4969 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Alias: time 0.003324/0.1128, allocations: 3.104 MB / 0.4999 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001398/0.113, allocations: 111.9 kB / 0.5 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Events: time 0.0002344/0.1132, allocations: 189.3 kB / 0.5002 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Detect States: time 0.0003319/0.1136, allocations: 322.3 kB / 0.5005 GB, free: 10.12 MB / 398.1 MB Error: Internal error NBVariable.getVarPointer failed for i, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.