Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180504.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.CISESim180504,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180504") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim180504,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180504") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009433/0.0009436, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.0008863/0.0008864, allocations: 193.9 kB / 18.56 MB, free: 4.598 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.258/1.258, 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.2514/0.2514, allocations: 48.85 MB / 320.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.604e-05, allocations: 4.359 kB / 390.8 MB, free: 48.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim180504): time 0.1062/0.1062, allocations: 136.8 MB / 0.5152 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2493/0.3555, allocations: 41.03 MB / 0.5553 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004557/0.3601, allocations: 62.5 kB / 0.5553 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003732/0.3639, allocations: 1.587 MB / 0.5569 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008475/0.3724, allocations: 3.445 MB / 0.5602 GB, free: 5.242 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:3856:5-3857:44:writable] Warning: In relation Plant.Drum.gl == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:3858:5-3859:44:writable] Warning: In relation Plant.Drum.gv == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.03495/0.4074, allocations: 12.19 MB / 0.5721 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02007/0.4275, allocations: 14.57 MB / 0.5864 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007148/0.4347, allocations: 3.987 MB / 0.5903 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/0.4467, allocations: 5.592 MB / 0.5957 GB, free: 48 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0104/0.4572, allocations: 4.966 MB / 0.6006 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003838/0.4611, allocations: 0.9535 MB / 0.6015 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02689/0.488, allocations: 9.042 MB / 0.6103 GB, free: 4.277 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.01693/0.5049, allocations: 10.11 MB / 0.6202 GB, free: 10.44 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.00606/0.511, allocations: 5.017 MB / 0.6251 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002555/0.5136, allocations: 0.7557 MB / 0.6258 GB, free: 4.797 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0008818/0.5145, allocations: 91.75 kB / 0.6259 GB, free: 4.707 MB / 446.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: 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: 1251 (636) * Number of variables: 1223 (705) Notification: Performance of Bindings: time 0.03312/0.5476, allocations: 28.85 MB / 0.6541 GB, free: 7.457 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.01244/0.5601, allocations: 11.51 MB / 0.6653 GB, free: 10.31 MB / 494.1 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_51.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_51.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_68.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_68.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_77.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_77.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_96.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_96.Tsat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_113.psat Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_113.Tsat Notification: Performance of Early Inline: time 0.01379/0.5739, allocations: 8.081 MB / 0.6732 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simplify1: time 0.001887/0.5759, allocations: 1.002 MB / 0.6742 GB, free: 1.027 MB / 494.1 MB Notification: Performance of Alias: time 0.0269/0.6028, allocations: 18.98 MB / 0.6927 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simplify2: time 0.002027/0.6048, allocations: 0.8464 MB / 0.6936 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of Events: time 0.01339/0.6182, allocations: 14.03 MB / 0.7073 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of Detect States: time 0.009036/0.6273, allocations: 7.379 MB / 0.7145 GB, free: 4.477 MB / 0.5294 GB Error: Internal error NBVariable.getVarPointer failed for sat.psat, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.