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.0009499/0.00095, allocations: 102.7 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.0008985/0.0008985, 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.337/1.337, 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.279/0.279, allocations: 48.85 MB / 320.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.068e-05, allocations: 2.281 kB / 390.8 MB, free: 48.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim2States120501): time 0.05377/0.05382, allocations: 69.03 MB / 459.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02975/0.08362, allocations: 23.59 MB / 483.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.08579, allocations: 31.81 kB / 483.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002465/0.08827, allocations: 0.7296 MB / 484.2 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.09243, allocations: 1.496 MB / 485.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02529/0.1178, allocations: 8.1 MB / 493.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008463/0.1263, allocations: 6.365 MB / 0.4884 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.1293, allocations: 1.667 MB / 0.49 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004508/0.1338, allocations: 2.303 MB / 0.4923 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003836/0.1376, allocations: 2.01 MB / 0.4942 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.139, allocations: 364 kB / 0.4946 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.016/0.155, allocations: 7.207 MB / 0.5016 GB, free: 9.598 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.00549/0.1606, allocations: 4.563 MB / 0.5061 GB, free: 4.996 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.001791/0.1624, allocations: 2.537 MB / 0.5086 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006839/0.1631, allocations: 382.9 kB / 0.5089 GB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0004357/0.1635, allocations: 51.81 kB / 0.509 GB, free: 2.008 MB / 398.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: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 584 (315) * Number of variables: 566 (341) Notification: Performance of Bindings: time 0.012/0.1755, allocations: 13.16 MB / 0.5218 GB, free: 4.516 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.002982/0.1785, allocations: 2.909 MB / 0.5247 GB, free: 1.215 MB / 414.1 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.Tsat Notification: Performance of Early Inline: time 0.2239/0.4024, allocations: 2.781 MB / 0.5274 GB, free: 36.94 MB / 414.1 MB Notification: Performance of simplify1: time 0.0005029/0.403, allocations: 436.1 kB / 0.5278 GB, free: 36.94 MB / 414.1 MB Notification: Performance of Alias: time 0.008073/0.411, allocations: 8.071 MB / 0.5357 GB, free: 35 MB / 414.1 MB Notification: Performance of simplify2: time 0.0005271/0.4116, allocations: 373.5 kB / 0.536 GB, free: 34.99 MB / 414.1 MB Notification: Performance of Events: time 0.002922/0.4145, allocations: 3.768 MB / 0.5397 GB, free: 32.55 MB / 414.1 MB Notification: Performance of Detect States: time 0.002435/0.417, allocations: 2.616 MB / 0.5423 GB, free: 32.19 MB / 414.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_9.psat, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.